llvm-project/clang/lib/Sema
Rafael Espindola cd997e02b2 Walk the decls looking for the last one that has an attribute. We do have to walk
them, otherwise we cannot produce an error for both

struct HIDDEN test4; // canonical
struct test4;
struct DEFAULT test4;

and

struct test5; // canonical
struct HIDDEN test5;
struct DEFAULT test5;

llvm-svn: 156016
2012-05-02 20:36:57 +00:00
..
AnalysisBasedWarnings.cpp Add FixItHint for -Wnull-conversion to initialize with an appropriate literal. 2012-04-30 18:27:22 +00:00
AttributeList.cpp Replace the StringSwitch in AttributeList::getKind() with a 2012-05-02 17:33:51 +00:00
CMakeLists.txt Add an AttributedStmt type to represent a statement with C++11 attributes 2012-04-14 00:33:13 +00:00
CodeCompleteConsumer.cpp [code-complete] Introduce CodeCompletionTUInfo which will be used for caching 2012-04-10 17:23:48 +00:00
DeclSpec.cpp Implement the last part of C++ [class.mem]p2, delaying the parsing of 2012-04-16 18:27:27 +00:00
DelayedDiagnostic.cpp objc: When issue diagnostic about deprecated method, also 2012-03-02 21:50:02 +00:00
IdentifierResolver.cpp Remove ref/value inconsistency in redecl_iterator. 2012-05-01 00:48:43 +00:00
JumpDiagnostics.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
Sema.cpp Sema: Initialize NSString method cache members. 2012-04-22 20:43:35 +00:00
SemaAccess.cpp Fix a comment. 2012-04-19 07:48:57 +00:00
SemaAttr.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaCXXScopeSpec.cpp In C++11 mode, implement the C++11 semantics for 2012-05-01 20:23:02 +00:00
SemaCast.cpp PR9546, DR1268: A prvalue cannot be reinterpret_cast to an rvalue reference 2012-04-29 08:24:44 +00:00
SemaChecking.cpp Turn the mixed-sign-comparison diagnostic into a runtime behavior 2012-05-01 01:53:49 +00:00
SemaCodeComplete.cpp clang_getCursorLexicalParent should return a translation unit cursor for declarations at the global scope, from Evan P. Fixes PR9083. 2012-04-30 23:41:16 +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 Try harder to recognize hidden tag type names in potential declarations instead 2012-05-02 00:11:40 +00:00
SemaDeclAttr.cpp Walk the decls looking for the last one that has an attribute. We do have to walk 2012-05-02 20:36:57 +00:00
SemaDeclCXX.cpp Remove the ref/value inconsistency in filter_decl_iterator. 2012-04-30 02:36:29 +00:00
SemaDeclObjC.cpp Eliminate Sema::CompareMethodParamsInBaseAndSuper() entirely, by 2012-05-01 23:37:00 +00:00
SemaExceptionSpec.cpp Implements boxed expressions for Objective-C. <rdar://problem/10194391> 2012-04-19 00:25:12 +00:00
SemaExpr.cpp Workaround a miscompile in 483.xalancbmk while we figure it out. 2012-05-01 20:28:45 +00:00
SemaExprCXX.cpp Remove -Wc++98-compat warning for an outrageously-rare circumstance of 'this' 2012-04-30 23:33:33 +00:00
SemaExprMember.cpp Let's use the correct bool this time. 2012-05-01 01:17:53 +00:00
SemaExprObjC.cpp Clean up changes suggested by Douglas Gregor: 2012-05-01 21:47:19 +00:00
SemaFixItUtils.cpp Add FixItHint for -Wnull-conversion to initialize with an appropriate literal. 2012-04-30 18:27:22 +00:00
SemaInit.cpp Remove the ref/value inconsistency in filter_decl_iterator. 2012-04-30 02:36:29 +00:00
SemaLambda.cpp Remove the ref/value inconsistency in filter_decl_iterator. 2012-04-30 02:36:29 +00:00
SemaLookup.cpp Implement simplify_type traits for redecl_iterator. 2012-05-01 19:49:42 +00:00
SemaObjCProperty.cpp Add a missing RequireCompleteType call when synthesizing properties. <rdar://problem/11333367>. 2012-05-01 22:26:06 +00:00
SemaOverload.cpp move some stuff to .rodata 2012-04-21 14:45:25 +00:00
SemaPseudoObject.cpp objective-arc: Retune my previous patch so warning 2012-04-19 23:49:39 +00:00
SemaStmt.cpp Add -Wloop-analysis. This warning will fire on for loops which the variables 2012-04-30 18:01:30 +00:00
SemaStmtAttr.cpp Add an AttributedStmt type to represent a statement with C++11 attributes 2012-04-14 00:33:13 +00:00
SemaTemplate.cpp In C++11 mode, implement the C++11 semantics for 2012-05-01 20:23:02 +00:00
SemaTemplateDeduction.cpp Implement C++11 [expr.prim.general]p3, which permits the use of 'this' 2012-04-16 07:05:22 +00:00
SemaTemplateInstantiate.cpp PR12710 - broken default argument handling for templates. 2012-05-01 06:05:57 +00:00
SemaTemplateInstantiateDecl.cpp Remove the ref/value inconsistency in filter_decl_iterator. 2012-04-30 02:36:29 +00:00
SemaTemplateVariadic.cpp For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 2012-04-04 06:24:32 +00:00
SemaType.cpp Remove the ref/value inconsistency in filter_decl_iterator. 2012-04-30 02:36:29 +00:00
TargetAttributesSema.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h Implements boxed expressions for Objective-C. <rdar://problem/10194391> 2012-04-19 00:25:12 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00