LLVM  14.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 1317 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCAsmParser()

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

Definition at line 1318 of file TargetRegistry.h.

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


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