[llvm] 2c0e4e7 - RuntimeLibcalls: Remove LLVM_ABI from private member variable declarations (#166776)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 6 13:52:40 PST 2025


Author: Jinsong Ji
Date: 2025-11-06T16:52:36-05:00
New Revision: 2c0e4e775c0f98149d5c48cb2a750926f6f74f4a

URL: https://github.com/llvm/llvm-project/commit/2c0e4e775c0f98149d5c48cb2a750926f6f74f4a
DIFF: https://github.com/llvm/llvm-project/commit/2c0e4e775c0f98149d5c48cb2a750926f6f74f4a.diff

LOG: RuntimeLibcalls: Remove LLVM_ABI from private member variable declarations (#166776)

Seeing warnings:

llvm/include/llvm/CodeGen/LibcallLoweringInfo.h:15:46: error:
'visibility' attribute ignored [-Werror=attributes]
15 |   LLVM_ABI const RTLIB::RuntimeLibcallsInfo &RTLCI;
llvm/include/llvm/CodeGen/LibcallLoweringInfo.h:18:25: error:
'visibility' attribute ignored [-Werror=attributes]
18 |       RTLIB::Unsupported};

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/LibcallLoweringInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/LibcallLoweringInfo.h b/llvm/include/llvm/CodeGen/LibcallLoweringInfo.h
index 9229750e00ab8..e88079e796e7d 100644
--- a/llvm/include/llvm/CodeGen/LibcallLoweringInfo.h
+++ b/llvm/include/llvm/CodeGen/LibcallLoweringInfo.h
@@ -15,9 +15,9 @@ namespace llvm {
 
 class LibcallLoweringInfo {
 private:
-  LLVM_ABI const RTLIB::RuntimeLibcallsInfo &RTLCI;
+  const RTLIB::RuntimeLibcallsInfo &RTLCI;
   /// Stores the implementation choice for each each libcall.
-  LLVM_ABI RTLIB::LibcallImpl LibcallImpls[RTLIB::UNKNOWN_LIBCALL + 1] = {
+  RTLIB::LibcallImpl LibcallImpls[RTLIB::UNKNOWN_LIBCALL + 1] = {
       RTLIB::Unsupported};
 
 public:


        


More information about the llvm-commits mailing list