Skip to content

Commit c347b26

Browse files
Remove LLVM_ABI from members of RuntimeLibraryAnalysis (NFC) (#170850)
Fix Windows build error: attribute 'dllexport' cannot be applied to member of 'dllexport' class
1 parent bd1bd17 commit c347b26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/include/llvm/Analysis/RuntimeLibcallInfo.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ class LLVM_ABI RuntimeLibraryAnalysis
2929
EABI EABIVersion = EABI::Default, StringRef ABIName = "",
3030
VectorLibrary VecLib = VectorLibrary::NoLibrary);
3131

32-
LLVM_ABI RTLIB::RuntimeLibcallsInfo run(const Module &M,
33-
ModuleAnalysisManager &);
32+
RTLIB::RuntimeLibcallsInfo run(const Module &M, ModuleAnalysisManager &);
3433

3534
private:
3635
friend AnalysisInfoMixin<RuntimeLibraryAnalysis>;
37-
LLVM_ABI static AnalysisKey Key;
36+
static AnalysisKey Key;
3837

3938
std::optional<RTLIB::RuntimeLibcallsInfo> LibcallsInfo;
4039
};

0 commit comments

Comments
 (0)