[cfe-commits] [PATCH] Improve the diagnostic for forgotten template arguments
Jeffrey Yasskin
jyasskin at google.com
Sun Apr 4 02:10:25 PDT 2010
>From the test:
namespace ns {
template<typename T> class B {}; // expected-note{{template is declared here}}
}
A<ns::B> a8; // expected-error{{class template-name ns::B requires
template arguments to produce a type}}
Clang used to just complain that the argument wasn't a type, which
confused users.
Please review at http://codereview.appspot.com/869042 or
http://codereview.appspot.com/download/issue869042_2001.diff.
Thanks,
Jeffrey
More information about the cfe-commits
mailing list