llvm-project/clang/lib/Sema
Benjamin Kramer 25c0510690 Sema: Unnest early exit and remove an unnecessary bad cast.
cast<ObjCObjectPointerType> doesn't look through sugar, getAs does.
Fixes PR15257.

llvm-svn: 175272
2013-02-15 15:17:50 +00:00
..
AnalysisBasedWarnings.cpp -Wimplicit-fallthrough: fixed two cases where "fallthrough annotation in unreachable code" was issued incorrectly. 2013-02-07 02:17:19 +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 BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
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 Add a new -Wundefined-inline warning for inline functions which are used but not 2013-02-01 08:13:20 +00:00
SemaAccess.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
SemaAttr.cpp Disable caching of visibility. 2013-01-12 06:42:30 +00:00
SemaCXXScopeSpec.cpp Use 'const Decl *' throughout code completion in Sema 2013-01-23 17:21:11 +00:00
SemaCast.cpp Diagnose loads of 'half' l-values in OpenCL. 2013-02-12 01:29:43 +00:00
SemaChecking.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
SemaCodeComplete.cpp Remove a const_cast by propagating constness to called functions 2013-02-14 13:53:30 +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 helper functions static. 2013-02-15 12:30:38 +00:00
SemaDeclAttr.cpp The meat of this patch is in BuildCXXMemberCalLExpr where we make it use 2013-02-12 08:08:54 +00:00
SemaDeclCXX.cpp Make helper functions static. 2013-02-15 12:30:38 +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 s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaExpr.cpp Sema: Unnest early exit and remove an unnecessary bad cast. 2013-02-15 15:17:50 +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 Small code change to improve performance 2013-01-22 19:05:17 +00:00
SemaFixItUtils.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaInit.cpp Make helper functions static. 2013-02-15 12:30:38 +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 Preserve Sema::UndefinedInternals across PCH boundaries. Fixes 2013-01-26 00:35:08 +00:00
SemaObjCProperty.cpp objective-C: synthesize properties in order of their 2013-02-14 22:33:34 +00:00
SemaOverload.cpp Partially revert r175117 so that we don't break assumptions about how 2013-02-14 03:31:26 +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 Patch to check for integer overflow. It has been 2013-01-24 22:11:45 +00:00
SemaStmtAsm.cpp [ms-inline asm] Add an error when trying to compile MS-style inline assembly 2013-01-24 20:24:34 +00:00
SemaStmtAttr.cpp Improve C++11 attribute parsing. 2012-10-03 01:56:22 +00:00
SemaTemplate.cpp This patch makes "&Cls::purevfn" not an odr use. This isn't what the standard 2013-02-02 00:25:55 +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 Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
SemaTemplateInstantiateDecl.cpp Implement [dcl.align]p5 and C11 6.7.5/4: alignas cannot underalign. 2013-02-01 08:12:08 +00:00
SemaTemplateVariadic.cpp Add OpenCL samplers as Clang builtin types and check sampler related restrictions. 2013-02-07 10:55:47 +00:00
SemaType.cpp Diagnose loads of 'half' l-values in OpenCL. 2013-02-12 01:29:43 +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 One can override an Objective-C ARC ownership qualifier that came from 2013-01-17 23:59:28 +00:00
TypeLocBuilder.h Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00