llvm-project/clang/lib/Sema
Argyrios Kyrtzidis 6fe744cc38 When resolving default template arguments, it should be done in the declaration context
of the template what we are going to instantiate.

Fixes various crashes of rdar://11242625 & http://llvm.org/PR11421.

llvm-svn: 155576
2012-04-25 18:39:17 +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 Add an AttributedStmt type to represent a statement with C++11 attributes 2012-04-14 00:33:13 +00:00
CodeCompleteConsumer.cpp [code-complete] Introduce CodeCompletionTUInfo which will be used for caching 2012-04-10 17:23:48 +00:00
DeclSpec.cpp Implement the last part of C++ [class.mem]p2, delaying the parsing of 2012-04-16 18:27:27 +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: Initialize NSString method cache members. 2012-04-22 20:43:35 +00:00
SemaAccess.cpp Fix a comment. 2012-04-19 07:48:57 +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 Implement __atomic_fetch_nand and __atomic_nand_fetch to complete our set of 2012-04-13 06:31:38 +00:00
SemaCodeComplete.cpp Include the Objective-C parameter- and return-passing qualifiers when 2012-04-10 18:35:07 +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 regression in r154844. If necessary, defer computing adjusted destructor 2012-04-21 18:42:51 +00:00
SemaDeclAttr.cpp with -Wdeprecated, include a note to its deprecated declaration 2012-04-23 20:30:52 +00:00
SemaDeclCXX.cpp PR12625: Cope with classes which have incomplete base or member types: 2012-04-25 18:28:49 +00:00
SemaDeclObjC.cpp Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
SemaExceptionSpec.cpp Implements boxed expressions for Objective-C. <rdar://problem/10194391> 2012-04-19 00:25:12 +00:00
SemaExpr.cpp PR 12586: Fix assert while running libc++ testsuite: deal with exception 2012-04-19 00:08:28 +00:00
SemaExprCXX.cpp Implements boxed expressions for Objective-C. <rdar://problem/10194391> 2012-04-19 00:25:12 +00:00
SemaExprMember.cpp Also highlight the member name. 2012-04-21 02:13:04 +00:00
SemaExprObjC.cpp objective-arc: Retune my previous patch so warning 2012-04-19 23:49:39 +00:00
SemaFixItUtils.cpp Use character literals for vexing initialization fixit hints. 2012-03-18 02:56:47 +00:00
SemaInit.cpp Add missing -Wc++98-compat warnings for initializer list initializations which 2012-04-19 06:58:00 +00:00
SemaLambda.cpp Move the computation of the lambda mangling information (mangling 2012-04-04 17:40:10 +00:00
SemaLookup.cpp Fix bug where a class's (deleted) copy constructor would be implicitly given a 2012-04-20 18:46:14 +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 move some stuff to .rodata 2012-04-21 14:45:25 +00:00
SemaPseudoObject.cpp objective-arc: Retune my previous patch so warning 2012-04-19 23:49:39 +00:00
SemaStmt.cpp Add an AttributedStmt type to represent a statement with C++11 attributes 2012-04-14 00:33:13 +00:00
SemaStmtAttr.cpp Add an AttributedStmt type to represent a statement with C++11 attributes 2012-04-14 00:33:13 +00:00
SemaTemplate.cpp When resolving default template arguments, it should be done in the declaration context 2012-04-25 18:39:17 +00:00
SemaTemplateDeduction.cpp Implement C++11 [expr.prim.general]p3, which permits the use of 'this' 2012-04-16 07:05:22 +00:00
SemaTemplateInstantiate.cpp Implement DR1330 in C++11 mode, to support libstdc++4.7 which uses it. 2012-04-17 00:58:00 +00:00
SemaTemplateInstantiateDecl.cpp PR 12586: Fix assert while running libc++ testsuite: deal with exception 2012-04-19 00:08:28 +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 Teach RequireCompleteType about multi-dimensional arrays. Fixes 2012-04-23 16:42:52 +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 Implements boxed expressions for Objective-C. <rdar://problem/10194391> 2012-04-19 00:25:12 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00