Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sink the BuiltinInfo object from ASTContext into the | Chris Lattner | 2009-06-14 | 1 | -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 Lattner | 2009-06-13 | 1 | -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 |