summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/template-decl-fail.cpp
Commit message (Collapse)AuthorAgeFilesLines
* It's okay to reference an enum in a template definition, even thoughDouglas Gregor2010-05-031-0/+2
| | | | | | it's ill-formed to form an enum template. Fixes <rdar://problem/7933063>. llvm-svn: 102926
* Downgrade the "declaration does not declare anything" error to aDouglas Gregor2010-04-081-1/+1
| | | | | | | warning. It's not harmful to have such pointless declarations, and GCC does not diagnose this issue consistently. llvm-svn: 100814
* Diagnose the declaration of enum templates. Also, be a bit moreDouglas Gregor2010-03-021-0/+5
| | | | | | careful about value-dependent enumerators. Fixes PR5786. llvm-svn: 97570
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - 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). llvm-svn: 91446
* Start propagating template parameter lists to the right places toDouglas Gregor2009-06-231-0/+3
handle function templates. There's no actual code for function templates yet, but at least we complain about typedef templates. llvm-svn: 74021
OpenPOWER on IntegriCloud