llvm-project/clang/lib/Sema
Argyrios Kyrtzidis 8e6951d81b Allow objc @() syntax for enum types.
Previously we would reject it as illegal using a value of
enum type and on ObjC++ it was illegal to use an enumerator
as well.

rdar://11454917

llvm-svn: 156843
2012-05-15 19:17:44 +00:00
..
AnalysisBasedWarnings.cpp Pull some cases of initialization with self-reference warnings out of 2012-05-09 21:08:22 +00:00
AttributeList.cpp Add -Wimplicit-fallthrough warning flag, which warns on fallthrough between 2012-05-03 18:27:39 +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 Revert most of r154844, which was disabled in r155975. Keep around the 2012-05-02 22:22:32 +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 When we suppress an error due to SFINAE, stash the diagnostic away with the 2012-05-07 09:03:25 +00:00
SemaAccess.cpp Change how we suppress access control in explicit instantiations 2012-05-07 06:16:58 +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 Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaCast.cpp Detecting illegal instantiations of abstract types when using a function-style cast. Fixed PR12658. 2012-05-07 00:02:00 +00:00
SemaChecking.cpp Changing std::string to SmallString for r156826. 2012-05-15 17:18:27 +00:00
SemaCodeComplete.cpp Make BuiltinType::getName return a StringRef and introduce BuiltinType::getNameAsCString 2012-05-05 04:20:28 +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 Remove word 'block' from option and diagnostic I added 2012-05-15 17:43:16 +00:00
SemaDeclAttr.cpp Refactor all the 2012-05-13 03:25:18 +00:00
SemaDeclCXX.cpp Fold the six functions checking explicitly-defaulted special member functions 2012-05-15 04:39:51 +00:00
SemaDeclObjC.cpp [AST/libclang] Speed up clang_getOverriddenCursors() considerably by reserving a bit 2012-05-09 16:12:57 +00:00
SemaExceptionSpec.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaExpr.cpp Further improvement to wording of overload resolution diagnostics, and including 2012-05-15 06:21:54 +00:00
SemaExprCXX.cpp When diagnosing inaccessible temporary destructors in decltype expressions, use 2012-05-11 22:20:10 +00:00
SemaExprMember.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaExprObjC.cpp Allow objc @() syntax for enum types. 2012-05-15 19:17:44 +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 A union can have a constexpr defaulted default constructor, if it has an 2012-05-07 01:07:30 +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 objc: avoid duplicate diagnostics on certain type mismatches 2012-05-15 18:12:51 +00:00
SemaOverload.cpp PR11857: When the wrong number of arguments are provided for a function 2012-05-11 05:16:41 +00:00
SemaPseudoObject.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaStmt.cpp PR12826: Converting an lvalue to an xvalue is a no-op conversion, not an lvalue-to-rvalue conversion. 2012-05-15 05:04:02 +00:00
SemaStmtAttr.cpp Add -Wimplicit-fallthrough warning flag, which warns on fallthrough between 2012-05-03 18:27:39 +00:00
SemaTemplate.cpp A little tweak to the SFINAE condition reporting. Don't say: 2012-05-09 05:17:00 +00:00
SemaTemplateDeduction.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaTemplateInstantiate.cpp PR12710 - broken default argument handling for templates. 2012-05-01 06:05:57 +00:00
SemaTemplateInstantiateDecl.cpp Fix our handling of visibility in explicit template instantiations. 2012-05-15 14:09:55 +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 objective-c. Fixes a 'fixit' where location of 2012-05-09 21:49:29 +00:00
TargetAttributesSema.cpp Refactor all the 2012-05-13 03:25:18 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h PR12798: Don't drop part of the nested name specifier when instantiating a 2012-05-15 06:15:11 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00