Skip to content

Commit bd511b5

Browse files
committed
remove braces from the 'for' loop
1 parent a44a340 commit bd511b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3011,10 +3011,9 @@ void AddressSanitizer::markCatchParametersAsUninteresting(Function &F) {
30113011
if (auto *CatchPad = dyn_cast<CatchPadInst>(&I)) {
30123012
// Mark the parameters to a catch-block as uninteresting to avoid
30133013
// instrumenting them
3014-
for (Value *Operand : CatchPad->arg_operands()) {
3014+
for (Value *Operand : CatchPad->arg_operands())
30153015
if (auto *AI = dyn_cast<AllocaInst>(Operand))
30163016
ProcessedAllocas[AI] = false;
3017-
}
30183017
}
30193018
}
30203019
}

0 commit comments

Comments
 (0)