forked from OSchip/llvm-project
Add braces to silence a gcc 9.4 -Wdangling-else warning [nfc]
This commit is contained in:
parent
4a3e46115a
commit
cdf17953ff
|
@ -4776,9 +4776,10 @@ TEST_F(OpenMPIRBuilderTest, CreateTask) {
|
||||||
|
|
||||||
// Verify that the argument data has been copied
|
// Verify that the argument data has been copied
|
||||||
for (User *in : TaskAllocCall->users()) {
|
for (User *in : TaskAllocCall->users()) {
|
||||||
if (MemCpyInst *memCpyInst = dyn_cast<MemCpyInst>(in))
|
if (MemCpyInst *memCpyInst = dyn_cast<MemCpyInst>(in)) {
|
||||||
EXPECT_EQ(memCpyInst->getDest(), TaskAllocCall);
|
EXPECT_EQ(memCpyInst->getDest(), TaskAllocCall);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(OpenMPIRBuilderTest, CreateTaskNoArgs) {
|
TEST_F(OpenMPIRBuilderTest, CreateTaskNoArgs) {
|
||||||
|
|
Loading…
Reference in New Issue