llvm-project/clang/lib/AST
Argyrios Kyrtzidis 094da739e0 In DeclContext::LoadLexicalDeclsFromExternalStorage don't clear out
the fields if they are already loaded, just ignore them when we are building
the chain in BuildDeclChain.

This fixes an lldb issue where fields were removed and not getting re-added
because lldb is based on ASTImporter adding decls to DeclContext and fields
were already added before by the ASTImporter.

We should really simplify the interaction between DeclContext <-> lldb
going forward..

rdar://10246067

llvm-svn: 141418
2011-10-07 21:55:43 +00:00
..
APValue.cpp Fix missing includes for llvm_unreachable 2011-09-23 05:35:21 +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 Support for C1x _Atomic specifier (see testcase). This is primarily being committed at the moment to help support C++0x <atomic>, but it should be a solid base for implementing the full specification of C1x _Atomic. 2011-10-06 23:00:33 +00:00
ASTDiagnostic.cpp When 'bool' is not a built-in type but is defined as a macro, print 2011-09-27 22:38:19 +00:00
ASTImporter.cpp Rename TagDecl::isDefinition -> isCompleteDefinition 2011-10-07 06:10:15 +00:00
AttrImpl.cpp Generate Attr subclasses with TableGen. 2010-08-18 23:23:40 +00:00
CMakeLists.txt Allow getting all source locations of selector identifiers in a ObjCMessageExpr. 2011-10-03 06:36:51 +00:00
CXXABI.h Move isNearlyEmpty out into the ASTContext so it can be called from CodeGen as well. 2010-11-25 01:51:53 +00:00
CXXInheritance.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
Decl.cpp In DeclContext::LoadLexicalDeclsFromExternalStorage don't clear out 2011-10-07 21:55:43 +00:00
DeclBase.cpp In DeclContext::LoadLexicalDeclsFromExternalStorage don't clear out 2011-10-07 21:55:43 +00:00
DeclCXX.cpp Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +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 Improve location fidelity of objc decls. 2011-10-04 04:48:02 +00:00
DeclPrinter.cpp Rename TagDecl::isDefinition -> isCompleteDefinition 2011-10-07 06:10:15 +00:00
DeclTemplate.cpp Fixed source range for template implicit instantiations. 2011-10-03 20:34:03 +00:00
DeclarationName.cpp Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +00:00
DumpXML.cpp objective-c: Treat top-level objective-c declarations 2011-08-27 20:50:59 +00:00
Expr.cpp Move field in ObjCMessageExpr to avoid padding. 2011-10-03 06:36:55 +00:00
ExprCXX.cpp Added a flag to identify resolved overloaded function references. 2011-10-05 07:56:41 +00:00
ExprClassification.cpp Declare and define implicit move constructor and assignment operator. 2011-08-30 19:58:05 +00:00
ExprConstant.cpp PR11040: CheckICE should not allow an lvalue bitcast as part of an integer constant expression. 2011-09-29 21:49:34 +00:00
ExternalASTSource.cpp Don't force the complete deserialization of the visible-declarations 2011-08-24 21:56:08 +00:00
InheritViz.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
ItaniumCXXABI.cpp Extend the ASTContext constructor to delay the initialization of 2011-09-02 00:18:52 +00:00
ItaniumMangle.cpp Support for C1x _Atomic specifier (see testcase). This is primarily being committed at the moment to help support C++0x <atomic>, but it should be a solid base for implementing the full specification of C1x _Atomic. 2011-10-06 23:00:33 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Mangle.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
MicrosoftCXXABI.cpp Extend the ASTContext constructor to delay the initialization of 2011-09-02 00:18:52 +00:00
MicrosoftMangle.cpp Support for C1x _Atomic specifier (see testcase). This is primarily being committed at the moment to help support C++0x <atomic>, but it should be a solid base for implementing the full specification of C1x _Atomic. 2011-10-06 23:00:33 +00:00
NestedNameSpecifier.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
ParentMap.cpp [arcmt] More automatic transformations and safety improvements; rdar://9615812 : 2011-07-27 05:28:18 +00:00
RecordLayout.cpp Some changes to improve compatibility for MSVC-style C++ struct layout. Patch from r4start at gmail.com (with some minor modifications by me). 2011-09-27 19:12:27 +00:00
RecordLayoutBuilder.cpp Rename TagDecl::isDefinition -> isCompleteDefinition 2011-10-07 06:10:15 +00:00
SelectorLocationsKind.cpp Fix crash when using archaic protocol, rdar://10238337 2011-10-05 21:28:06 +00:00
Stmt.cpp Extend the Stmt AST to make it easier to look through label, default, 2011-09-10 00:02:34 +00:00
StmtDumper.cpp Switch assert(0/false) llvm_unreachable. 2011-09-23 05:06:16 +00:00
StmtIterator.cpp Support for C++11 (non-template) alias declarations. 2011-04-15 14:24:37 +00:00
StmtPrinter.cpp Use APFloat::toString to print APFloats more precisely in the AST printer. Patch by Olaf Krzikalla. 2011-10-05 20:32:03 +00:00
StmtProfile.cpp Add support for C++0x unicode string and character literals, from Craig Topper! 2011-07-27 05:40:30 +00:00
StmtViz.cpp Adapt to the DOTGraphTraits changes in LLVM. 2009-11-30 14:16:05 +00:00
TemplateBase.cpp Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +00:00
TemplateName.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
Type.cpp Rename TagDecl::isDefinition -> isCompleteDefinition 2011-10-07 06:10:15 +00:00
TypeLoc.cpp Make yet another placeholder type, this one marking that an expression is a bound 2011-04-26 20:42:42 +00:00
TypePrinter.cpp Support for C1x _Atomic specifier (see testcase). This is primarily being committed at the moment to help support C++0x <atomic>, but it should be a solid base for implementing the full specification of C1x _Atomic. 2011-10-06 23:00:33 +00:00
VTTBuilder.cpp Move VTT builder to AST 2011-09-26 01:56:24 +00:00
VTableBuilder.cpp Rename TagDecl::isDefinition -> isCompleteDefinition 2011-10-07 06:10:15 +00:00