================ @@ -61,23 +67,26 @@ void PosixReturnCheck::check(const MatchFinder::MatchResult &Result) { if (const auto *LessThanZeroOp = Result.Nodes.getNodeAs<BinaryOperator>("ltzop")) { SourceLocation OperatorLoc = LessThanZeroOp->getOperatorLoc(); + char NewBinOp = LessThanZeroOp->getOpcode() == BinaryOperator::Opcode::BO_LT ---------------- EugeneZelenko wrote:
```suggestion const char NewBinOp = LessThanZeroOp->getOpcode() == BinaryOperator::Opcode::BO_LT ``` https://github.com/llvm/llvm-project/pull/109302 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits