[llvm] [NFC][MC] Add LLVM_ABI annotations to createAsmParser functions (PR #182393)
Zachary Yedidia via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 19 14:49:29 PST 2026
https://github.com/zyedidia created https://github.com/llvm/llvm-project/pull/182393
Following #172906, this adds the `LLVM_ABI` annotations for related functions that were flagged by the ABI bot.
>From 7c867c68d748249f4202d5309aadb6426a098d78 Mon Sep 17 00:00:00 2001
From: Zachary Yedidia <zyedidia at gmail.com>
Date: Thu, 19 Feb 2026 17:47:30 -0500
Subject: [PATCH] [NFC][MC] Add LLVM_ABI annotations to createAsmParser
functions
---
.../llvm/MC/MCParser/MCAsmParserExtension.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h b/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h
index a32982ea315a8..eb9a995c0a2be 100644
--- a/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h
+++ b/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h
@@ -121,14 +121,14 @@ class LLVM_ABI MCAsmParserExtension {
/// @}
};
-MCAsmParserExtension *createDarwinAsmParser();
-MCAsmParserExtension *createELFAsmParser();
-MCAsmParserExtension *createCOFFAsmParser();
-MCAsmParserExtension *createCOFFMasmParser();
-MCAsmParserExtension *createGOFFAsmParser();
-MCAsmParserExtension *createXCOFFAsmParser();
-MCAsmParserExtension *createWasmAsmParser();
-MCAsmParserExtension *createLFIAsmParser(MCLFIRewriter *Exp);
+LLVM_ABI MCAsmParserExtension *createDarwinAsmParser();
+LLVM_ABI MCAsmParserExtension *createELFAsmParser();
+LLVM_ABI MCAsmParserExtension *createCOFFAsmParser();
+LLVM_ABI MCAsmParserExtension *createCOFFMasmParser();
+LLVM_ABI MCAsmParserExtension *createGOFFAsmParser();
+LLVM_ABI MCAsmParserExtension *createXCOFFAsmParser();
+LLVM_ABI MCAsmParserExtension *createWasmAsmParser();
+LLVM_ABI MCAsmParserExtension *createLFIAsmParser(MCLFIRewriter *Exp);
} // end namespace llvm
More information about the llvm-commits
mailing list