diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2022-07-04 03:27:58 +0200 |
---|---|---|
committer | Nikolas Klauser <nikolasklauser@berlin.de> | 2022-07-06 13:33:50 +0200 |
commit | 2040fde9097ae7753531c9c58332a933cbaaa43c (patch) | |
tree | cac5c969f13e553c46124f2a4b8cfb49250bdd88 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 30b6c51f515e633d6a798ddb82d4591d597670e9 (diff) | |
download | llvm-2040fde9097ae7753531c9c58332a933cbaaa43c.zip llvm-2040fde9097ae7753531c9c58332a933cbaaa43c.tar.gz llvm-2040fde9097ae7753531c9c58332a933cbaaa43c.tar.bz2 |
[libc++] Prefer __has_builtin for detecting compiler-provided type_traits
Both clang and GCC support using `__has_builtin` for detecting compiler-provided type_traits. Use it instead of `__has_keyword` or `__has_feature` to remove special-casing for GCC-provided builtins
Reviewed By: ldionne, #libc
Spies: libcxx-commits
Differential Revision: https://reviews.llvm.org/D129056
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions