llvm-project/clang/lib/Serialization
Douglas Gregor c03c52ea01 When deserializing the definition of a C++ class/ObjC class/ObjC
protocol, record the definition pointer in the canonical declaration
for that entity, and then propagate that definition pointer from the
canonical declaration to all other deserialized declarations. This
approach works well even when deserializing declarations that didn't
know about the original definition, which can occur with modules.

A nice bonus from this definition-deserialization approach is that we
no longer need update records when a definition is added, because the
redeclaration chains ensure that the if any declaration is loaded, the
definition will also get loaded.

llvm-svn: 148223
2012-01-15 18:08:05 +00:00
..
ASTCommon.cpp Restore r142914 and r142915, now with missing file and apparent 2011-10-25 17:37:35 +00:00
ASTCommon.h When deserializing the definition of a C++ class/ObjC class/ObjC 2012-01-15 18:08:05 +00:00
ASTReader.cpp Completely re-implement (de-)serialization of redeclaration 2012-01-15 16:58:34 +00:00
ASTReaderDecl.cpp When deserializing the definition of a C++ class/ObjC class/ObjC 2012-01-15 18:08:05 +00:00
ASTReaderInternals.h Teach DeclContext deserialization to pay attention to endianness, from 2012-01-06 16:09:53 +00:00
ASTReaderStmt.cpp Add IsImplicit field in ObjCMessageExpr that is true when the message 2012-01-12 02:34:39 +00:00
ASTWriter.cpp When deserializing the definition of a C++ class/ObjC class/ObjC 2012-01-15 18:08:05 +00:00
ASTWriterDecl.cpp Completely re-implement (de-)serialization of redeclaration 2012-01-15 16:58:34 +00:00
ASTWriterStmt.cpp Add IsImplicit field in ObjCMessageExpr that is true when the message 2012-01-12 02:34:39 +00:00
CMakeLists.txt Fix cmake build with -DBUILD_SHARED_LIBS=ON. 2011-12-29 04:31:59 +00:00
GeneratePCH.cpp Clean up the comments for this file now that its contents are totally 2011-12-09 01:45:42 +00:00
Makefile Reintroduce the serialization library, with fixed dependencies. 2010-08-17 20:43:28 +00:00
Module.cpp Completely re-implement (de-)serialization of redeclaration 2012-01-15 16:58:34 +00:00
ModuleManager.cpp Promote ModuleMap::Module to a namespace-scope class in the Basic 2011-11-30 23:21:26 +00:00