llvm-project/clang/lib/Serialization
Argyrios Kyrtzidis 6fa1682368 [PCH] After deserializing a DeclContext, if it has external lexical decls but not
external visible decls, call DeclContext::setMustBuildLookupTable so that the
"lazy decls" bit of the LookupPtr is set.

Previously, in non-C++, if there were no new declarations causing the "lazy decls" bit
to be set, then DeclContext::lookups_begin() would fail to return the decls from the PCH.

Fixes rdar://12316296.

llvm-svn: 164351
2012-09-21 01:30:00 +00:00
..
ASTCommon.cpp Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
ASTCommon.h PR13189: va_list broken with precompiled headers 2012-07-01 15:57:25 +00:00
ASTReader.cpp [PCH] After deserializing a DeclContext, if it has external lexical decls but not 2012-09-21 01:30:00 +00:00
ASTReaderDecl.cpp [PCH] After deserializing a DeclContext, if it has external lexical decls but not 2012-09-21 01:30:00 +00:00
ASTReaderInternals.h Implement the all_lookups_iterator for PCH as a follow-up to r153970. This 2012-04-16 02:51:46 +00:00
ASTReaderStmt.cpp PR13811: Add a FunctionParmPackExpr node to handle references to function 2012-09-12 00:56:43 +00:00
ASTWriter.cpp ASTWriter: Tighten up assertions when emitting a declaration name. 2012-09-19 13:40:40 +00:00
ASTWriterDecl.cpp Serialize the 'IsConstexpr' bit of VarDecls. Fixes <rdar://problem/12328814>. 2012-09-20 23:43:29 +00:00
ASTWriterStmt.cpp PR13811: Add a FunctionParmPackExpr node to handle references to function 2012-09-12 00:56:43 +00:00
CMakeLists.txt clang/lib: [CMake] Update tblgen'd dependencies. 2012-07-27 06:18:33 +00:00
GeneratePCH.cpp Revert my patches which removed Diagnostic.h includes by moving some operator overloads out of line. 2012-02-07 22:29:24 +00:00
Makefile Reintroduce the serialization library, with fixed dependencies. 2010-08-17 20:43:28 +00:00
Module.cpp Use forward declarations for ASTDeclContextNameLookupTable and add a missing delete. 2012-04-15 12:36:49 +00:00
ModuleManager.cpp Optimize unqualified/global name lookup in modules by introducing a 2012-01-18 20:56:22 +00:00