From b1db5bc91ece642da3d2699a1cc262777606cb7f Mon Sep 17 00:00:00 2001 From: Joseph Tremoulet Date: Sat, 2 Jan 2016 15:50:34 +0000 Subject: [PATCH] [Verifier] Add braces to satisfy buildbots. NFC Fix build break introduced by r256691. llvm-svn: 256692 --- lib/IR/Verifier.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/IR/Verifier.cpp b/lib/IR/Verifier.cpp index 20ae82905a8..e469382a660 100644 --- a/lib/IR/Verifier.cpp +++ b/lib/IR/Verifier.cpp @@ -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(Handler->getFirstNonPHI()), "CatchSwitchInst handlers must be catchpads", &CatchSwitch, Handler); + } visitTerminatorInst(CatchSwitch); }