llvm-project/clang/lib/Sema
Ted Kremenek 1ddd6d2b6b Upgrade "'X' is unavailable" from a warning to an error. This matches GCC's behavior. Note that
GCC emits a warning instead of an error when using an unavailable Objective-C protocol, so now
Clang's behavior is more strict in this case, but more consistent.  We will need to see how much
this fires on real code and determine whether this case should be downgraded to a warning.

Fixes <rdar://problem/8213093>.

llvm-svn: 109033
2010-07-21 20:43:11 +00:00
..
AnalysisBasedWarnings.cpp Fix construction of AnalysisContext. Thanks Daniel. 2010-07-19 13:16:50 +00:00
AnalysisBasedWarnings.h Remove micro-optimization for not issueing CFG-based warnings for 'static inline' functions 2010-04-08 18:51:44 +00:00
CMakeLists.txt Update CMake build system for ARM NEON generation. 2010-06-17 15:17:41 +00:00
CXXFieldCollector.h ActOnTagDefinitionError is supposed to 'unwind' ActOnTagStartDefinition, not 2010-03-17 19:25:57 +00:00
CodeCompleteConsumer.cpp Introduce priorities into the code-completion results. 2010-05-26 22:00:08 +00:00
IdentifierResolver.cpp Optimize the implementation of IdDeclInfo pooling in the IdentifierResolver. 2010-02-15 19:38:00 +00:00
IdentifierResolver.h Eliminate dead code. 2010-01-02 21:44:36 +00:00
JumpDiagnostics.cpp Be a bit more careful with undefined CXXRecordDecls. Fixes 2010-07-01 00:21:21 +00:00
Lookup.h Fix a point of semantics with using declaration hiding: method templates 2010-06-16 08:42:20 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ParseAST.cpp push some source location information down through the compiler, 2010-04-20 20:35:58 +00:00
Sema.cpp Update ImplicitCastExpr to be able to represent an XValue. 2010-07-20 04:20:21 +00:00
Sema.h Update ImplicitCastExpr to be able to represent an XValue. 2010-07-20 04:20:21 +00:00
SemaAccess.cpp Partial fix for PR7267 based on comments by John McCall on an earlier patch. 2010-06-28 08:39:25 +00:00
SemaAttr.cpp Sema: Fix a bug with #pragma options align=reset, reset against an empty stack 2010-07-16 04:54:16 +00:00
SemaCXXCast.cpp Introduce a new cast kind for an "lvalue bitcast", which handles 2010-07-13 23:17:26 +00:00
SemaCXXScopeSpec.cpp When performing substitution of template arguments within the body of 2010-07-08 18:37:38 +00:00
SemaChecking.cpp Hookup checking for invalid length modifiers in scanf format strings. 2010-07-20 20:04:47 +00:00
SemaCodeComplete.cpp Only filter out names reserved for the implementation (e.g., __blah or 2010-07-14 17:44:04 +00:00
SemaDecl.cpp Update ImplicitCastExpr to be able to represent an XValue. 2010-07-20 04:20:21 +00:00
SemaDeclAttr.cpp Add support for differentiating between attributes ignored when handled and 2010-07-08 09:42:26 +00:00
SemaDeclCXX.cpp Update ImplicitCastExpr to be able to represent an XValue. 2010-07-20 04:20:21 +00:00
SemaDeclObjC.cpp Patch to provide separate ASTs for multiple ObjC class extension 2010-06-22 23:20:40 +00:00
SemaExceptionSpec.cpp Disable exception-spec compatibility checking under -fno-exceptions. 2010-05-28 08:37:35 +00:00
SemaExpr.cpp Upgrade "'X' is unavailable" from a warning to an error. This matches GCC's behavior. Note that 2010-07-21 20:43:11 +00:00
SemaExprCXX.cpp Update ImplicitCastExpr to be able to represent an XValue. 2010-07-20 04:20:21 +00:00
SemaExprObjC.cpp When forming a function call or message send expression, be sure to 2010-07-13 08:18:22 +00:00
SemaInit.cpp Added extra check when looking for location of '=' in 2010-07-21 18:40:47 +00:00
SemaInit.h Fix source location of the initializer in 2010-07-21 18:31:47 +00:00
SemaLookup.cpp Introduce -f{no-}spell-checking options to enable/disable 2010-07-09 17:35:33 +00:00
SemaObjCProperty.cpp Patch to synthesize property ivars on demand as 2010-07-17 00:59:30 +00:00
SemaOverload.cpp Update ImplicitCastExpr to be able to represent an XValue. 2010-07-20 04:20:21 +00:00
SemaOverload.h An identity conversion is better than any non-identity 2010-05-23 22:10:15 +00:00
SemaStmt.cpp Make the "unused result" warning a warning about run-time behavior, so 2010-07-15 18:47:04 +00:00
SemaTemplate.cpp Hide the specializations folding sets of ClassTemplateDecl as an implementation detail (InsertPos 2010-07-20 13:59:28 +00:00
SemaTemplate.h When performing substitution of template arguments within the body of 2010-07-08 18:37:38 +00:00
SemaTemplateDeduction.cpp Split DependentNameType into two types. DependentNameType represents the 2010-06-11 00:33:02 +00:00
SemaTemplateInstantiate.cpp Fix http://llvm.org/PR7660 2010-07-19 10:14:41 +00:00
SemaTemplateInstantiateDecl.cpp Hide FunctionTemplateDecl's specializations folding set as implementation detail and introduce 2010-07-20 13:59:58 +00:00
SemaType.cpp Improve diagnostics for the "type qualifier on return type has no 2010-07-13 08:50:30 +00:00
TargetAttributesSema.cpp Don't emit a warning about a dllimport attribute being used in a typedef 2010-02-21 05:12:56 +00:00
TargetAttributesSema.h Generalize target weirdness handling having proper layering in mind: 2010-01-10 12:58:08 +00:00
TreeTransform.h More block instantiation stuff. Set variable/param DeclContext 2010-07-13 20:05:58 +00:00