[clang] [clang-tools-extra] [llvm] Add ``ignoringParenImpCasts`` in arguments of hasArgument (PR #89553)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Wed May 1 12:23:42 PDT 2024
================
@@ -74,7 +74,7 @@ RewriteRuleWith<std::string> StringviewNullptrCheckImpl() {
auto BasicStringViewConstructingFromNullExpr =
cxxConstructExpr(
HasBasicStringViewType, argumentCountIs(1),
- hasAnyArgument(/* `hasArgument` would skip over parens */ anyOf(
+ hasArgument(/* `hasArgument` would skip over parens */ anyOf(
----------------
5chmidti wrote:
Please remove the comment in all three matchers regarding `hasArgument`
https://github.com/llvm/llvm-project/pull/89553
More information about the cfe-commits
mailing list