================ @@ -102,8 +103,8 @@ void StringConstructorCheck::registerMatchers(MatchFinder *Finder) { cxxConstructExpr( hasDeclaration(cxxConstructorDecl(ofClass( cxxRecordDecl(hasAnyName(removeNamespaces(StringNames)))))), - hasArgument(0, hasType(CharPtrType)), - hasArgument(1, hasType(isInteger())), + hasArgument(0, ignoringParenImpCasts(hasType(CharPtrType))), + hasArgument(1, ignoringParenImpCasts(hasType(isInteger()))), ---------------- 5chmidti wrote:
Same as the other two types matchers 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