hanchenye-llvm-project/clang/lib/AST
John McCall 93cc732ffc Properly account for redeclarations when explicitly instantiating class templates.
What happens here is that we actually turn the first declaration into a
definition, regardless of whether it was actually originally a definition,
and furthermore we do this all after we've instantiated all the declarations.
This exposes a bug in my DefinitionData patch where it was only setting the
DefinitionData for previous declarations, not future declarations.
Fortunately, there's an iterator for that.

llvm-svn: 99657
2010-03-26 21:56:38 +00:00
..
APValue.cpp Convert the type of the LValue offset variable in APValue to CharUnits, moving 2010-01-15 12:37:54 +00:00
ASTConsumer.cpp
ASTContext.cpp Implement a framework for the delay of arbitrary diagnostics within 2010-03-24 05:22:00 +00:00
ASTDiagnostic.cpp Create a new InjectedClassNameType to represent bare-word references to the 2010-03-10 03:28:59 +00:00
ASTImporter.cpp Use SourceManager's Diagnostic object for all file-reading errors, 2010-03-16 00:35:39 +00:00
AttrImpl.cpp Add support for the weakref attribute. We still produce "alias weak" as llvm-gcc does, but are more strict on what uses of weakref we accept. 2010-02-23 22:00:30 +00:00
CMakeLists.txt Sort calls to add_clang_library() 2010-03-22 18:16:06 +00:00
CXXInheritance.cpp Implement computation of the final overriders for each virtual 2010-03-23 23:47:56 +00:00
Decl.cpp Properly account for redeclarations when explicitly instantiating class templates. 2010-03-26 21:56:38 +00:00
DeclBase.cpp Implement a framework for the delay of arbitrary diagnostics within 2010-03-24 05:22:00 +00:00
DeclCXX.cpp Remember declaration scope qualifiers in the AST. Imposes no memory overhead 2010-03-15 10:12:16 +00:00
DeclFriend.cpp Implement basic support for friend types and functions in non-dependent 2010-03-12 01:19:31 +00:00
DeclGroup.cpp Add 'DeclStmt::DoDestroy()' which doesn't actually recurse over its child expressions (via StmtIterator), as those expressions are owned by the Decls and Types (which are destroyed elsewhere). This fixes a crasher reported in <rdar://problem/7487294>. 2009-12-23 08:56:00 +00:00
DeclObjC.cpp Make the CIndex API more resilient to being used on invalid code. 2010-03-19 20:39:03 +00:00
DeclPrinter.cpp Rework base and member initialization in constructors, with several 2010-01-31 09:12:51 +00:00
DeclTemplate.cpp Create a new InjectedClassNameType to represent bare-word references to the 2010-03-10 03:28:59 +00:00
DeclarationName.cpp Switch the standard DeclarationName comparator to be a tri-valued comparator. 2010-02-13 01:04:05 +00:00
Expr.cpp Make PredefinedExpr::ComputeName() more robust to incorrect 2010-03-18 21:23:08 +00:00
ExprCXX.cpp Use CXXPseudoDestructorExpr as the stored representation for dependent 2010-02-25 01:56:36 +00:00
ExprConstant.cpp Evaluate: Fix a subtle bug in the pointer evaluator in which we would do an 2010-03-20 05:53:45 +00:00
FullExpr.cpp More work on the FullExpr class. 2009-12-16 06:10:22 +00:00
InheritViz.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Makefile Allow users to set CPPFLAGS and CXXFLAGS on the make command line. 2010-03-12 22:55:16 +00:00
NestedNameSpecifier.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
ParentMap.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
RecordLayout.cpp Replace the class offset vectors in RecordLayoutBuilder with maps instead so we'll have faster lookup and so we can detect duplicates. 2010-03-11 04:10:39 +00:00
RecordLayoutBuilder.cpp More record layout builder cleanup and simplification. 2010-03-11 05:42:17 +00:00
RecordLayoutBuilder.h More record layout builder cleanup and simplification. 2010-03-11 05:42:17 +00:00
Stmt.cpp Implement Doug's suggestion. Eliminate the Stmts pointer from CXXTryStmt and instead allocate the statements after the object. 2010-02-03 03:56:39 +00:00
StmtDumper.cpp Dump the constructor type for a CXXConstructExpr. 2010-02-02 19:03:45 +00:00
StmtIterator.cpp Add StmtIterator support for iterating over both the condition 2009-12-23 23:38:34 +00:00
StmtPrinter.cpp Use CXXPseudoDestructorExpr as the stored representation for dependent 2010-02-25 01:56:36 +00:00
StmtProfile.cpp Add an CXXBindReferenceExpr (not used just yet). 2010-01-29 02:39:32 +00:00
StmtViz.cpp Adapt to the DOTGraphTraits changes in LLVM. 2009-11-30 14:16:05 +00:00
TemplateBase.cpp DeclaratorInfo -> TypeSourceInfo. Makes an effort to rename associated variables, 2009-12-07 02:54:59 +00:00
TemplateName.cpp Push overloaded function templates through the parser using a totally different 2009-12-02 08:04:21 +00:00
Type.cpp Don't error when a block pointer is passed to a 2010-03-09 18:34:52 +00:00
TypeLoc.cpp float, double, and long double do need extra data in the 2010-01-18 20:37:56 +00:00
TypePrinter.cpp Pretty-print anonymous types using their kind and presumed location. 2010-03-19 07:56:44 +00:00