llvm-project/clang/lib/Sema
Enea Zaffanella 29e1c4b03e Fixed an assertion failure triggered by invalid code.
Set invalid type of declarator after emitting error diagnostics,
so that it won't be later considered when instantiating the template.
Added test5_inst in test/SemaCXX/condition.cpp for non-regression.

llvm-svn: 172201
2013-01-11 14:34:39 +00:00
..
AnalysisBasedWarnings.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
AttributeList.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
CMakeLists.txt From Vassil Vassilev: enable Sema to deal with multiple ExternalSemaSources. 2012-10-18 19:05:02 +00:00
CodeCompleteConsumer.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
DeclSpec.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
DelayedDiagnostic.cpp objective-C: when diagnosing deprecated/unavailable usage of 2012-09-21 20:46:37 +00:00
IdentifierResolver.cpp IdentifierResolver: Remove an unnecessary include and an unused parameter. 2012-12-17 03:51:09 +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 Truth in advertising: LocallyScopedExternalDecls actually only contains 2013-01-10 23:43:47 +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 Mark all subsequent decls used. 2013-01-08 19:43:34 +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 Add 171048 back but invalidate the cache of all redeclarations when setting 2012-12-25 07:31:49 +00:00
SemaCXXScopeSpec.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaCast.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaChecking.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaCodeComplete.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +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 Truth in advertising: LocallyScopedExternalDecls actually only contains 2013-01-10 23:43:47 +00:00
SemaDeclAttr.cpp Clear LV cache when dropping availability attributes. 2013-01-08 22:31:36 +00:00
SemaDeclCXX.cpp Tighten types a bit. No functionality change. 2013-01-08 20:44:06 +00:00
SemaDeclObjC.cpp objective-C: when searching for declarations in protocol 2013-01-07 19:21:03 +00:00
SemaExceptionSpec.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaExpr.cpp put back diagnostics when flexible members are captured 2013-01-09 00:09:15 +00:00
SemaExprCXX.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaExprMember.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaExprObjC.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
SemaFixItUtils.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaInit.cpp PR14838: When a member reference is bound to a temporary, don't forget to 2013-01-08 00:08:23 +00:00
SemaLambda.cpp Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here. 2012-12-20 19:22:21 +00:00
SemaLookup.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaObjCProperty.cpp Use Decl::getAvailability() rather than checking for the "unavailable" 2013-01-08 18:16:18 +00:00
SemaOverload.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaPseudoObject.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
SemaStmt.cpp Provide a better warning when case value overflows. 2013-01-10 20:26:42 +00:00
SemaStmtAsm.cpp [ms-inline asm] Extend the inline asm Sema lookup interface to determine if the 2013-01-10 22:10:16 +00:00
SemaStmtAttr.cpp Improve C++11 attribute parsing. 2012-10-03 01:56:22 +00:00
SemaTemplate.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaTemplateDeduction.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaTemplateInstantiate.cpp PR13470: Ensure that copy-list-initialization isntantiates as 2012-12-19 01:39:02 +00:00
SemaTemplateInstantiateDecl.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaTemplateVariadic.cpp Re-commit r170428 changes with Linux style file endings. 2012-12-18 14:38:23 +00:00
SemaType.cpp Fixed an assertion failure triggered by invalid code. 2013-01-11 14:34:39 +00:00
TargetAttributesSema.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +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 Remove the anonymous namespace from lib/Sema/TreeTransform.h 2013-01-02 19:10:22 +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