LLVM  15.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::objcopy::NameOrPattern Class Reference

#include "llvm/ObjCopy/CommonConfig.h"

Public Member Functions

bool isPositiveMatch () const
 
Optional< StringRefgetName () const
 
bool operator== (StringRef S) const
 
bool operator!= (StringRef S) const
 

Static Public Member Functions

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

Detailed Description

Definition at line 98 of file CommonConfig.h.

Member Function Documentation

◆ create()

Expected< NameOrPattern > llvm::objcopy::NameOrPattern::create ( StringRef  Pattern,
MatchStyle  MS,
llvm::function_ref< Error(Error)>  ErrorCallback 
)
static

◆ getName()

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

Definition at line 118 of file CommonConfig.h.

References G, and llvm::None.

◆ isPositiveMatch()

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

Definition at line 117 of file CommonConfig.h.

◆ operator!=()

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

Definition at line 126 of file CommonConfig.h.

References operator==(), and S.

◆ operator==()

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

Definition at line 123 of file CommonConfig.h.

References G, and S.

Referenced by operator!=().


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