r224012 - Emit warning if define or undef reserved identifier or keyword.

Nico Weber thakis at chromium.org
Tue Dec 16 13:17:53 PST 2014


Ok, I moved -Wkeyword-macro into -pedantic in r224371. I also removed
-Wreserved-id-macro in the same revision, as it's not covered by the
standards bit you cited

On Mon, Dec 15, 2014 at 10:39 AM, Joerg Sonnenberger <
joerg at britannica.bec.de> wrote:
>
> On Mon, Dec 15, 2014 at 10:24:22AM -0800, Nico Weber wrote:
> > For the "final(a,b,c)" define: should we warn on that? It doesn't change
> > the meaning of the keyword "final" since that doesn't have parameters.
>
> For C++11 and newer: IMO yes. Otherwise, no.
>
> Joerg
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141216/26f034de/attachment.html>


More information about the cfe-commits mailing list