LLVM  5.0.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::GlobPattern Class Reference

#include "llvm/Support/GlobPattern.h"

Public Member Functions

bool match (StringRef S) const
 

Static Public Member Functions

static Expected< GlobPattern > create (StringRef Pat)
 

Detailed Description

Definition at line 30 of file GlobPattern.h.

Member Function Documentation

Expected< GlobPattern > GlobPattern::create ( StringRef  Pat)
static
bool GlobPattern::match ( StringRef  S) const

Definition at line 132 of file GlobPattern.cpp.

References llvm::StringRef::endswith(), and llvm::StringRef::startswith().


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