[llvm] [llvm] annotate interfaces in llvm/TargetParser for DLL export (PR #143616)
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 10 17:50:52 PDT 2025
================
@@ -249,7 +249,6 @@ LLVM_ABI ArchKind convertV9toV8(ArchKind AK);
LLVM_ABI FPUKind getDefaultFPU(StringRef CPU, ArchKind AK);
LLVM_ABI uint64_t getDefaultExtensions(StringRef CPU, ArchKind AK);
LLVM_ABI StringRef getDefaultCPU(StringRef Arch);
-StringRef getCanonicalArchName(StringRef Arch);
----------------
lenary wrote:
> Additionally, I manually removed the redundant declaration of getCanonicalArchName from llvm/include/llvm/TargetParser/ARMTargetParser.h because IDS only auto-annotates the first declaration it encounters, and the second un-annotated declaration results in an MSVC warning.
https://github.com/llvm/llvm-project/pull/143616
More information about the llvm-commits
mailing list