Skip to content

Commit c90b74a

Browse files
committed
fix formatting according to LLVM coding-style
1 parent e3a8c33 commit c90b74a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

clang-tools-extra/clang-tidy/bugprone/NarrowingConversionsCheck.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,11 +562,10 @@ bool NarrowingConversionsCheck::handleConditionalOperator(
562562

563563
void NarrowingConversionsCheck::handleConditionalOperatorArgument(
564564
const ASTContext &Context, const Expr &Lhs, const Expr *Arg) {
565-
if (const auto *ICE = llvm::dyn_cast<ImplicitCastExpr>(Arg)) {
566-
if (!Arg->getIntegerConstantExpr(Context)) {
565+
if (const auto *ICE = llvm::dyn_cast<ImplicitCastExpr>(Arg))
566+
if (!Arg->getIntegerConstantExpr(Context))
567567
Arg = ICE->getSubExpr();
568-
}
569-
}
568+
570569
handleBinaryOperator(Context, Arg->getExprLoc(), Lhs, *Arg);
571570
}
572571

0 commit comments

Comments
 (0)