LLVM  6.0.0svn
Functions
GlobPattern.cpp File Reference
#include "llvm/Support/GlobPattern.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errc.h"
Include dependency graph for GlobPattern.cpp:

Go to the source code of this file.

Functions

static bool hasWildcard (StringRef S)
 
static Expected< BitVectorexpand (StringRef S, StringRef Original)
 
static Expected< BitVectorscan (StringRef &S, StringRef Original)
 

Function Documentation

◆ expand()

static Expected<BitVector> expand ( StringRef  S,
StringRef  Original 
)
static

◆ hasWildcard()

static bool hasWildcard ( StringRef  S)
static

Definition at line 22 of file GlobPattern.cpp.

References llvm::StringRef::find_first_of(), and llvm::StringRef::npos.

Referenced by llvm::GlobPattern::create().

◆ scan()

static Expected<BitVector> scan ( StringRef S,
StringRef  Original 
)
static