LLVM 20.0.0git
|
Represents a set of globs and their line numbers. More...
#include "llvm/Support/SpecialCaseList.h"
Public Member Functions | |
Error | insert (StringRef Pattern, unsigned LineNumber, bool UseRegex) |
unsigned | match (StringRef Query) const |
Public Attributes | |
StringMap< std::pair< GlobPattern, unsigned > > | Globs |
std::vector< std::pair< std::unique_ptr< Regex >, unsigned > > | RegExes |
Represents a set of globs and their line numbers.
Definition at line 118 of file SpecialCaseList.h.
Error llvm::SpecialCaseList::Matcher::insert | ( | StringRef | Pattern, |
unsigned | LineNumber, | ||
bool | UseRegex | ||
) |
Definition at line 27 of file SpecialCaseList.cpp.
References llvm::GlobPattern::create(), llvm::createStringError(), Globs, llvm::invalid_argument, llvm::Regex::isValid(), RegExes, and llvm::Error::success().
Definition at line 70 of file SpecialCaseList.cpp.
References llvm::Regex::match().
StringMap<std::pair<GlobPattern, unsigned> > llvm::SpecialCaseList::Matcher::Globs |
Definition at line 125 of file SpecialCaseList.h.
Referenced by insert().
Definition at line 126 of file SpecialCaseList.h.
Referenced by insert().