]> granicus.if.org Git - clang/commit
PR16519, PR18009: When checking a partial specialization for uses of its own
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 9 Feb 2014 00:54:43 +0000 (00:54 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 9 Feb 2014 00:54:43 +0000 (00:54 +0000)
commitbe9778d3046b54d4b399b3f4523b12c3286da474
treef0c4fccd410ef1c9c0dfd45b3823a5cbae40b3b5
parentc174fe5f125f749eaf5ea7cc41f3cbf049bc5ada
PR16519, PR18009: When checking a partial specialization for uses of its own
template parameters, don't look for parameters of outer templates. If a problem
is found in a default template argument, point the diagnostic at the partial
specialization (with a note pointing at the default argument) instead of
pointing it at the default argument and leaving it unclear which partial
specialization os problematic.

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