Douglas Gregor
cbbf3e3b4a
It's okay to reference an enum in a template definition, even though
...
it's ill-formed to form an enum template. Fixes <rdar://problem/7933063>.
llvm-svn: 102926
2010-05-03 17:48:54 +00:00
Douglas Gregor
f19ac0ede9
Downgrade the "declaration does not declare anything" error to a
...
warning. It's not harmful to have such pointless declarations, and GCC
does not diagnose this issue consistently.
llvm-svn: 100814
2010-04-08 21:33:23 +00:00
Douglas Gregor
dc70c3abc0
Diagnose the declaration of enum templates. Also, be a bit more
...
careful about value-dependent enumerators. Fixes PR5786.
llvm-svn: 97570
2010-03-02 17:53:14 +00:00
Daniel Dunbar
8fbe78f6fc
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).
llvm-svn: 91446
2009-12-15 20:14:24 +00:00
Douglas Gregor
b52fabb2a8
Start propagating template parameter lists to the right places to
...
handle function templates. There's no actual code for function
templates yet, but at least we complain about typedef templates.
llvm-svn: 74021
2009-06-23 23:11:28 +00:00