]> granicus.if.org Git - clang/commit
Reject 'template<typename...Ts> void f(Ts ...(x));'. Add a special-case
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 29 Mar 2012 01:16:42 +0000 (01:16 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 29 Mar 2012 01:16:42 +0000 (01:16 +0000)
commit9988f28fe7a6c19239a7426fea1ab23f9a8aac9c
tree32bd3325d1d69326b1e893d571b931c47da7d2ed
parent0fd4a6869e9a12999af24b8df7a0275a0e6c18be
Reject 'template<typename...Ts> void f(Ts ...(x));'. Add a special-case
diagnostic and a fix-it to explain to the user where the ellipsis is
supposed to go.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153622 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseDecl.cpp
test/FixIt/fixit-cxx0x.cpp