[Mlir-commits] [llvm] [mlir] [NFC][TableGen] Use `Twine` for Name argument in CodeGenHelpers (PR #163581)

Rahul Joshi llvmlistbot at llvm.org
Thu Oct 16 16:09:06 PDT 2025


================
@@ -54,8 +54,8 @@ class IncludeGuardEmitter {
 // namespace scope.
 class NamespaceEmitter {
 public:
-  NamespaceEmitter(raw_ostream &OS, StringRef NameUntrimmed)
-      : Name(trim(NameUntrimmed).str()), OS(OS) {
+  NamespaceEmitter(raw_ostream &OS, const Twine &NameTwine)
+      : Name(trim(NameTwine)), OS(OS) {
----------------
jurahul wrote:

I have changed that now.

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


More information about the Mlir-commits mailing list