LLVM 20.0.0git
Public Member Functions | List of all members
llvm::RegisterMCAsmParser< MCAsmParserImpl > Struct Template Reference

RegisterMCAsmParser - Helper template for registering a target specific assembly parser, for use in the target machine initialization function. More...

#include "llvm/MC/TargetRegistry.h"

Public Member Functions

 RegisterMCAsmParser (Target &T)
 

Detailed Description

template<class MCAsmParserImpl>
struct llvm::RegisterMCAsmParser< MCAsmParserImpl >

RegisterMCAsmParser - Helper template for registering a target specific assembly parser, for use in the target machine initialization function.

Usage:

extern "C" void LLVMInitializeFooMCAsmParser() { extern Target TheFooTarget; RegisterMCAsmParser<FooAsmParser> X(TheFooTarget); }

Definition at line 1290 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCAsmParser()

template<class MCAsmParserImpl >
llvm::RegisterMCAsmParser< MCAsmParserImpl >::RegisterMCAsmParser ( Target T)
inline

Definition at line 1291 of file TargetRegistry.h.

References Allocator, and llvm::TargetRegistry::RegisterMCAsmParser().


The documentation for this struct was generated from the following file: