summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/IListSentinelTest.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2016-09-30 19:52:27 +0000
committerJoerg Sonnenberger <joerg@bec.de>2016-09-30 19:52:27 +0000
commitece29ea90b4f49f8607e35ba54daed243931048f (patch)
tree4244144807883160226291a0f81ee1b84685339d /llvm/unittests/ADT/IListSentinelTest.cpp
parentf7b851fe841743889d54d05e5698348f22f406ad (diff)
downloadbcm5719-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.cpp2
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());
OpenPOWER on IntegriCloud