[cfe-commits] r68081 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Basic/TemplateKinds.h include/clang/Parse/Action.h lib/AST/ASTContext.cpp lib/AST/Type.cpp lib/Parse/MinimalAction.cpp lib/Parse/ParseDecl.cpp lib/Pars

Eli Friedman eli.friedman at gmail.com
Mon Mar 30 17:47:51 PDT 2009


On Mon, Mar 30, 2009 at 5:43 PM, Douglas Gregor <dgregor at apple.com> wrote:
> +    // Note: C++03 was more strict here, because it banned the use of
> +    // the "template" keyword prior to a template-name that was not a
> +    // dependent name. C++ DR468 relaxed this requirement (the
> +    // "template" keyword is now permitted). We follow the C++0x
> +    // rules, even in C++03 mode, retroactively applying the DR.

Maybe an extension warning would be appropriate here?

-Eli




More information about the cfe-commits mailing list