diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-08 18:03:55 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-08 18:03:55 +0000 |
commit | 17ddaa677eb84ecc6d91f50f8692bc43513d3aab (patch) | |
tree | 8d4923a5c6ec53bfbb5f61d0d524e73ab2577abc /clang/lib/Basic/IdentifierTable.cpp | |
parent | 8462791237f56e94f2603f605ba357ac810d4a92 (diff) | |
download | bcm5719-llvm-17ddaa677eb84ecc6d91f50f8692bc43513d3aab.tar.gz bcm5719-llvm-17ddaa677eb84ecc6d91f50f8692bc43513d3aab.zip |
More fixes to builtin preprocessor defines.
- Add -static-define option driver can use when __STATIC__ should be
defined (instead of __DYNAMIC__).
- Don't set __OPTIMIZE_SIZE__ on Os, __OPTIMIZE_SIZE__ is tied to Oz.
- Set __NO_INLINE__ following GCC 4.2.
- Set __GNU_GNU_INLINE__ or __GNU_STDC_INLINE__ following GCC 4.2.
- Set __EXCEPTIONS for Objective-C NonFragile ABI.
- Set __STRICT_ANSI__ for standard conforming modes.
- I added a clang style test case in utils for this, but its not
particularly portable and I don't think it belongs in the test
suite.
llvm-svn: 68621
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions