hanchenye-llvm-project/clang/lib/AST
Argyrios Kyrtzidis d32ee89ea2 Fix an issue with writing to PCH another included PCH, introduced by the "using an AST on-disk hash table for name lookup" commit.
When including a PCH and later re-emitting to another PCH, the name lookup tables of DeclContexts
may be incomplete, since we now lazily deserialize the visible decls of a particular name.
Fix the issue by iterating over the un-deserialized visible decls and completing the lookup tables
of DeclContexts before writing them out.

llvm-svn: 111698
2010-08-20 23:35:55 +00:00
..
APValue.cpp Fix -Wcast-qual warnings. 2010-04-19 16:39:44 +00:00
ASTConsumer.cpp Reintroduce the ASTConsumer/ASTUnit fix from r110610, it has nothing to do with the breakage. 2010-08-11 18:52:41 +00:00
ASTContext.cpp objective-c ivar refactoring patch. Iterations 2010-08-20 21:21:08 +00:00
ASTDiagnostic.cpp Teach the AKA calculation to look at sugar on the pointee type for pointers and 2010-05-13 11:37:24 +00:00
ASTImporter.cpp Remove dead code, caught by unused function warnings. 2010-08-15 01:15:58 +00:00
AttrImpl.cpp Generate Attr subclasses with TableGen. 2010-08-18 23:23:40 +00:00
CMakeLists.txt Generate Attr subclasses with TableGen. 2010-08-18 23:23:40 +00:00
CXXABI.h Implement support for member pointers under the Microsoft C++ ABI in the 2010-08-16 03:33:14 +00:00
CXXInheritance.cpp Add a short circuit in isVirtuallyDerivedFrom. 2010-06-04 01:40:08 +00:00
Decl.cpp A member function never has "C" linkage. Fixes <rdar://problem/8318976>. 2010-08-17 16:09:23 +00:00
DeclBase.cpp Fix an issue with writing to PCH another included PCH, introduced by the "using an AST on-disk hash table for name lookup" commit. 2010-08-20 23:35:55 +00:00
DeclCXX.cpp Added locations and type source info for DeclarationName inside UsingDecl. 2010-08-12 11:46:03 +00:00
DeclFriend.cpp Support C++ friend declarations for PCH. 2010-06-29 22:47:00 +00:00
DeclGroup.cpp I lied. Kill off a few more Destroy methods 2010-07-25 18:32:30 +00:00
DeclObjC.cpp objective-c ivar refactoring patch. Iterations 2010-08-20 21:21:08 +00:00
DeclPrinter.cpp Added locations and type source info for DeclarationName. 2010-08-11 22:01:17 +00:00
DeclTemplate.cpp Refactor find*Specialization functions using SpecEntryTraits 2010-07-30 17:09:04 +00:00
DeclarationName.cpp Added locations and type source info for DeclarationName. 2010-08-11 22:01:17 +00:00
Expr.cpp Regularize the API for accessing explicit template arguments. 2010-08-19 23:49:38 +00:00
ExprCXX.cpp Regularize the API for accessing explicit template arguments. 2010-08-19 23:49:38 +00:00
ExprClassification.cpp Update ImplicitCastExpr to be able to represent an XValue. 2010-07-20 04:20:21 +00:00
ExprConstant.cpp Move a bunch of code out of the ComplexExprEvaluator class definition; 2010-08-16 23:27:44 +00:00
FullExpr.cpp Remove the vast majority of the Destroy methods from the AST library, 2010-07-25 18:17:45 +00:00
InheritViz.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ItaniumCXXABI.cpp Implement support for member pointers under the Microsoft C++ ABI in the 2010-08-16 03:33:14 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
MicrosoftCXXABI.cpp Implement support for member pointers under the Microsoft C++ ABI in the 2010-08-16 03:33:14 +00:00
NestedNameSpecifier.cpp Kill off the last Destroy method in the AST library 2010-07-25 18:23:53 +00:00
ParentMap.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
RecordLayout.cpp No need to use the PrimaryBaseInfo struct in the builder. 2010-05-26 05:20:58 +00:00
RecordLayoutBuilder.cpp Add some enum goodness as requested by Chris. Now instead of storing the 2010-08-19 02:18:14 +00:00
Stmt.cpp Convert all uses of StringLiteral::getStrData() to StringLiteral::getString() 2010-08-17 12:54:38 +00:00
StmtDumper.cpp Convert all uses of StringLiteral::getStrData() to StringLiteral::getString() 2010-08-17 12:54:38 +00:00
StmtIterator.cpp Add StmtIterator support for iterating over both the condition 2009-12-23 23:38:34 +00:00
StmtPrinter.cpp Regularize the API for accessing explicit template arguments. 2010-08-19 23:49:38 +00:00
StmtProfile.cpp Call the base class in StmtProfiler::VisitOverloadExpr. 2010-08-15 20:53:20 +00:00
StmtViz.cpp Adapt to the DOTGraphTraits changes in LLVM. 2009-11-30 14:16:05 +00:00
TemplateBase.cpp operator<< on a DiagnosticBuilder should *always* output exactly one thing. 2010-08-05 04:58:04 +00:00
TemplateName.cpp Initial support for writing templates to PCH. 2010-06-19 19:28:53 +00:00
Type.cpp Fix for PR7911 and PR7921: make isIntegralOrEnumerationType return false 2010-08-19 04:39:37 +00:00
TypeLoc.cpp Remove dead code, caught by unused function warnings. 2010-08-15 01:15:58 +00:00
TypePrinter.cpp It's not necessary to call flush() on a raw_ostream immediately prior 2010-07-26 21:29:50 +00:00