forked from OSchip/llvm-project
fix some Wundef warnings in public headers
Differential Revision: https://reviews.llvm.org/D91094
This commit is contained in:
parent
4bc88a0e9a
commit
8f1e0dcbb0
|
@ -36,6 +36,8 @@
|
|||
// configure time.
|
||||
#if !defined(NDEBUG) || LLVM_FORCE_ENABLE_STATS
|
||||
#define LLVM_ENABLE_STATS 1
|
||||
#else
|
||||
#define LLVM_ENABLE_STATS 0
|
||||
#endif
|
||||
|
||||
namespace llvm {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
/* Allow selectively disabling link-time mismatch checking so that header-only
|
||||
ADT content from LLVM can be used without linking libSupport. */
|
||||
#if !LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
|
||||
#if !defined(LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING) || !LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
|
||||
|
||||
// ABI_BREAKING_CHECKS protection: provides link-time failure when clients build
|
||||
// mismatch with LLVM
|
||||
|
|
Loading…
Reference in New Issue