Douglas Gregor
548886518d
Refactor checking of the scope of explicit template specialization
...
declarations and explicit template instantiations, improving
diagnostics and making the code usable for function template
specializations (as well as class template specializations and partial
specializations).
llvm-svn: 83436
2009-10-07 00:13:32 +00:00
Argyrios Kyrtzidis
c7082933e6
Re-enable 'test/SemaTemplate/temp_class_spec_neg.cpp', after commenting out the cause of the crash.
...
llvm-svn: 76337
2009-07-18 21:18:10 +00:00
Daniel Dunbar
f1dc291655
Disable this test for now, it has been crashing on linux for weeks.
...
llvm-svn: 76328
2009-07-18 19:55:20 +00:00
Daniel Dunbar
619bf84ad4
The -disable-free hack didn't work...
...
llvm-svn: 75401
2009-07-11 23:05:12 +00:00
Daniel Dunbar
cfd6800c76
Add -disable-free to this test in the hopes if having it pass on Linux for now.
...
llvm-svn: 75390
2009-07-11 22:00:53 +00:00
Douglas Gregor
91772d1d76
When some template parameters of a class template partial
...
specialization cannot be deduced, produce a warning noting that the
affected class template partial specialization will never be used.
llvm-svn: 73274
2009-06-13 00:26:55 +00:00
Douglas Gregor
30b0197169
Finish implementing checking of class template partial specializations
...
llvm-svn: 73260
2009-06-12 22:21:45 +00:00
Douglas Gregor
09a3023e65
Diagnose C++ [temp.class.spec]p9b3, where a class template partial
...
specialization's arguments are identical to the implicit template
arguments of the primary template. Typically, this is meant to be a
declaration/definition of the primary template, so we give that
advice.
llvm-svn: 73259
2009-06-12 22:08:06 +00:00
Douglas Gregor
8cfd2ba76d
Diagnose the incorrect use of non-type template arguments for class
...
template partial specializations.
llvm-svn: 73254
2009-06-12 21:21:02 +00:00
Douglas Gregor
d52220513f
Verify that the template parameters of a class template partial
...
specialization do not have default arguments
(C++ [temp.class.spec]p10).
llvm-svn: 73245
2009-06-12 19:43:02 +00:00