================ @@ -1084,11 +1088,34 @@ bool IdentifierNamingCheck::isParamInMainLikeFunction( return Matcher.match(FDecl->getName()); } +static void trimPrefixesAndSuffixes( + StringRef &Mid, + ArrayRef<std::optional<IdentifierNamingCheck::NamingStyle>> NamingStyles, ---------------- vbvictor wrote:
Why do we need to pass here all styles? We only need to remove prefix/suffix from one style that identifier has, no? https://github.com/llvm/llvm-project/pull/181502 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
