LLVM  8.0.1
Public Member Functions | List of all members
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/Support/TargetRegistry.h"

Public Member Functions

 RegisterMCAsmParser (Target &T)
 

Detailed Description

template<class MCAsmParserImpl>
struct 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 1144 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCAsmParser()

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

Definition at line 1145 of file TargetRegistry.h.

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


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