summaryrefslogtreecommitdiff
path: root/test/Preprocessor/has_include.c
Commit message (Collapse)AuthorAge
* PR15539: Record "evaluating if/elif condition" flag in the right placeDavid Blaikie2013-03-18
| | | | | | | The previous implementation missed the case where the elif condition was evaluated from the context of an #ifdef that was false causing PR15539. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177345 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test to make sure __has_include works from inside a macro.Argyrios Kyrtzidis2013-02-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176152 91177308-0d34-0410-b5e6-96231b3b80d8
* No longer crashing with an assert when __has_include or __has_include_next ↵Aaron Ballman2013-01-16
| | | | | | is used outside of a preprocessor directive. This fixes PR14837. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172639 91177308-0d34-0410-b5e6-96231b3b80d8
* Make __has_include a bit more resilient in the presence of macros. ↵Eli Friedman2013-01-09
| | | | | | <rdar://problem/12748859>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171939 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for PR13334. This prevents crashes that result from badly formedRichard Trieu2012-10-22
| | | | | | | expressions involving __has_include git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166438 91177308-0d34-0410-b5e6-96231b3b80d8
* Start testing some commented-out cases of badly-formed __has_include.Jordan Rose2012-07-11
| | | | | | | Filed PR13334 for the cases that cause the compiler to crash, and PR13335 for the cases where we should be recovering more gracefully. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160070 91177308-0d34-0410-b5e6-96231b3b80d8
* This really seems like a boring set of fixes to our tests to make them moreChandler Carruth2010-11-16
| | | | | | | | independent of the underlying system. Let me know if any of these are too aggressive. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119345 91177308-0d34-0410-b5e6-96231b3b80d8
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-15
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
* Added __has_include and __has_include_next.John Thompson2009-11-02
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85834 91177308-0d34-0410-b5e6-96231b3b80d8