LLVM  10.0.0svn
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::MachO::Target Class Reference

#include "llvm/TextAPI/MachO/Target.h"

Collaboration diagram for llvm::MachO::Target:
Collaboration graph
[legend]

Public Member Functions

 Target ()=default
 
 Target (Architecture Arch, PlatformKind Platform)
 
 Target (const llvm::Triple &Triple)
 
 operator std::string () const
 

Static Public Member Functions

static llvm::Expected< Targetcreate (StringRef Target)
 

Public Attributes

Architecture Arch
 
PlatformKind Platform
 

Detailed Description

Definition at line 24 of file Target.h.

Constructor & Destructor Documentation

◆ Target() [1/3]

llvm::MachO::Target::Target ( )
default

◆ Target() [2/3]

llvm::MachO::Target::Target ( Architecture  Arch,
PlatformKind  Platform 
)
inline

Definition at line 27 of file Target.h.

◆ Target() [3/3]

llvm::MachO::Target::Target ( const llvm::Triple Triple)
inlineexplicit

Definition at line 29 of file Target.h.

References create().

Member Function Documentation

◆ create()

Expected< Target > llvm::MachO::Target::create ( StringRef  Target)
static

◆ operator std::string()

llvm::MachO::Target::operator std::string ( ) const

Member Data Documentation

◆ Arch

Architecture llvm::MachO::Target::Arch

◆ Platform

PlatformKind llvm::MachO::Target::Platform

The documentation for this class was generated from the following files: