Skip to content

Commit 9763439

Browse files
c8efFznamznon
andauthored
Update clang/lib/AST/ExprConstant.cpp
Co-authored-by: Mariya Podchishchaeva <[email protected]>
1 parent a7d242b commit 9763439

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/AST/ExprConstant.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13538,9 +13538,8 @@ bool IntExprEvaluator::VisitBuiltinCallExpr(const CallExpr *E,
1353813538
for (unsigned EltNum = 1; EltNum < SourceLen; ++EltNum) {
1353913539
if (!CheckedIntArithmetic(
1354013540
Info, E, Reduced, Source.getVectorElt(EltNum).getInt(),
13541-
Reduced.getBitWidth() + 1, std::plus<APSInt>(), Reduced)) {
13541+
Reduced.getBitWidth() + 1, std::plus<APSInt>(), Reduced))
1354213542
return false;
13543-
}
1354413543
}
1354513544

1354613545
return Success(Reduced, E);

0 commit comments

Comments
 (0)