LLVM 18.0.0git
Public Types | Public Member Functions | List of all members
llvm::MachO::InterfaceFileRef Class Reference

Reference to an interface file. More...

#include "llvm/TextAPI/InterfaceFile.h"

Public Types

using const_target_iterator = TargetList::const_iterator
using const_target_range = llvm::iterator_range< const_target_iterator >

Public Member Functions

 InterfaceFileRef ()=default
 InterfaceFileRef (StringRef InstallName)
 InterfaceFileRef (StringRef InstallName, const TargetList Targets)
StringRef getInstallName () const
void addTarget (const Target &Target)
template<typename RangeT >
void addTargets (RangeT &&Targets)
bool hasTarget (Target &Targ) const
const_target_range targets () const
ArchitectureSet getArchitectures () const
PlatformSet getPlatforms () const
bool operator== (const InterfaceFileRef &O) const
bool operator!= (const InterfaceFileRef &O) const
bool operator< (const InterfaceFileRef &O) const

Detailed Description

Reference to an interface file.

Definition at line 89 of file InterfaceFile.h.

Member Typedef Documentation

◆ const_target_iterator

Definition at line 110 of file InterfaceFile.h.

◆ const_target_range

Definition at line 111 of file InterfaceFile.h.

Constructor & Destructor Documentation

◆ InterfaceFileRef() [1/3]

llvm::MachO::InterfaceFileRef::InterfaceFileRef ( )

◆ InterfaceFileRef() [2/3]

llvm::MachO::InterfaceFileRef::InterfaceFileRef ( StringRef  InstallName)

Definition at line 93 of file InterfaceFile.h.

◆ InterfaceFileRef() [3/3]

llvm::MachO::InterfaceFileRef::InterfaceFileRef ( StringRef  InstallName,
const TargetList  Targets 

Definition at line 95 of file InterfaceFile.h.

Member Function Documentation

◆ addTarget()

void InterfaceFileRef::addTarget ( const Target Target)

Definition at line 21 of file InterfaceFile.cpp.

References llvm::MachO::addEntry().

Referenced by addTargets().

◆ addTargets()

template<typename RangeT >
void llvm::MachO::InterfaceFileRef::addTargets ( RangeT &&  Targets)

Definition at line 101 of file InterfaceFile.h.

References addTarget().

◆ getArchitectures()

ArchitectureSet llvm::MachO::InterfaceFileRef::getArchitectures ( ) const

Definition at line 114 of file InterfaceFile.h.

References llvm::MachO::mapToArchitectureSet().

◆ getInstallName()

StringRef llvm::MachO::InterfaceFileRef::getInstallName ( ) const

Definition at line 98 of file InterfaceFile.h.

◆ getPlatforms()

PlatformSet llvm::MachO::InterfaceFileRef::getPlatforms ( ) const

Definition at line 118 of file InterfaceFile.h.

References llvm::MachO::mapToPlatformSet().

◆ hasTarget()

bool llvm::MachO::InterfaceFileRef::hasTarget ( Target Targ) const

Definition at line 106 of file InterfaceFile.h.

References llvm::is_contained().

◆ operator!=()

bool llvm::MachO::InterfaceFileRef::operator!= ( const InterfaceFileRef O) const

Definition at line 124 of file InterfaceFile.h.

◆ operator<()

bool llvm::MachO::InterfaceFileRef::operator< ( const InterfaceFileRef O) const

Definition at line 128 of file InterfaceFile.h.

◆ operator==()

bool llvm::MachO::InterfaceFileRef::operator== ( const InterfaceFileRef O) const

Definition at line 120 of file InterfaceFile.h.

◆ targets()

const_target_range llvm::MachO::InterfaceFileRef::targets ( ) const

Definition at line 112 of file InterfaceFile.h.

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