summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/feature_tests.c
Commit message (Collapse)AuthorAgeFilesLines
* Sink the BuiltinInfo object from ASTContext into theChris Lattner2009-06-141-1/+2
| | | | | | | | preprocessor and initialize it early in clang-cc. This ensures that __has_builtin works in all modes, not just when ASTContext is around. llvm-svn: 73319
* implement and document a new __has_feature and __has_builtin magic Chris Lattner2009-06-131-0/+30
builtin preprocessor macro. This appears to work with two caveats: 1) builtins are registered in -E mode, and 2) target-specific builtins are unconditionally registered even if they aren't supported by the target (e.g. SSE4 builtin when only SSE1 is enabled). llvm-svn: 73289
OpenPOWER on IntegriCloud