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

Joerg Sonnenberger joerg at britannica.bec.de
Mon Dec 15 10:39:48 PST 2014


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



More information about the cfe-commits mailing list