[Verifier] Add braces to satisfy buildbots. NFC
authorJoseph Tremoulet <jotrem@microsoft.com>
Sat, 2 Jan 2016 15:50:34 +0000 (15:50 +0000)
committerJoseph Tremoulet <jotrem@microsoft.com>
Sat, 2 Jan 2016 15:50:34 +0000 (15:50 +0000)
Fix build break introduced by r256691.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256692 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/Verifier.cpp

index 20ae82905a8006be4b84e5fa3301da976e34cdc4..e469382a66004b1de6837c1d05f344d3af010540 100644 (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);
 }