================
@@ -1084,11 +1088,34 @@ bool IdentifierNamingCheck::isParamInMainLikeFunction(
return Matcher.match(FDecl->getName());
}
+static void trimPrefixesAndSuffixes(
+ StringRef &Mid,
+ ArrayRef<std::optional<IdentifierNamingCheck::NamingStyle>> NamingStyles,
+ bool TrimPrefixes, bool TrimSuffixes) {
+ bool LoopWhileToRemove = true;
----------------
vbvictor wrote:
Can be named simply `Changed`
https://github.com/llvm/llvm-project/pull/181502
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits