[llvm] 7bbb65c - RuntimeLibcalls: Make getLibcallImplName static. NFC. (#147919)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 10 05:19:26 PDT 2025


Author: Matt Arsenault
Date: 2025-07-10T21:19:23+09:00
New Revision: 7bbb65c8fee605d7c875e495d7ce14f7700ce554

URL: https://github.com/llvm/llvm-project/commit/7bbb65c8fee605d7c875e495d7ce14f7700ce554
DIFF: https://github.com/llvm/llvm-project/commit/7bbb65c8fee605d7c875e495d7ce14f7700ce554.diff

LOG: RuntimeLibcalls: Make getLibcallImplName static. NFC. (#147919)

Added: 
    

Modified: 
    llvm/include/llvm/IR/RuntimeLibcalls.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/RuntimeLibcalls.h b/llvm/include/llvm/IR/RuntimeLibcalls.h
index 92a08aba16bb2..97a6389844439 100644
--- a/llvm/include/llvm/IR/RuntimeLibcalls.h
+++ b/llvm/include/llvm/IR/RuntimeLibcalls.h
@@ -81,7 +81,7 @@ struct RuntimeLibcallsInfo {
   }
 
   /// Get the libcall routine name for the specified libcall implementation.
-  const char *getLibcallImplName(RTLIB::LibcallImpl CallImpl) const {
+  static const char *getLibcallImplName(RTLIB::LibcallImpl CallImpl) {
     return LibCallImplNames[CallImpl];
   }
 


        


More information about the llvm-commits mailing list