]> granicus.if.org Git - clang/commit
Diagnose the declaration of explicit specializations after an implicit
authorDouglas Gregor <dgregor@apple.com>
Mon, 12 Oct 2009 20:18:28 +0000 (20:18 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 12 Oct 2009 20:18:28 +0000 (20:18 +0000)
commitb3ae4fcd4314a9c1c46d41b200883599c32025b4
treea25ed84a04f126c2beae7a3b09dc855d7c37d196
parent2ebe7ebb1d6149a1845dd3169009f99b78e91bc9
Diagnose the declaration of explicit specializations after an implicit
instantiation has already been required. To do so, keep track of the
point of instantiation for anything that can be instantiated.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83890 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/AST/DeclCXX.h
include/clang/AST/DeclTemplate.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/Decl.cpp
lib/AST/DeclCXX.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaType.cpp
test/SemaTemplate/class-template-spec.cpp