Skip to content

Commit ac30e63

Browse files
committed
clang formatted
1 parent f1b6cdf commit ac30e63

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

clang/lib/AST/ByteCode/InterpBuiltin.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3204,7 +3204,13 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call,
32043204
case Builtin::BI__builtin_ffs:
32053205
case Builtin::BI__builtin_ffsl:
32063206
case Builtin::BI__builtin_ffsll:
3207-
return interp__builtin_elementwise_int_unaryop(S, OpPC, Call, [](const APSInt& Val){ return APInt(Val.getBitWidth(), (Val.countTrailingZeros()==Val.getBitWidth()) ? 0u : (Val.countTrailingZeros()+1u)); });
3207+
return interp__builtin_elementwise_int_unaryop(
3208+
S, OpPC, Call, [](const APSInt &Val) {
3209+
return APInt(Val.getBitWidth(),
3210+
(Val.countTrailingZeros() == Val.getBitWidth())
3211+
? 0u
3212+
: (Val.countTrailingZeros() + 1u));
3213+
});
32083214

32093215
case Builtin::BIaddressof:
32103216
case Builtin::BI__addressof:

0 commit comments

Comments
 (0)