LLVM 17.0.0git
|
#include "llvm/Support/GlobPattern.h"
Public Member Functions | |
bool | match (StringRef S) const |
bool | isTrivialMatchAll () const |
Static Public Member Functions | |
static Expected< GlobPattern > | create (StringRef Pat) |
Definition at line 29 of file GlobPattern.h.
|
static |
Definition at line 107 of file GlobPattern.cpp.
References llvm::StringRef::drop_back(), llvm::StringRef::drop_front(), llvm::StringRef::empty(), llvm::StringRef::endswith(), hasWildcard(), scan(), llvm::StringRef::startswith(), and llvm::Expected< T >::takeError().
Referenced by llvm::objcopy::NameOrPattern::create(), and llvm::ifs::filterIFSSyms().
|
inline |
Definition at line 36 of file GlobPattern.h.
References assert().
Definition at line 142 of file GlobPattern.cpp.
References llvm::StringRef::endswith(), and llvm::StringRef::startswith().