[llvm] 580a3bb - [NFC][MC] Add LLVM_ABI annotations to createAsmParser functions (#182393)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 20 14:56:45 PST 2026


Author: Zachary Yedidia
Date: 2026-02-20T14:56:41-08:00
New Revision: 580a3bb8ea1208873671b6e78986c5e253a64152

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

LOG: [NFC][MC] Add LLVM_ABI annotations to createAsmParser functions (#182393)

Following the MCLFIRewriter PR, this adds the `LLVM_ABI` annotations for
related functions that were flagged by the ABI bot.

Added: 
    

Modified: 
    llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h

Removed: 
    


################################################################################
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