[cfe-commits] r161767 - in /cfe/trunk: lib/Lex/PPMacroExpansion.cpp test/Sema/inline.c test/Sema/unused-expr.c
jahanian
fjahanian at apple.com
Mon Aug 13 14:16:42 PDT 2012
On Aug 13, 2012, at 1:24 PM, Richard Smith wrote:
>
> Rather than duplicating this, how about...
>
> - if (Tok.is(tok::identifier)) {
> + if (Tok.is(tok::identifier) || Tok.is(tok::kw_const)) {
>
>
> Are these test changes attempting to verify that __has_attribute(const) works and is expanded to 1? If so, these tests should be in test/Preprocessor/has_attribute.c.
In r161786.
- fariborz
More information about the cfe-commits
mailing list