llvm-project/clang/lib/Sema
Douglas Gregor b61e809b42 Move the computation of the lambda mangling information (mangling
number + context) to the point where we initially start defining the
lambda, so that the linkage won't change when that information is made
available. Fixes the assertion in <rdar://problem/11182962>.

Plus, actually mangle the context of lambdas properly.

llvm-svn: 154029
2012-04-04 17:40:10 +00:00
..
AnalysisBasedWarnings.cpp ThreadSafetyReporter: Manage diagnostics in a std::list. 2012-03-26 14:05:40 +00:00
AttributeList.cpp Refactor Clang sema attribute handling. 2012-03-07 00:12:16 +00:00
CMakeLists.txt Refactor Clang sema attribute handling. 2012-03-07 00:12:16 +00:00
CodeCompleteConsumer.cpp Introduce a new libclang API to determine the parent context of a code 2012-03-27 23:34:16 +00:00
DeclSpec.cpp For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 2012-04-04 06:24:32 +00:00
DelayedDiagnostic.cpp objc: When issue diagnostic about deprecated method, also 2012-03-02 21:50:02 +00:00
IdentifierResolver.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
JumpDiagnostics.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
Sema.cpp [Sema] Fix SemaDiagnosticBuilder to be inline. 2012-03-14 09:49:32 +00:00
SemaAccess.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaAttr.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaCXXScopeSpec.cpp Support for definitions of member enumerations of class templates outside the 2012-03-23 03:33:32 +00:00
SemaCast.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaChecking.cpp Remove dead assignment to local variable. 2012-04-04 00:55:21 +00:00
SemaCodeComplete.cpp Remove more redundant lookups. Add a new "all_lookups_iterator" which provides 2012-04-03 21:44:08 +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 Replace the workaround from r153445 with a proper fix. 2012-04-03 18:20:11 +00:00
SemaDeclAttr.cpp Minor cleanup in attribute-related diagnostics, from Alexander Kornienko! 2012-03-14 16:55:17 +00:00
SemaDeclCXX.cpp Remove dead assignment to local variable. 2012-04-04 00:55:21 +00:00
SemaDeclObjC.cpp Make sure we don't accept an @interface inside another objc container 2012-03-23 23:24:23 +00:00
SemaExceptionSpec.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaExpr.cpp Enter an expression evaluation context when parsing 2012-04-04 01:27:53 +00:00
SemaExprCXX.cpp PR10217: Provide diagnostics explaining why an implicitly-deleted special 2012-03-30 20:53:28 +00:00
SemaExprMember.cpp Fix crash on invalid code. I've tried to produce a reduced test case, but when I do the specific crash is hidden. Fixes <rdar://problem/11063594>. 2012-03-17 00:53:39 +00:00
SemaExprObjC.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaFixItUtils.cpp Use character literals for vexing initialization fixit hints. 2012-03-18 02:56:47 +00:00
SemaInit.cpp Dependent-sequence initialization of a single element can be direct 2012-04-04 04:06:51 +00:00
SemaLambda.cpp Move the computation of the lambda mangling information (mangling 2012-04-04 17:40:10 +00:00
SemaLookup.cpp Remove more redundant lookups. Add a new "all_lookups_iterator" which provides 2012-04-03 21:44:08 +00:00
SemaObjCProperty.cpp Fix PR10447: lazily building name lookup tables for DeclContexts was broken. 2012-03-13 03:12:56 +00:00
SemaOverload.cpp When computing the conversion sequence in overload resolution 2012-04-04 02:40:27 +00:00
SemaPseudoObject.cpp Add info to ObjCPropertyRefExpr to indicate whether the dot syntax property 2012-03-30 00:19:18 +00:00
SemaStmt.cpp Handle placeholder expressions in an ObjC for-collection loop. 2012-03-30 05:43:39 +00:00
SemaTemplate.cpp If we encounter a friend class template for which we cannot resolve 2012-03-30 16:20:47 +00:00
SemaTemplateDeduction.cpp When performing template argument deduction for an initializer list, 2012-04-04 05:10:53 +00:00
SemaTemplateInstantiate.cpp When defining a forward-declared enum, don't try to attach the definition to 2012-03-23 23:09:08 +00:00
SemaTemplateInstantiateDecl.cpp If something already instantiated is reinstantiated as an explicit definition, 2012-04-04 02:38:36 +00:00
SemaTemplateVariadic.cpp For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 2012-04-04 06:24:32 +00:00
SemaType.cpp For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 2012-04-04 06:24:32 +00:00
TargetAttributesSema.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h Move the computation of the lambda mangling information (mangling 2012-04-04 17:40:10 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00