]> granicus.if.org Git - clang/commit
Diagnose the condition in C++ [temp.expl.spec]p16 that prohibits
authorDouglas Gregor <dgregor@apple.com>
Mon, 6 Jun 2011 15:22:55 +0000 (15:22 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 6 Jun 2011 15:22:55 +0000 (15:22 +0000)
commit89b9f10cca9e2812b3e7943d3150fe6c9028bbe4
treefa1a0634cd9697f17868e967702f3f39b3a0500d
parent7299a4ef4d75901012e006f463d789447976a21b
Diagnose the condition in C++ [temp.expl.spec]p16 that prohibits
specializing a member of an unspecialized template, and recover from
such errors without crashing. Fixes PR10024 / <rdar://problem/9509761>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132677 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplate.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p16.cpp