class GlobPattern
Declaration
class GlobPattern { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/GlobPattern.h:29
Member Variables
- private std::vector<BitVector> Tokens
- private Optional<llvm::StringRef> Exact
- private Optional<llvm::StringRef> Prefix
- private Optional<llvm::StringRef> Suffix
Method Overview
- public static Expected<llvm::GlobPattern> create(llvm::StringRef Pat)
- public bool isTrivialMatchAll() const
- public bool match(llvm::StringRef S) const
- private bool matchOne(ArrayRef<llvm::BitVector> Pat, llvm::StringRef S) const
Methods
¶static Expected<llvm::GlobPattern> create(
llvm::StringRef Pat)
static Expected<llvm::GlobPattern> create(
llvm::StringRef Pat)
Declared at: llvm/include/llvm/Support/GlobPattern.h:31
Parameters
- llvm::StringRef Pat
¶bool isTrivialMatchAll() const
bool isTrivialMatchAll() const
Declared at: llvm/include/llvm/Support/GlobPattern.h:36
¶bool match(llvm::StringRef S) const
bool match(llvm::StringRef S) const
Declared at: llvm/include/llvm/Support/GlobPattern.h:32
Parameters
¶bool matchOne(ArrayRef<llvm::BitVector> Pat,
llvm::StringRef S) const
bool matchOne(ArrayRef<llvm::BitVector> Pat,
llvm::StringRef S) const
Declared at: llvm/include/llvm/Support/GlobPattern.h:45
Parameters
- ArrayRef<llvm::BitVector> Pat
- llvm::StringRef S