LLVM  8.0.1
Public Member Functions | List of all members
RegisterMCAsmBackend< MCAsmBackendImpl > Struct Template Reference

RegisterMCAsmBackend - Helper template for registering a target specific assembler backend. More...

#include "llvm/Support/TargetRegistry.h"

Public Member Functions

 RegisterMCAsmBackend (Target &T)
 

Detailed Description

template<class MCAsmBackendImpl>
struct RegisterMCAsmBackend< MCAsmBackendImpl >

RegisterMCAsmBackend - Helper template for registering a target specific assembler backend.

Usage:

extern "C" void LLVMInitializeFooMCAsmBackend() { extern Target TheFooTarget; RegisterMCAsmBackend<FooAsmLexer> X(TheFooTarget); }

Definition at line 1123 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCAsmBackend()

template<class MCAsmBackendImpl >
RegisterMCAsmBackend< MCAsmBackendImpl >::RegisterMCAsmBackend ( Target &  T)
inline

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