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 |
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(), llvm::invalid_argument, llvm::Regex::isValid(), and llvm::Error::success().
Definition at line 70 of file SpecialCaseList.cpp.
References llvm::Regex::match().