summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/warn-disabled-macro-expansion.c
Commit message (Collapse)AuthorAgeFilesLines
* Reinstate r173952, this time limiting it to exactly the formDouglas Gregor2013-01-301-1/+5
| | | | | | | | #define X X for which there is no point warning, ever. llvm-svn: 173991
* Revert "[preprocessor] Don't warn about "disabled expansion of recursive macro""Argyrios Kyrtzidis2013-01-301-1/+1
| | | | | | This reverts commit r173952 llvm-svn: 173970
* [preprocessor] Don't warn about "disabled expansion of recursive macro"Argyrios Kyrtzidis2013-01-301-1/+1
| | | | | | | | | for "#define X X". This is a pattern that, for example, stdbool.h uses. rdar://12435773 llvm-svn: 173952
* Don't warn about disabled macro expansion if we see the name of a ↵Richard Smith2012-12-121-0/+4
| | | | | | function-like macro which isn't immediately followed by '('. FreeBSD's stdio.h #defines foo(x) to (foo)(x), apparently. llvm-svn: 169960
* Added testcases for -Wdisabled-macro-expansion.Abramo Bagnara2012-01-031-0/+27
llvm-svn: 147473
OpenPOWER on IntegriCloud