llvm-project/clang/lib/Serialization
Richard Smith 0f4e2c4d0f [modules] Defer setting up the lookup table for a DeclContext until we can
determine the primary context, rather than sometimes registering the lookup
table on the wrong context.

This exposed a couple of bugs:
 * the odr violation check didn't deal properly with mergeable declarations
   if the declaration retained by name lookup wasn't in the canonical
   definition of the class
 * the (broken) RewriteDecl mechanism would emit two name lookup tables for
   the same DeclContext into the same module file (one as part of the
   rewritten declaration and one as a visible update for the old declaration)
These are both fixed too.

llvm-svn: 244192
2015-08-06 04:23:48 +00:00
..
ASTCommon.cpp Parsing, semantic analysis, and AST for Objective-C type parameters. 2015-07-07 03:57:15 +00:00
ASTCommon.h [modules] Add an assert for redeclarations that we never added to their redecl 2015-07-27 05:40:23 +00:00
ASTReader.cpp [modules] Defer setting up the lookup table for a DeclContext until we can 2015-08-06 04:23:48 +00:00
ASTReaderDecl.cpp [modules] Defer setting up the lookup table for a DeclContext until we can 2015-08-06 04:23:48 +00:00
ASTReaderInternals.h [modules] Avoid repeatedly hashing the same name when looking it up in multiple module files. 2015-07-14 18:42:41 +00:00
ASTReaderStmt.cpp [OPENMP 4.1] Initial support for extended 'ordered' clause. 2015-07-30 11:36:16 +00:00
ASTWriter.cpp [modules] Defer setting up the lookup table for a DeclContext until we can 2015-08-06 04:23:48 +00:00
ASTWriterDecl.cpp [modules] Improve performance when there is a local declaration of an entity 2015-07-12 23:43:21 +00:00
ASTWriterStmt.cpp [OPENMP 4.1] Initial support for extended 'ordered' clause. 2015-07-30 11:36:16 +00:00
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
GeneratePCH.cpp Remove unnecessary include. 2015-06-29 16:14:36 +00:00
GlobalModuleIndex.cpp Make the clang module container format selectable from the command line. 2015-07-17 01:19:54 +00:00
Makefile
Module.cpp [modules] Deserialize CXXCtorInitializer list for a constructor lazily. 2015-03-24 06:36:48 +00:00
ModuleManager.cpp [Modules] Wrap the main ModuleManager visitor in a function_ref. 2015-07-25 12:14:04 +00:00