diff options
author | Joseph Tremoulet <jotrem@microsoft.com> | 2016-01-02 15:50:34 +0000 |
---|---|---|
committer | Joseph Tremoulet <jotrem@microsoft.com> | 2016-01-02 15:50:34 +0000 |
commit | d425dd13ad8d82802e40d5a05be15f7f847d45cf (patch) | |
tree | c7503df95fe605d10b1c89b5ab1862bd5e544182 /llvm/lib/IR/Verifier.cpp | |
parent | 131a462690f0cfcd8c01858ab9647128ccab9111 (diff) | |
download | bcm5719-llvm-d425dd13ad8d82802e40d5a05be15f7f847d45cf.tar.gz bcm5719-llvm-d425dd13ad8d82802e40d5a05be15f7f847d45cf.zip |
[Verifier] Add braces to satisfy buildbots. NFC
Fix build break introduced by r256691.
llvm-svn: 256692
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index 20ae82905a8..e469382a660 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/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); } |