[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:26 PDT 2025
================
@@ -77,9 +77,11 @@ class NamespaceEmitter {
// }
//
// and cannot use "namespace ::mlir::toy".
- static StringRef trim(StringRef Name) {
- Name.consume_front("::");
- return Name;
+ static std::string trim(const Twine &NameTwine) {
----------------
jurahul wrote:
Changed the function to take in a string.
https://github.com/llvm/llvm-project/pull/163581
More information about the Mlir-commits
mailing list