diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-01-23 21:41:13 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-01-23 21:41:13 +0000 |
commit | 014d9491ffd349d5488710564333deb99639dc16 (patch) | |
tree | ecdc50365a16123559f05f294b69163146d0d401 /llvm/lib/Fuzzer/FuzzerTracePC.cpp | |
parent | 5363be7a9cd4a6d86973eabb593456fd25cb635b (diff) | |
download | bcm5719-llvm-014d9491ffd349d5488710564333deb99639dc16.tar.gz bcm5719-llvm-014d9491ffd349d5488710564333deb99639dc16.zip |
Manually force the use of __decltype in C++03 with Clang 3.4.
<string> uses `decltype` in a way incompatible with `__typeof__`.
This is problematic when compiling <string> with Clang 3.4 because
even though it provides `__decltype` libc++ still used `__typeof__`
because clang 3.4 doesn't provide __is_identifier which libc++
uses to detect __decltype.
This patch manually detects Clang 3.4 and properly configures
for it.
llvm-svn: 292833
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerTracePC.cpp')
0 files changed, 0 insertions, 0 deletions