From 5c77177cdf605c700df07131cbda242bb8fa1ae3 Mon Sep 17 00:00:00 2001 From: Harry Chiang Date: Wed, 30 Aug 2023 01:01:12 +0800 Subject: [PATCH] Clang-format Signed-off-by: Harry Chiang --- lib/validator/formchecker.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/validator/formchecker.cpp b/lib/validator/formchecker.cpp index 7f16b3348c68..61e68834420a 100644 --- a/lib/validator/formchecker.cpp +++ b/lib/validator/formchecker.cpp @@ -351,11 +351,11 @@ Expect FormChecker::checkInstr(const AST::Instruction &Instr) { auto [TryCnt, CatchCnt] = countCtrlStackType(*D + 1); auto &NonConstInstr = const_cast(Instr); if (*D + 1 < CtrlStack.size()) { - NonConstInstr.setTryBlockVSize(static_cast(Locals.size() + - CtrlStack[*D + 1].Height)); + NonConstInstr.setTryBlockVSize( + static_cast(Locals.size() + CtrlStack[*D + 1].Height)); } else { - NonConstInstr.setTryBlockVSize(static_cast(Locals.size() + - ValStack.size())); + NonConstInstr.setTryBlockVSize( + static_cast(Locals.size() + ValStack.size())); } // The try block itself may push an additional handler to stack NonConstInstr.setTryBlockHOffset(TryCnt);