hanchenye-llvm-project/clang/test/CXX/temp
Douglas Gregor 0693defea9 When we run into a template parameter that should have a default
argument but doesn't (because previous template parameters had default
arguments), clear out all of the default arguments so that we maintain
the invariant that a template parameter has a default argument only if
subsequence template parameters also have default arguments.
Fixes a crash-on-invalid <rdar://problem/8913649>.

llvm-svn: 124345
2011-01-27 01:40:17 +00:00
..
temp.arg Implement C++0x [temp.arg.template]p3, which allows slightly fuzzy 2011-01-13 00:08:50 +00:00
temp.decls A member function template cannot be virtual. 2011-01-22 14:43:56 +00:00
temp.fct.spec Rvalue references for *this: tentative parsing and template argument deduction. 2011-01-26 16:50:54 +00:00
temp.names Reinstate r104117, Chandler Carruth's change that "[provides] a naming 2010-05-20 20:58:56 +00:00
temp.param When we run into a template parameter that should have a default 2011-01-27 01:40:17 +00:00
temp.res Implement C++ [temp.local]p4, which specifies how we eliminate 2010-04-12 20:54:26 +00:00
temp.spec When diagnosing C++ [temp.expl.spec]p3 in C++98/03 mode, downgrade the 2010-09-12 05:24:55 +00:00