From bca343fc7120888b4a03639700a8487be0cf276e Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Thu, 6 Nov 2025 06:00:51 -0800 Subject: [PATCH] RuntimeLibcalls: Remove LLVM_ABI from private member variable declarations 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}; --- llvm/include/llvm/CodeGen/LibcallLoweringInfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/CodeGen/LibcallLoweringInfo.h b/llvm/include/llvm/CodeGen/LibcallLoweringInfo.h index e8eceeed6aca6..4e956cb32a89b 100644 --- a/llvm/include/llvm/CodeGen/LibcallLoweringInfo.h +++ b/llvm/include/llvm/CodeGen/LibcallLoweringInfo.h @@ -12,9 +12,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: