]> granicus.if.org Git - clang/commit
Improve diagnostics when parsing something like
authorDouglas Gregor <dgregor@apple.com>
Fri, 30 Oct 2009 21:46:58 +0000 (21:46 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 30 Oct 2009 21:46:58 +0000 (21:46 +0000)
commit2cc782f7932f1069d9fa8bb5c518165802aad68d
treeac7383a8951dc16693c79ca17d2f18945eafff75
parente8c01bdb56549adcecd71ce39160eea54b2c51c8
Improve diagnostics when parsing something like

  template<> struct foo<int> { ... };

where "foo" does not refer to a template. Fixes PR3844.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85616 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseDeclCXX.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p3.cpp
test/CXX/temp/temp.spec/temp.explicit/p5.cpp
test/Parser/cxx-template-decl.cpp