]> granicus.if.org Git - clang/commit
Improve recovery in a wonky case where one tries to specialize a
authorDouglas Gregor <dgregor@apple.com>
Thu, 12 Nov 2009 00:46:20 +0000 (00:46 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 12 Nov 2009 00:46:20 +0000 (00:46 +0000)
commit8b13c08b1a181b290600814c765f9f199a74f414
tree59f604da0d01f6e82c7db0d96eb6c17c07937f12
parent1144c218f5d74f2270ebcd5ddd82dc472790eaef
Improve recovery in a wonky case where one tries to specialize a
template template parameter.

When building a template-id type, check whether the template-name
itself is dependent (even if the template arguments are not!) and
handle it as a template-id type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86913 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaTemplate.cpp
test/SemaTemplate/class-template-spec.cpp