================ @@ -63,8 +63,8 @@ class NameResolver { } // Removes a suffix from a function name. - static StringRef removeSuffix(StringRef Name, StringRef Suffix) { - const size_t Pos = Name.find(Suffix); + static StringRef unify(StringRef Name) { ---------------- aaupov wrote:
Let's use a self-descriptive name e.g. `dropNumNames`. This would follow the convention used in BinaryFunction.h `getPrintName`. https://github.com/llvm/llvm-project/pull/96596 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits