================ @@ -75,9 +76,10 @@ void UpgradeDurationConversionsCheck::registerMatchers(MatchFinder *Finder) { hasParent(functionTemplateDecl()), unless(hasTemplateArgument(0, refersToType(builtinType()))), hasName("::absl::operator*"))), - argumentCountIs(2), hasArgument(0, expr().bind("arg")), - hasArgument(1, expr(hasType( - cxxRecordDecl(hasName("::absl::Duration")))))) + argumentCountIs(2), + hasArgument(0, ignoringParenImpCasts(expr().bind("arg"))), + hasArgument(1, ignoringParenImpCasts(expr(hasType(cxxRecordDecl( + hasName("::absl::Duration"))))))) ---------------- 5chmidti wrote:
Same as the first comment in this file 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