summaryrefslogtreecommitdiffstats
path: root/clang/test/Headers/stdbool.cpp
Commit message (Collapse)AuthorAgeFilesLines
* In stdbool.h, define bool, false, true only in gnu++98Stephan Bergmann2017-12-081-5/+11
| | | | | | | | | | GCC has meanwhile corrected that with the similar <https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=216679> "C++11 explicitly forbids macros for bool, true and false." Differential Revision: https://reviews.llvm.org/D40167 llvm-svn: 320135
* Reinstate r173952, this time limiting it to exactly the formDouglas Gregor2013-01-301-0/+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-5/+0
| | | | | | This reverts commit r173952 llvm-svn: 173970
* [preprocessor] Don't warn about "disabled expansion of recursive macro"Argyrios Kyrtzidis2013-01-301-0/+5
| | | | | | | | | for "#define X X". This is a pattern that, for example, stdbool.h uses. rdar://12435773 llvm-svn: 173952
* Define _Bool, bool, true, and false macros in <stdbool.h> when we'reDouglas Gregor2010-09-291-0/+14
in a GNU-compatible C++ dialect. Fixes <rdar://problem/8477819>. llvm-svn: 115028
OpenPOWER on IntegriCloud