llvm-project/clang/lib/Sema
John McCall eaef89b197 Fix a crash-on-valid where a block capture copy expression was
picking up cleanups from earlier in the statement.  Also fix a
crash-on-invalid where a reference to an invalid decl from an
enclosing scope was causing an expression to fail to build, but
only *after* a cleanup was registered from that statement,
causing an assertion downstream.

The crash-on-valid is rdar://13459289.

llvm-svn: 177692
2013-03-22 02:10:40 +00:00
..
AnalysisBasedWarnings.cpp Fix typos: [Dd]iagnosic -> [Dd]iagnostic 2013-03-01 21:41:22 +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
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 <rdar://problem/12368093> Extend module maps with a 'conflict' declaration, and warn when a newly-imported module conflicts with an already-imported module. 2013-03-20 21:10:35 +00:00
SemaAccess.cpp Don't crash when diagnosing path-constrained protected 2013-02-27 00:08:19 +00:00
SemaAttr.cpp Add a new 'type_visibility' attribute to allow users to 2013-02-20 01:54:26 +00:00
SemaCXXScopeSpec.cpp Use 'const Decl *' throughout code completion in Sema 2013-01-23 17:21:11 +00:00
SemaCast.cpp objective-C arg: provide fixit support when 2013-02-22 22:02:53 +00:00
SemaChecking.cpp Simplify print logic, per feedback from Jordan Rose. 2013-03-15 22:02:46 +00:00
SemaCodeComplete.cpp Don't try to typo-correct 'super' in an objc method. 2013-03-14 22:56:43 +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 Fix a crash-on-valid where a block capture copy expression was 2013-03-22 02:10:40 +00:00
SemaDeclAttr.cpp Add support for the 'endian' attribute for OpenCL. 2013-03-14 09:54:43 +00:00
SemaDeclCXX.cpp Fix a crash-on-valid where a block capture copy expression was 2013-03-22 02:10:40 +00:00
SemaDeclObjC.cpp Add a clarifying note when a return statement is rejected because 2013-03-19 07:04:25 +00:00
SemaExceptionSpec.cpp ArrayRef-ize ASTContext::getFunctionType and Sema::BuildFunctionType. 2013-03-08 21:51:21 +00:00
SemaExpr.cpp Fix a crash-on-valid where a block capture copy expression was 2013-03-22 02:10:40 +00:00
SemaExprCXX.cpp PR7256: Provide a fixit for incorrect destructor declarations 2013-03-20 17:42:13 +00:00
SemaExprMember.cpp Fix assertion failure when a field is given an address space. 2013-02-26 21:16:00 +00:00
SemaExprObjC.cpp Add a clarifying note when a return statement is rejected because 2013-03-19 07:04:25 +00:00
SemaFixItUtils.cpp s/CPlusPlus0x/CPlusPlus11/g 2013-01-02 11:42:31 +00:00
SemaInit.cpp Add a clarifying note when a return statement is rejected because 2013-03-19 07:04:25 +00:00
SemaLambda.cpp Adjust the special non-C++ enum block return type inference 2013-03-09 00:54:31 +00:00
SemaLookup.cpp Remove -Wspellcheck and replace it with a diagnostic option. 2013-03-16 01:40:35 +00:00
SemaObjCProperty.cpp Objective-C: Tighten the rules when warning 2013-03-21 20:50:53 +00:00
SemaOverload.cpp Avoid computing the linkage too early. Don't invalidate it. 2013-03-14 03:07:35 +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 Fix a crash-on-valid where a block capture copy expression was 2013-03-22 02:10:40 +00:00
SemaStmtAsm.cpp MCParser: Update method names per coding guidelines. 2013-02-20 22:25:15 +00:00
SemaStmtAttr.cpp PR15300: Support C++11 attributes on base-specifiers. We don't support any such 2013-02-19 23:47:15 +00:00
SemaTemplate.cpp Add TagDecl::hasNameForLinkage(), which is true if the tag 2013-03-09 00:54:27 +00:00
SemaTemplateDeduction.cpp Sema: Preserve attributes on parameters in instantiated function templates. 2013-03-08 22:25:36 +00:00
SemaTemplateInstantiate.cpp Sema: Preserve attributes on parameters in instantiated function templates. 2013-03-08 22:25:36 +00:00
SemaTemplateInstantiateDecl.cpp Add TagDecl::hasNameForLinkage(), which is true if the tag 2013-03-09 00:54:27 +00:00
SemaTemplateVariadic.cpp Use None rather than Optional<T>() where possible. 2013-02-21 01:47:18 +00:00
SemaType.cpp Sema: Preserve attributes on parameters in instantiated function templates. 2013-03-08 22:25:36 +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 <rdar://problem/13170740> Be a little more careful when instantiating 'this' expressions. 2013-03-08 22:43:48 +00:00
TypeLocBuilder.h Replace TypeLoc llvm::cast support to be well-defined. 2013-02-18 22:06:02 +00:00