On Oct 11, 2011, at 10:59 AM, Richard Smith wrote:

> Hi,
> 
> The attached patch adds a -Wc++0x-compat warning if a C++11 keyword is used
> when compiling in C++98 mode. The warning is provided only for the first usage
> of each keyword. It has false negatives if the keyword comes from the body of
> a macro, but covers the majority of cases. I'm not very familiar with the
> lexer, so a review would be very much appreciated.


LGTM.

        - Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to