================ @@ -90,8 +91,9 @@ RewriteRuleWith<std::string> StringviewNullptrCheckImpl() { auto HandleTemporaryCXXTemporaryObjectExprAndCompoundLiteralExpr = makeRule( cxxTemporaryObjectExpr(cxxConstructExpr( HasBasicStringViewType, argumentCountIs(1), - hasAnyArgument(/* `hasArgument` would skip over parens */ anyOf( - NullLiteral, NullInitList, EmptyInitList)), + hasAnyArgument( + /* `hasArgument` would skip over parens */ ignoringParenImpCasts( + anyOf(NullLiteral, NullInitList, EmptyInitList))), ---------------- 5chmidti wrote:
Same as above https://github.com/llvm/llvm-project/pull/89509 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits