llvm-project/clang/lib/Sema
Argyrios Kyrtzidis 8a27b2b350 In Sema::InstantiateStaticDataMemberDefinition, pass the var decl to the consumer
just using ASTConsumer::HandleCXXStaticMemberVarInstantiation(), don't pass it with
ASTConsumer::HandleTopLevelDecl.

ASTConsumer::HandleTopLevelDecl is intended for user-written top-level decls;
a consumer can treat an instantiated static data member however it wants of course.

llvm-svn: 175976
2013-02-24 00:05:01 +00:00
..
AnalysisBasedWarnings.cpp Remove the CFGElement "Invalid" state. 2013-02-23 00:29:34 +00:00
AttributeList.cpp PR14922: when printing an attribute, use the real syntax of the attribute (GNU, C++11, MS Declspec) instead of hardcoded GNU syntax. 2013-01-24 16:46:58 +00:00
CMakeLists.txt PR14922: when printing an attribute, use the real syntax of the attribute (GNU, C++11, MS Declspec) instead of hardcoded GNU syntax. 2013-01-24 16:46:58 +00:00
CodeCompleteConsumer.cpp Allow the computation of the base priority for a declaration code completion result to consider the completion context 2013-01-31 04:52:16 +00:00
DeclSpec.cpp Add OpenCL samplers as Clang builtin types and check sampler related restrictions. 2013-02-07 10:55:47 +00:00
DelayedDiagnostic.cpp objective-C: when diagnosing deprecated/unavailable usage of 2012-09-21 20:46:37 +00:00
IdentifierResolver.cpp [Modules] Cope better with top-level declarations loaded after being declared in the current translation unit <rdar://problem/13189985>. 2013-02-11 18:16:18 +00:00
JumpDiagnostics.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
Makefile
MultiplexExternalSemaSource.cpp Simplify FindExternalVisibleDeclsByName by making it return a bool indicating 2013-02-07 03:30:24 +00:00
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
ScopeInfo.cpp -Warc-repeated-use-of-weak: fix a use-of-uninitialized and add a test case. 2012-10-11 17:02:00 +00:00
Sema.cpp Include llvm::Optional in clang/Basic/LLVM.h 2013-02-20 22:23:23 +00:00
SemaAccess.cpp Only suppress instance context if a member is actually 2013-02-22 03:52:55 +00:00
SemaAttr.cpp Add a new 'type_visibility' attribute to allow users to 2013-02-20 01:54:26 +00:00
SemaCXXScopeSpec.cpp Use 'const Decl *' throughout code completion in Sema 2013-01-23 17:21:11 +00:00
SemaCast.cpp objective-C arg: provide fixit support when 2013-02-22 22:02:53 +00:00
SemaChecking.cpp Include llvm::Optional in clang/Basic/LLVM.h 2013-02-20 22:23:23 +00:00
SemaCodeComplete.cpp [preprocessor] Split the MacroInfo class into two separate concepts, MacroInfo class 2013-02-20 00:54:57 +00:00
SemaConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SemaDecl.cpp Make sure pragmas don't attach visibility attributes to auto variables with 2013-02-22 17:59:16 +00:00
SemaDeclAttr.cpp Revert r175912, "Add support for coldcc to clang" at John's request. 2013-02-23 00:06:18 +00:00
SemaDeclCXX.cpp [Sema] Semantic analysis for empty-declaration and attribute-declaration. 2013-02-22 17:15:32 +00:00
SemaDeclObjC.cpp Retain all hidden methods in the global method pool, because they may become visible <rdar://problem/13172858>. 2013-02-07 19:13:24 +00:00
SemaExceptionSpec.cpp Replace TypeLoc llvm::cast support to be well-defined. 2013-02-18 22:06:02 +00:00
SemaExpr.cpp Remove superfluous null pointer check. The pointer is used prior to this check. 2013-02-21 22:10:49 +00:00
SemaExprCXX.cpp The meat of this patch is in BuildCXXMemberCalLExpr where we make it use 2013-02-12 08:08:54 +00:00
SemaExprMember.cpp objective-C: When implementing custom accessor method for 2013-02-14 19:07:19 +00:00
SemaExprObjC.cpp objective-C arg: provide fixit support when 2013-02-22 22:02:53 +00:00
SemaFixItUtils.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaInit.cpp Replace TypeLoc llvm::cast support to be well-defined. 2013-02-18 22:06:02 +00:00
SemaLambda.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
SemaLookup.cpp In LookupResult::resolveKind(), when handling multiple found declarations, ignore invalid declarations. 2013-02-22 06:58:37 +00:00
SemaObjCProperty.cpp objective-C: synthesize properties in order of their 2013-02-14 22:33:34 +00:00
SemaOverload.cpp Remove the hack that avoided mangling static functions in extern C contexts. 2013-02-23 00:26:28 +00:00
SemaPseudoObject.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
SemaStmt.cpp Replace TypeLoc llvm::cast support to be well-defined. 2013-02-18 22:06:02 +00:00
SemaStmtAsm.cpp MCParser: Update method names per coding guidelines. 2013-02-20 22:25:15 +00:00
SemaStmtAttr.cpp PR15300: Support C++11 attributes on base-specifiers. We don't support any such 2013-02-19 23:47:15 +00:00
SemaTemplate.cpp Use None rather than Optional<T>() where possible. 2013-02-21 01:47:18 +00:00
SemaTemplateDeduction.cpp Improve 'failed template argument deduction' diagnostic for the case where we 2013-01-31 05:19:49 +00:00
SemaTemplateInstantiate.cpp Streamify getNameForDiagnostic and remove the string versions of PrintTemplateArgumentList. 2013-02-22 15:46:01 +00:00
SemaTemplateInstantiateDecl.cpp In Sema::InstantiateStaticDataMemberDefinition, pass the var decl to the consumer 2013-02-24 00:05:01 +00:00
SemaTemplateVariadic.cpp Use None rather than Optional<T>() where possible. 2013-02-21 01:47:18 +00:00
SemaType.cpp Revert r175912, "Add support for coldcc to clang" at John's request. 2013-02-23 00:06:18 +00:00
TargetAttributesSema.cpp PR14922: when printing an attribute, use the real syntax of the attribute (GNU, C++11, MS Declspec) instead of hardcoded GNU syntax. 2013-01-24 16:46:58 +00:00
TargetAttributesSema.h Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here. 2012-12-20 19:22:21 +00:00
TreeTransform.h objective-C arg: provide fixit support when 2013-02-22 22:02:53 +00:00
TypeLocBuilder.h Replace TypeLoc llvm::cast support to be well-defined. 2013-02-18 22:06:02 +00:00