diff options
author | Brad King <brad.king@kitware.com> | 2019-07-15 15:15:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-15 15:23:34 (GMT) |
commit | ae69145cf7f10d4da8d18d1efbdefcfa0f7cc003 (patch) | |
tree | 0273bcb861e148e0bce0d74a7ada674ee87e9be7 /test | |
parent | 066090f923fb6ceaf8399357275795657fff97df (diff) | |
download | CastXML-ae69145cf7f10d4da8d18d1efbdefcfa0f7cc003.zip CastXML-ae69145cf7f10d4da8d18d1efbdefcfa0f7cc003.tar.gz CastXML-ae69145cf7f10d4da8d18d1efbdefcfa0f7cc003.tar.bz2 |
Detect: Drop detected predefined macros conflicting with Clang's
Extend the filtering added by commit 1cf66488 (Detect: Drop detected
predefined macros starting in '__has', 2015-02-04, v0.2.0~199) to cover
more Clang builtin macros. In particular, cover builtins on ppc64.
Diffstat (limited to 'test')
-rw-r--r-- | test/cc-gnu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cc-gnu.c b/test/cc-gnu.c index 750efea..e74ccf7 100644 --- a/test/cc-gnu.c +++ b/test/cc-gnu.c @@ -31,6 +31,10 @@ int main(int argc, const char* argv[]) "#define __has_include(x) x\n" "#define __has_include_next(x) x\n" "#define __GNUC_MINOR__ 1\n" + "#define __bool __bool\n" + "#define __builtin_vsx_foo __builtin_vsx_foo\n" + "#define __pixel __pixel\n" + "#define __vector __vector\n" "#define __has_last(x) x" ); fprintf(stderr, |