================ @@ -82,8 +82,8 @@ void StringConstructorCheck::registerMatchers(MatchFinder *Finder) { Finder->addMatcher( cxxConstructExpr( hasDeclaration(cxxMethodDecl(hasName("basic_string"))), - hasArgument(0, hasType(qualType(isInteger()))), - hasArgument(1, hasType(qualType(isInteger()))), + hasArgument(0, ignoringParenImpCasts(hasType(qualType(isInteger())))), + hasArgument(1, ignoringParenImpCasts(hasType(qualType(isInteger())))), ---------------- 5chmidti wrote:
I don't *think* that these are needed/should be here, thoughts? 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