[llvm] [NFC] RuntimeLibcalls: Prefix the impls with 'Impl_' and use an enum class (PR #153850)

Daniel Paoliello via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 20 10:28:12 PDT 2025


================
@@ -157,7 +157,7 @@ class RuntimeLibcallImpl {
 
   const Record *getDef() const { return TheDef; }
 
-  StringRef getName() const { return TheDef->getName(); }
+  Twine getName() const { return Twine("Impl_") + TheDef->getName(); }
----------------
dpaoliello wrote:

Fair enough, I'll go with `lci_` for `LibCallImpl`

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


More information about the llvm-commits mailing list