hanchenye-llvm-project/clang/test
Douglas Gregor e362cea568 Implement the semantics of the injected-class-name within a class
template. The injected-class-name is either a type or a template,
depending on whether a '<' follows it. As a type, the
injected-class-name's template argument list contains its template
parameters in declaration order.

As part of this, add logic for canonicalizing declarations, and be
sure to canonicalize declarations used in template names and template
arguments. 

A TagType is dependent if the declaration it references is dependent.

I'm not happy about the rather complicated protocol needed to use
ASTContext::getTemplateSpecializationType.

llvm-svn: 71408
2009-05-10 22:57:19 +00:00
..
Analysis Add special warning about returning a retained object where a GC'ed object is expected. 2009-05-10 16:52:15 +00:00
CodeGen force a target triple so that the right greppable output happens. 2009-05-09 17:36:58 +00:00
CodeGenCXX only support int128_t on 64-bit and larger targets. 32-bit targets don't 2009-04-30 06:18:40 +00:00
CodeGenObjC Remove -fobjc-tight-layout, seems to work! 2009-05-07 21:58:26 +00:00
Coverage remove obsolete tests. 2009-04-22 22:06:26 +00:00
Driver Tweak x86 -mcpu defaults. 2009-05-06 04:58:14 +00:00
FixIt Fixed the Fix-It hints for comparison against a string literal. Thanks, Chris! 2009-04-06 18:45:53 +00:00
Frontend Fixed the test. 2009-04-10 22:09:52 +00:00
Lexer Implement -Wfour-char-constants, which is an extension, not an extwarn, 2009-04-28 21:51:46 +00:00
Misc adjust this to bourne shell syntax 2009-05-06 06:00:28 +00:00
PCH Make this test portable to non-x86 hosts, patch by Mark Cianciosa! 2009-05-07 04:21:16 +00:00
Parser Add parsing of friend specifiers. 2009-05-06 04:46:28 +00:00
Preprocessor Handle -march for the LLVM recognized cpu names. 2009-05-06 21:56:32 +00:00
Rewriter Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
Sema Fix the atomics sema code to convert operands to the argument types 2009-05-08 15:36:58 +00:00
SemaCXX Implement C++0x nullptr. 2009-05-10 18:38:11 +00:00
SemaObjC We want to diagnose sending message to a forward class 2009-05-08 23:45:49 +00:00
SemaObjCXX Improve handling of (X86) target features. 2009-05-06 03:16:41 +00:00
SemaTemplate Implement the semantics of the injected-class-name within a class 2009-05-10 22:57:19 +00:00
Makefile Update to account for the great driver renaming. 2009-03-25 17:56:16 +00:00
TestRunner.sh If stderr isn't a terminal, don't try to guess the terminal width or 2009-05-06 21:28:42 +00:00