From: Joseph Tremoulet <jotrem@microsoft.com>
Date: Sat, 2 Jan 2016 15:50:34 +0000 (+0000)
Subject: [Verifier] Add braces to satisfy buildbots. NFC
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a035c6c7c209b6721290122d0dc4869527c3e40d;p=llvm

[Verifier] Add braces to satisfy buildbots. NFC

Fix build break introduced by r256691.



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

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<CatchPadInst>(Handler->getFirstNonPHI()),
            "CatchSwitchInst handlers must be catchpads", &CatchSwitch, Handler);
+  }
 
   visitTerminatorInst(CatchSwitch);
 }