LLVM  6.0.0svn
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/Support/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 1124 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCAsmParser()

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

Definition at line 1125 of file TargetRegistry.h.

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


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