[cfe-commits] r121724 - in /cfe/trunk: include/clang/AST/ include/clang/Basic/ include/clang/Sema/ lib/AST/ lib/Sema/ lib/Serialization/ test/CXX/temp/temp.decls/temp.variadic/

Sebastian Redl sebastian.redl at getdesigned.at
Tue Dec 14 03:22:22 PST 2010


On 13.12.2010 23:49, Douglas Gregor wrote:
> Author: dgregor
> Date: Mon Dec 13 16:49:22 2010
> New Revision: 121724
>
> URL: http://llvm.org/viewvc/llvm-project?rev=121724&view=rev
> Log:
> Variadic templates: extend Type, NestedNameSpecifier, TemplateName,
> and TemplateArgument with an operation that determines whether there
> are any unexpanded parameter packs within that construct. Use this
> information to diagnose the appearance of the names of parameter packs
> that have not been expanded (C++ [temp.variadic]p5). Since this
> property is checked often (every declaration, ever expression
> statement, etc.), we extend Type and Expr with a bit storing the
> result of this computation, rather than walking the AST each time to
> determine whether any unexpanded parameter packs occur.

And so it starts. :-)

Sebastian



More information about the cfe-commits mailing list