[llvm] c347b26 - Remove LLVM_ABI from members of RuntimeLibraryAnalysis (NFC) (#170850)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 01:27:21 PST 2025


Author: Stefan Gränitz
Date: 2025-12-08T10:27:17+01:00
New Revision: c347b2669bc82385d6269a26e57f8dedc2a802d9

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

LOG: Remove LLVM_ABI from members of RuntimeLibraryAnalysis (NFC) (#170850)

Fix Windows build error: attribute 'dllexport' cannot be applied to member of 'dllexport' class

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/RuntimeLibcallInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/RuntimeLibcallInfo.h b/llvm/include/llvm/Analysis/RuntimeLibcallInfo.h
index 2d31c8aa6301b..609568ebc21a8 100644
--- a/llvm/include/llvm/Analysis/RuntimeLibcallInfo.h
+++ b/llvm/include/llvm/Analysis/RuntimeLibcallInfo.h
@@ -29,12 +29,11 @@ class LLVM_ABI RuntimeLibraryAnalysis
       EABI EABIVersion = EABI::Default, StringRef ABIName = "",
       VectorLibrary VecLib = VectorLibrary::NoLibrary);
 
-  LLVM_ABI RTLIB::RuntimeLibcallsInfo run(const Module &M,
-                                          ModuleAnalysisManager &);
+  RTLIB::RuntimeLibcallsInfo run(const Module &M, ModuleAnalysisManager &);
 
 private:
   friend AnalysisInfoMixin<RuntimeLibraryAnalysis>;
-  LLVM_ABI static AnalysisKey Key;
+  static AnalysisKey Key;
 
   std::optional<RTLIB::RuntimeLibcallsInfo> LibcallsInfo;
 };


        


More information about the llvm-commits mailing list