[Verifier] Add braces to satisfy buildbots. NFC

Fix build break introduced by r256691.

llvm-svn: 256692
This commit is contained in:
Joseph Tremoulet 2016-01-02 15:50:34 +00:00
parent 1c9826c5fd
commit b1db5bc91e

View File

@ -3082,9 +3082,10 @@ void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) {
Assert(CatchSwitch.getNumHandlers() != 0,
"CatchSwitchInst cannot have empty handler list", &CatchSwitch);
for (BasicBlock *Handler : CatchSwitch.handlers())
for (BasicBlock *Handler : CatchSwitch.handlers()) {
Assert(isa<CatchPadInst>(Handler->getFirstNonPHI()),
"CatchSwitchInst handlers must be catchpads", &CatchSwitch, Handler);
}
visitTerminatorInst(CatchSwitch);
}