We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 334a576 commit d8268afCopy full SHA for d8268af
clang-tools-extra/clang-tidy/modernize/UseIntegerSignComparisonCheck.cpp
@@ -114,7 +114,7 @@ void UseIntegerSignComparisonCheck::check(
114
assert(SignedCastExpression);
115
116
// Ignore the match if we know that the signed int value is not negative.
117
- Expr::EvalResult EVResult;
+ Expr::EvalResult EVResult = Expr::EvalResult();
118
if (!SignedCastExpression->isValueDependent() &&
119
SignedCastExpression->getSubExpr()->EvaluateAsInt(EVResult,
120
*Result.Context)) {
0 commit comments