================
@@ -49,7 +49,8 @@ void 
UpgradeDurationConversionsCheck::registerMatchers(MatchFinder *Finder) {
               hasParent(functionTemplateDecl()),
               unless(hasTemplateArgument(0, refersToType(builtinType()))),
               hasAnyName("operator*=", "operator/="))),
-          argumentCountIs(1), hasArgument(0, expr().bind("arg")))
+          argumentCountIs(1),
+          hasArgument(0, ignoringParenImpCasts(expr().bind("arg"))))
----------------
5chmidti wrote:

This change is not needed, the check does not if implicit nodes are ignored or 
not, so we don't need to do the extra work.

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

Reply via email to