From a035c6c7c209b6721290122d0dc4869527c3e40d 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256692 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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); } -- 2.34.1