================ @@ -22,9 +22,10 @@ void DurationDivisionCheck::registerMatchers(MatchFinder *Finder) { traverse(TK_AsIs, implicitCastExpr( hasSourceExpression(ignoringParenCasts( - cxxOperatorCallExpr(hasOverloadedOperatorName("/"), - hasArgument(0, DurationExpr), - hasArgument(1, DurationExpr)) + cxxOperatorCallExpr( + hasOverloadedOperatorName("/"), + hasArgument(0, ignoringParenImpCasts(DurationExpr)), + hasArgument(1, ignoringParenImpCasts(DurationExpr))) ---------------- 5chmidti wrote:
I don't think we need to ignore implicit nodes here https://github.com/llvm/llvm-project/pull/89553 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits