aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-07-08 19:06:25 +0000
committerReid Kleckner <reid@kleckner.net>2013-07-08 19:06:25 +0000
commit3f6688eb931129a6d7e8d835cca31b111bde5050 (patch)
treefa03ea6b757646d057bc078a14201a929ca57ba2 /lldb/scripts/Python
parent271426e6abe83a87644e7aee721e303ae4abdaf9 (diff)
downloadllvm-3f6688eb931129a6d7e8d835cca31b111bde5050.zip
llvm-3f6688eb931129a6d7e8d835cca31b111bde5050.tar.gz
llvm-3f6688eb931129a6d7e8d835cca31b111bde5050.tar.bz2
Reland "Use Clang's __has_* macros in Compiler.h ..." with fixes
This reverts r185841 and relands r185831 without using __has_attribute(const). Clang prior to r161767 (between 3.1 and 3.2) does not accept __has_attribute(const) due to rdar://10253857. __const and __const__ are both keyword aliases of const, so they don't work either. I was able to repro the buildbot failure using clang 3.1 and this patch fixes it. Various important versions of XCode use clang 2.9-ish, so this workaround is necessary. llvm-svn: 185850
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions