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,8 +4776,9 @@ TEST_F(OpenMPIRBuilderTest, CreateTask) {
|
|||
|
||||
// Verify that the argument data has been copied
|
||||
for (User *in : TaskAllocCall->users()) {
|
||||
if (MemCpyInst *memCpyInst = dyn_cast<MemCpyInst>(in))
|
||||
if (MemCpyInst *memCpyInst = dyn_cast<MemCpyInst>(in)) {
|
||||
EXPECT_EQ(memCpyInst->getDest(), TaskAllocCall);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue