[clang] [Clang][TableGen] Use StringRef in FlattenedSpelling (PR #113809)

Rahul Joshi via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 11:20:58 PDT 2024


================
@@ -49,40 +49,38 @@ using namespace llvm;
 namespace {
 
 class FlattenedSpelling {
-  std::string V, N, NS;
+  StringRef V, N, NS;
----------------
jurahul wrote:

>  TG is not perf critical

I have seen bugs about Tg perf, but may be not this particular backend,

https://github.com/llvm/llvm-project/pull/113809


More information about the cfe-commits mailing list