diff options
author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-05-06 13:41:54 +0000 |
---|---|---|
committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-05-06 13:41:54 +0000 |
commit | 799d96ec395fc617fedea40676da32f532d1534b (patch) | |
tree | 42995b67535500b53409f46470efb20373feb4f7 /llvm/unittests/IR/ConstantRangeTest.cpp | |
parent | 70afe4f7e1f72607881d8ff4719149a0dbc94120 (diff) | |
download | bcm5719-llvm-799d96ec395fc617fedea40676da32f532d1534b.tar.gz bcm5719-llvm-799d96ec395fc617fedea40676da32f532d1534b.zip |
Fix compilation warnings when compiling with GCC 7.3
Differential Revision: https://reviews.llvm.org/D61046
llvm-svn: 360044
Diffstat (limited to 'llvm/unittests/IR/ConstantRangeTest.cpp')
-rw-r--r-- | llvm/unittests/IR/ConstantRangeTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/IR/ConstantRangeTest.cpp b/llvm/unittests/IR/ConstantRangeTest.cpp index a1c66f33abb..b6a794f0918 100644 --- a/llvm/unittests/IR/ConstantRangeTest.cpp +++ b/llvm/unittests/IR/ConstantRangeTest.cpp @@ -459,6 +459,7 @@ void testBinarySetOperationExhaustive(Fn1 OpFn, Fn2 InResultFn) { } } + (void)HaveInterrupt3; assert(!HaveInterrupt3 && "Should have at most three ranges"); ConstantRange SmallestCR = OpFn(CR1, CR2, ConstantRange::Smallest); |