]> granicus.if.org Git - clang/commit
Detect attempts to provide a specialization of a function within a
authorDouglas Gregor <dgregor@apple.com>
Tue, 8 Mar 2011 02:04:14 +0000 (02:04 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 8 Mar 2011 02:04:14 +0000 (02:04 +0000)
commitdb93fdee6c5a24e86ee5ed8c1d3b597e17d5893b
treeb89c381940c443374d93b350ce2b3975fb410367
parente224ba7e3e604113aa160c379293bcb6425e8f36
Detect attempts to provide a specialization of a function within a
dependent scope and produce an error (rather than crashing). Fixes PR8979.

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