llvm-project/clang/lib/Sema
Reid Kleckner aac43c6a77 Handle errors in lambda prototype instantiation correctly
Previously we would attempt to build a TypeSourceInfo for a null type,
and then we would forget to pop the function scope before returning an
error.

Reviewers: rsmith

Differential Revision: http://reviews.llvm.org/D6665

llvm-svn: 224271
2014-12-15 21:07:16 +00:00
..
AnalysisBasedWarnings.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
AttributeList.cpp Automate attribute argument count semantic checking when there are variadic or optional arguments present. With this, the only time you should have to manually check attribute argument counts is when HasCustomParsing is set to true, or when you have variadic arguments that aren't really variadic (like ownership_holds and friends). 2014-07-31 16:37:04 +00:00
CMakeLists.txt Split off CUDA-specific Sema parts to a new file 2014-09-03 15:27:03 +00:00
CodeCompleteConsumer.cpp [C++11] Use 'nullptr'. Sema edition. 2014-05-26 06:22:03 +00:00
DeclSpec.cpp [OpenCL] Generic address space has been added in OpenCL v2.0. 2014-11-26 14:10:06 +00:00
DelayedDiagnostic.cpp Objective-C. Diagnose when property access is using declared 2014-06-16 17:25:41 +00:00
IdentifierResolver.cpp PR20769: Fix confusion when checking whether a prior default argument was in 2014-08-27 22:31:34 +00:00
JumpDiagnostics.cpp ms-inline-asm: Scope inline asm labels to functions 2014-09-22 02:21:54 +00:00
Makefile
MultiplexExternalSemaSource.cpp Add -Wunused-local-typedef, a warning that finds unused local typedefs. 2014-09-06 01:25:55 +00:00
Scope.cpp Revert r213437 2014-07-25 20:52:51 +00:00
ScopeInfo.cpp Objective-C ARC. Fixes a crash when checking for 'weak' propery 2014-11-21 21:12:11 +00:00
Sema.cpp Delay checking overrides for exception specifications if the overridden 2014-11-22 03:09:05 +00:00
SemaAccess.cpp Consolidate some note diagnostics 2014-05-28 12:20:14 +00:00
SemaAttr.cpp MS Compat: mark globals emitted in read-only sections const 2014-10-16 20:52:46 +00:00
SemaCUDA.cpp CUDA host device code with two code paths 2014-12-03 21:53:36 +00:00
SemaCXXScopeSpec.cpp [c++1z] Support [[deprecated]] attributes on namespaces. Note that it only applies to situations where the namespace is mentioned. Thus, use on anonymous namespaces is diagnosed. 2014-11-14 22:34:56 +00:00
SemaCast.cpp [OpenCL] Implemented restrictions for pointer conversions specified in OpenCL v2.0. 2014-11-26 15:36:41 +00:00
SemaChecking.cpp Implement the __builtin_call_with_static_chain GNU extension. 2014-12-12 23:41:25 +00:00
SemaCodeComplete.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
SemaConsumer.cpp
SemaDecl.cpp Warn when attribute 'optnone' conflicts with attributes on a 2014-12-15 18:57:28 +00:00
SemaDeclAttr.cpp Warn when attribute 'optnone' conflicts with attributes on a 2014-12-15 18:57:28 +00:00
SemaDeclCXX.cpp Parse: MS property members cannot have an in-class initializer 2014-12-13 11:34:16 +00:00
SemaDeclObjC.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
SemaExceptionSpec.cpp Delay checking overrides for exception specifications if the overridden 2014-11-22 03:09:05 +00:00
SemaExpr.cpp Sema: Cleanup and improve string-plus-char checking. 2014-12-15 20:22:33 +00:00
SemaExprCXX.cpp Fix two small bugs in typo correction. One assertion failure building member expressions because the lookup finds a different name than the original, fixed by updating the LookupResult's name with the name of the found decl. Second is that we also diagnose delayed typo exprs in the index of an array subscript expression. 2014-12-13 02:54:28 +00:00
SemaExprMember.cpp Perform correct lookup when '__super' is used in class with dependent base. 2014-12-01 23:15:01 +00:00
SemaExprObjC.cpp [Objective-C]. This patch extends objc_bridge attribute to support objc_bridge(id). 2014-12-11 22:56:26 +00:00
SemaFixItUtils.cpp PR17290: Use 'false' macro in fix-it hint for initializing a variable of type 2013-09-20 00:27:40 +00:00
SemaInit.cpp Handle use of default member initializers before end of outermost class 2014-11-17 23:36:45 +00:00
SemaLambda.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
SemaLookup.cpp Perform correct lookup when '__super' is used in class with dependent base. 2014-12-01 23:15:01 +00:00
SemaObjCProperty.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
SemaOpenMP.cpp First patch with codegen of the 'omp for' directive. It implements 2014-12-15 07:07:06 +00:00
SemaOverload.cpp If a non-template constructor instantiated to X(X), 2014-12-14 01:46:53 +00:00
SemaPseudoObject.cpp Objective-C. Prevents a crash generating AST for a 2014-09-15 21:19:39 +00:00
SemaStmt.cpp Sema: Don't leave switch stack inconsistent when recovering 2014-12-15 07:46:12 +00:00
SemaStmtAsm.cpp Parse: Concatenated string literals should be verified in inline asm 2014-12-11 01:00:48 +00:00
SemaStmtAttr.cpp Allow constant expressions in pragma loop hints. 2014-10-12 20:46:07 +00:00
SemaTemplate.cpp Perform correct lookup when '__super' is used in class with dependent base. 2014-12-01 23:15:01 +00:00
SemaTemplateDeduction.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
SemaTemplateInstantiate.cpp Fix crash-on-valid if a lambda-expression appears lexically directly within a 2014-11-20 22:56:34 +00:00
SemaTemplateInstantiateDecl.cpp Instantiate exception specifications when instantiating function types (other 2014-11-12 02:00:47 +00:00
SemaTemplateVariadic.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
SemaType.cpp [OpenCL] Generic address space has been added in OpenCL v2.0. 2014-11-26 14:10:06 +00:00
TreeTransform.h Handle errors in lambda prototype instantiation correctly 2014-12-15 21:07:16 +00:00
TypeLocBuilder.cpp [C++11] Use 'nullptr'. Sema edition. 2014-05-26 06:22:03 +00:00
TypeLocBuilder.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00