================
@@ -20,7 +20,7 @@ namespace clang::tidy::abseil {
 void DurationConversionCastCheck::registerMatchers(MatchFinder *Finder) {
   auto CallMatcher = ignoringImpCasts(callExpr(
       callee(functionDecl(DurationConversionFunction()).bind("func_decl")),
-      hasArgument(0, expr().bind("arg"))));
+      hasArgument(0, ignoringParenImpCasts(expr().bind("arg")))));
----------------
5chmidti wrote:

This change is not needed, the check does not care if implicit nodes are 
ignored or not, so we don't need to do the extra work. (This will leave in 
place the user's parentheses around the argument, if they wrote any)

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