[llvm] r269262 - Appease MSVC with curly braces
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 18:38:09 PDT 2016
Author: sanjoy
Date: Wed May 11 20:38:08 2016
New Revision: 269262
URL: http://llvm.org/viewvc/llvm-project?rev=269262&view=rev
Log:
Appease MSVC with curly braces
Modified:
llvm/trunk/lib/IR/Verifier.cpp
Modified: llvm/trunk/lib/IR/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=269262&r1=269261&r2=269262&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Verifier.cpp (original)
+++ llvm/trunk/lib/IR/Verifier.cpp Wed May 11 20:38:08 2016
@@ -4413,11 +4413,12 @@ void Verifier::verifyDeoptimizeCallingCo
return;
const Function *First = DeoptimizeDeclarations[0];
- for (auto *F : makeArrayRef(DeoptimizeDeclarations).slice(1))
+ for (auto *F : makeArrayRef(DeoptimizeDeclarations).slice(1)) {
Assert(First->getCallingConv() == F->getCallingConv(),
"All llvm.experimental.deoptimize declarations must have the same "
"calling convention",
First, F);
+ }
}
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list