hanchenye-llvm-project/clang/lib/Serialization
Duncan P. N. Exon Smith 688b69adf8 Modules: Fix a minor performance bug from r293393
Oops... r293393 started calling ReadSignature in
ModuleManager::addModule even when there was no ExpectedSignature.

Whether or not this would have a measurable performance impact (I
spotted this by inspection, and ReadSignature should be fairly fast), we
might as well get what we can.  Add an extra check against
ExpectedSignature to avoid the hit.

llvm-svn: 293415
2017-01-29 04:42:21 +00:00
..
ASTCommon.cpp [c++1z] P0195R2: Support pack-expansion of using-declarations. 2016-12-20 21:35:28 +00:00
ASTCommon.h PR29097: add an update record when we instantiate the default member 2016-08-24 21:25:37 +00:00
ASTReader.cpp Modules: Enforce that ModuleManager::removeModules deletes the tail 2017-01-28 23:02:12 +00:00
ASTReaderDecl.cpp [modules] When reading / writing a typedef that is a name for linkage for 2017-01-26 22:39:55 +00:00
ASTReaderInternals.h Remove move constructors that are identical to the generated default move ctor. 2016-10-21 18:55:07 +00:00
ASTReaderStmt.cpp [OpenMP] Support for thread_limit-clause on the 'target teams' directive. 2017-01-25 11:44:35 +00:00
ASTWriter.cpp Modules: Return ModuleFile& from ModuleManager::begin, etc.; NFC 2017-01-28 22:15:22 +00:00
ASTWriterDecl.cpp [modules] When reading / writing a typedef that is a name for linkage for 2017-01-26 22:39:55 +00:00
ASTWriterStmt.cpp [OpenMP] Support for thread_limit-clause on the 'target teams' directive. 2017-01-25 11:44:35 +00:00
CMakeLists.txt Introduce module file extensions to piggy-back data onto module files. 2015-11-03 18:33:07 +00:00
GeneratePCH.cpp Use shared_ptr instead of IntrusiveRefCntPtr for ModuleFileExtension 2017-01-05 18:23:18 +00:00
GlobalModuleIndex.cpp Fix for LLVM Bitcode API change (to use std::shared_ptr) 2017-01-04 22:36:43 +00:00
Module.cpp Modules: Simplify the ModuleFile constructor; likely NFC 2017-01-29 00:39:09 +00:00
ModuleFileExtension.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ModuleManager.cpp Modules: Fix a minor performance bug from r293393 2017-01-29 04:42:21 +00:00
MultiOnDiskHashTable.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00