2a5941c3fbd9b1601c64959295c47f13a14bf7c0 |
|
17-Jun-2010 |
Douglas Gregor <doug.gregor@gmail.com> |
Fix the recently-added warning about 'typename' and 'template' disambiguation keywords outside of templates in C++98/03. Previously, the warning would fire when the associated nested-name-specifier was not dependent, but that was a misreading of the C++98/03 standard: now, we complain only when we're outside of any template. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/template-id-expr.cpp
|
113737e3e3516a0196de4665041736046aefb73e |
|
15-Jun-2010 |
Douglas Gregor <doug.gregor@gmail.com> |
Warn when a 'typename' or a 'template' keyword refers to a non-dependent type or template name, respectively, in C++98/03. Fixes PR7111 and <rdar://problem/8002682>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105968 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/template-id-expr.cpp
|
420114dbe1c13c99e6246675e10ee916ad4d1cca |
|
05-May-2010 |
Douglas Gregor <doug.gregor@gmail.com> |
Support for 'template' as a disambiguator (PR7030) ParseOptionalCXXScopeSpecifier() only annotates the subset of template-ids which are not subject to lexical ambiguity. Add support for the more general case in ParseUnqualifiedId() to handle cases such as A::template B(). Also improve some diagnostic locations. Fixes PR7030, from Alp Toker! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/template-id-expr.cpp
|
aa15bc5c0cb7b70a8865d0276f08fec4b4a2eadd |
|
05-Feb-2010 |
Douglas Gregor <doug.gregor@gmail.com> |
When we're parsing an expression that may have looked like a declaration, we can end up with template-id annotation tokens for types that have not been converted into type annotation tokens. When this is the case, translate the template-id into a type and parse as an expression. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95404 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/template-id-expr.cpp
|
3573b2c84372d9484296fa658f5276f6c09acb92 |
|
15-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/template-id-expr.cpp
|
ca296d849863081ba48aeebb102c12a95a6c20b1 |
|
05-Nov-2009 |
Douglas Gregor <doug.gregor@gmail.com> |
When instantiating a MemberExpr, be sure to instantiate the explicitly-specified template arguments, too! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/template-id-expr.cpp
|
9fb087baadf42a4bc0ae37fc49c57686af193dc8 |
|
29-Oct-2009 |
Douglas Gregor <doug.gregor@gmail.com> |
Yet more instantiation-location information. Fixes PR5336. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/template-id-expr.cpp
|