clang 22.0.0git
clang::installapi::LibAttrs Class Reference

Represents dynamic library specific attributes that are tied to architecture slices. More...

#include "clang/InstallAPI/DylibVerifier.h"

Public Types

using Entry = std::pair<std::string, ArchitectureSet>
using AttrsToArchs = llvm::SmallVector<Entry, 10>

Public Member Functions

ArchitectureSetgetArchSet (StringRef Attr)
std::optional< Entryfind (StringRef Attr) const
const AttrsToArchsget () const
AttrsToArchsget ()
bool operator== (const LibAttrs &Other) const

Detailed Description

Represents dynamic library specific attributes that are tied to architecture slices.

It is commonly used for comparing options passed on the command line to installapi and what exists in dylib load commands.

Definition at line 34 of file DylibVerifier.h.

Member Typedef Documentation

◆ AttrsToArchs

◆ Entry

using clang::installapi::LibAttrs::Entry = std::pair<std::string, ArchitectureSet>

Definition at line 36 of file DylibVerifier.h.

Member Function Documentation

◆ find()

std::optional< LibAttrs::Entry > clang::installapi::LibAttrs::find ( StringRef Attr) const

◆ get() [1/2]

AttrsToArchs & clang::installapi::LibAttrs::get ( )
inline

Definition at line 46 of file DylibVerifier.h.

◆ get() [2/2]

const AttrsToArchs & clang::installapi::LibAttrs::get ( ) const
inline

◆ getArchSet()

ArchitectureSet & clang::installapi::LibAttrs::getArchSet ( StringRef Attr)

◆ operator==()

bool clang::installapi::LibAttrs::operator== ( const LibAttrs & Other) const
inline

Definition at line 47 of file DylibVerifier.h.

References get(), and clang::Other.


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