diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2016-09-30 19:52:27 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2016-09-30 19:52:27 +0000 |
commit | ece29ea90b4f49f8607e35ba54daed243931048f (patch) | |
tree | 4244144807883160226291a0f81ee1b84685339d /llvm/unittests/ADT/IListSentinelTest.cpp | |
parent | f7b851fe841743889d54d05e5698348f22f406ad (diff) | |
download | bcm5719-llvm-ece29ea90b4f49f8607e35ba54daed243931048f.tar.gz bcm5719-llvm-ece29ea90b4f49f8607e35ba54daed243931048f.zip |
Turn LLVM_ENABLE_ABI_BREAKING_CHECKS into a 0/1 definition like
LLVM_ENABLE_THREADS. Include llvm-config.h explicitly in headers to make
sure that the definition is available.
llvm-svn: 282907
Diffstat (limited to 'llvm/unittests/ADT/IListSentinelTest.cpp')
-rw-r--r-- | llvm/unittests/ADT/IListSentinelTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ADT/IListSentinelTest.cpp b/llvm/unittests/ADT/IListSentinelTest.cpp index a5e36560c12..bd60c909de7 100644 --- a/llvm/unittests/ADT/IListSentinelTest.cpp +++ b/llvm/unittests/ADT/IListSentinelTest.cpp @@ -37,7 +37,7 @@ TEST(IListSentinelTest, DefaultConstructor) { Sentinel S; EXPECT_EQ(&S, LocalAccess::getPrev(S)); EXPECT_EQ(&S, LocalAccess::getNext(S)); -#ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS +#if LLVM_ENABLE_ABI_BREAKING_CHECKS EXPECT_TRUE(S.isKnownSentinel()); #else EXPECT_FALSE(S.isKnownSentinel()); |