Skip to content

Commit 3de614b

Browse files
author
git apple-llvm automerger
committed
Merge commit 'eb83b551d3eb' from llvm.org/release/11.x into apple/stable/20200714
2 parents 2a73942 + eb83b55 commit 3de614b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/unittests/Support/FileCheckTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@ TEST_F(FileCheckTest, Binop) {
714714
Value = Binop.eval();
715715
expectUndefErrors({"FOO", "BAR"}, Value.takeError());
716716

717+
{
717718
// Literal + Variable has format of variable.
718719
ExprStr = bufferize(SM, "FOO+18");
719720
FooStr = ExprStr.take_front(3);
@@ -736,6 +737,7 @@ TEST_F(FileCheckTest, Binop) {
736737
ImplicitFormat = Binop.getImplicitFormat(SM);
737738
ASSERT_THAT_EXPECTED(ImplicitFormat, Succeeded());
738739
EXPECT_EQ(*ImplicitFormat, ExpressionFormat::Kind::Unsigned);
740+
}
739741

740742
// Variables with different implicit format conflict.
741743
ExprStr = bufferize(SM, "FOO+BAZ");

0 commit comments

Comments
 (0)