================
@@ -112,14 +115,17 @@ void UseIntegerSignComparisonCheck::registerPPCallbacks(
void UseIntegerSignComparisonCheck::check(
const MatchFinder::MatchResult &Result) {
const auto *SignedCastExpression =
- Result.Nodes.getNodeAs<ImplicitCastExpr>("sIntCastExpression");
- assert(SignedCastExpression);
+ Result.Nodes.getNodeAs<CastExpr>("sIntCastExpression");
+ const auto *UnsignedCastExpression =
+ Result.Nodes.getNodeAs<CastExpr>("uIntCastExpression");
+ const auto *CastExpression =
----------------
vbvictor wrote:
```suggestion
const CastExpr *CastExpression =
```
https://github.com/llvm/llvm-project/pull/144240
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits