LLVM 20.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 52 of file InterfaceFile.h.

Member Typedef Documentation

◆ const_target_iterator

Definition at line 73 of file InterfaceFile.h.

◆ const_target_range

Definition at line 74 of file InterfaceFile.h.

Constructor & Destructor Documentation

◆ InterfaceFileRef() [1/3]

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

◆ InterfaceFileRef() [2/3]

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

Definition at line 56 of file InterfaceFile.h.

◆ InterfaceFileRef() [3/3]

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

Definition at line 58 of file InterfaceFile.h.

Member Function Documentation

◆ addTarget()

void InterfaceFileRef::addTarget ( const Target Target)

Definition at line 22 of file InterfaceFile.cpp.

References llvm::MachO::addEntry().

Referenced by addTargets().

◆ addTargets()

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

Definition at line 64 of file InterfaceFile.h.

References addTarget().

◆ getArchitectures()

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

Definition at line 77 of file InterfaceFile.h.

References llvm::MachO::mapToArchitectureSet().

◆ getInstallName()

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

Definition at line 61 of file InterfaceFile.h.

◆ getPlatforms()

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

Definition at line 81 of file InterfaceFile.h.

References llvm::MachO::mapToPlatformSet().

◆ hasTarget()

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

Definition at line 69 of file InterfaceFile.h.

References llvm::is_contained().

◆ operator!=()

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

Definition at line 87 of file InterfaceFile.h.

◆ operator<()

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

Definition at line 91 of file InterfaceFile.h.

◆ operator==()

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

Definition at line 83 of file InterfaceFile.h.

◆ targets()

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

Definition at line 75 of file InterfaceFile.h.


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