[cfe-commits] r73269 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaTemplate.cpp test/SemaTemplate/variadic-class-template-1.cpp

Douglas Gregor dgregor at apple.com
Fri Jun 12 17:13:00 PDT 2009


On Jun 12, 2009, at 4:20 PM, Anders Carlsson wrote:

> Author: andersca
> Date: Fri Jun 12 18:20:15 2009
> New Revision: 73269
>
> URL: http://llvm.org/viewvc/llvm-project?rev=73269&view=rev
> Log:
> A parameter pack must always come last in a class template.

Looks good. When we get function templates, we'll probably re-use  
CheckTemplateParameterList and will have to turn off this diagnostic  
in that case (since parameter packs don't have to come last in a  
function template).

	- Doug



More information about the cfe-commits mailing list