[cfe-commits] [Request for approval] Parentheses around address non-type template argument

Abramo Bagnara abramo.bagnara at gmail.com
Sun Sep 12 05:00:08 PDT 2010


With reference to this message
here is a tentative patch that demotes the error into an extension
warning when in C++98/03 mode (no error if in C++0x mode) and also
modifies the diagnostic message to use the same wording used in core
issue 773, i.e., "address non-type template argument":

   address non-type template argument cannot be surrounded by parentheses

OK to commit?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: template_arg_extra_parens.patch
Type: text/x-patch
Size: 4020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100912/d71c3666/attachment.bin>

More information about the cfe-commits mailing list