class NameOrPattern
Declaration
class NameOrPattern { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ObjCopy/CommonConfig.h:98
Member Variables
- private llvm::StringRef Name
- private std::shared_ptr<Regex> R
- private std::shared_ptr<GlobPattern> G
- private bool IsPositiveMatch = true
Method Overview
- private NameOrPattern(llvm::StringRef N)
- private NameOrPattern(std::shared_ptr<Regex> R)
- private NameOrPattern(std::shared_ptr<GlobPattern> G, bool IsPositiveMatch)
- public static Expected<llvm::objcopy::NameOrPattern> create(llvm::StringRef Pattern, llvm::objcopy::MatchStyle MS, llvm::function_ref<Error (Error)> ErrorCallback)
- public Optional<llvm::StringRef> getName() const
- public bool isPositiveMatch() const
Methods
¶NameOrPattern(llvm::StringRef N)
NameOrPattern(llvm::StringRef N)
Declared at: llvm/include/llvm/ObjCopy/CommonConfig.h:105
Parameters
¶NameOrPattern(std::shared_ptr<Regex> R)
NameOrPattern(std::shared_ptr<Regex> R)
Declared at: llvm/include/llvm/ObjCopy/CommonConfig.h:106
Parameters
- std::shared_ptr<Regex> R
¶NameOrPattern(std::shared_ptr<GlobPattern> G,
bool IsPositiveMatch)
NameOrPattern(std::shared_ptr<GlobPattern> G,
bool IsPositiveMatch)
Declared at: llvm/include/llvm/ObjCopy/CommonConfig.h:107
Parameters
- std::shared_ptr<GlobPattern> G
- bool IsPositiveMatch
¶static Expected<llvm::objcopy::NameOrPattern>
create(llvm::StringRef Pattern,
llvm::objcopy::MatchStyle MS,
llvm::function_ref<Error(Error)>
ErrorCallback)
static Expected<llvm::objcopy::NameOrPattern>
create(llvm::StringRef Pattern,
llvm::objcopy::MatchStyle MS,
llvm::function_ref<Error(Error)>
ErrorCallback)
Declared at: llvm/include/llvm/ObjCopy/CommonConfig.h:114
Parameters
- llvm::StringRef Pattern
- llvm::objcopy::MatchStyle MS
- llvm::function_ref<Error(Error)> ErrorCallback
¶Optional<llvm::StringRef> getName() const
Optional<llvm::StringRef> getName() const
Declared at: llvm/include/llvm/ObjCopy/CommonConfig.h:118
¶bool isPositiveMatch() const
bool isPositiveMatch() const
Declared at: llvm/include/llvm/ObjCopy/CommonConfig.h:117