LLVM 22.0.0git
llvm::objcopy::NameOrPattern Class Reference

#include "llvm/ObjCopy/CommonConfig.h"

Public Member Functions

bool isPositiveMatch () const
std::optional< StringRefgetName () const
bool operator== (StringRef S) const
bool operator!= (StringRef S) const

Static Public Member Functions

static LLVM_ABI Expected< NameOrPatterncreate (StringRef Pattern, MatchStyle MS, llvm::function_ref< Error(Error)> ErrorCallback)

Detailed Description

Definition at line 93 of file CommonConfig.h.

Member Function Documentation

◆ create()

◆ getName()

std::optional< StringRef > llvm::objcopy::NameOrPattern::getName ( ) const
inline

Definition at line 113 of file CommonConfig.h.

◆ isPositiveMatch()

bool llvm::objcopy::NameOrPattern::isPositiveMatch ( ) const
inline

Definition at line 112 of file CommonConfig.h.

◆ operator!=()

bool llvm::objcopy::NameOrPattern::operator!= ( StringRef S) const
inline

Definition at line 121 of file CommonConfig.h.

References operator==().

◆ operator==()

bool llvm::objcopy::NameOrPattern::operator== ( StringRef S) const
inline

Definition at line 118 of file CommonConfig.h.

Referenced by operator!=().


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