]> granicus.if.org Git - clang/commit
Provide a special diagnostic for attempts to explicitly specialize
authorDouglas Gregor <dgregor@apple.com>
Tue, 13 Jul 2010 00:10:04 +0000 (00:10 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 13 Jul 2010 00:10:04 +0000 (00:10 +0000)
commit669eed8d676458c701f45f7fd686f01de2dee53b
treef1207aca112b5472c4f646fd2c9c7ae99403ab68
parentdd41ed59cf7aefabd40bf766d8fcc7ebd759c8e5
Provide a special diagnostic for attempts to explicitly specialize
class templates within class scope (which is ill-formed), and recover
by dropping the explicit specialization entirely. Fixes the infinite
loop in PR7622.

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