LLVM 22.0.0git
llvm::SpecialCaseList::Matcher Class Reference

Represents a set of globs and their line numbers. More...

#include "llvm/Support/SpecialCaseList.h"

Classes

struct  Glob

Public Member Functions

LLVM_ABI Error insert (StringRef Pattern, unsigned LineNumber, bool UseRegex)
LLVM_ABI unsigned match (StringRef Query) const

Public Attributes

std::vector< std::unique_ptr< Matcher::Glob > > Globs
std::vector< std::pair< std::unique_ptr< Regex >, unsigned > > RegExes

Detailed Description

Represents a set of globs and their line numbers.

Definition at line 122 of file SpecialCaseList.h.

Member Function Documentation

◆ insert()

◆ match()

Member Data Documentation

◆ Globs

std::vector<std::unique_ptr<Matcher::Glob> > llvm::SpecialCaseList::Matcher::Globs

Definition at line 140 of file SpecialCaseList.h.

Referenced by insert(), and match().

◆ RegExes

std::vector<std::pair<std::unique_ptr<Regex>, unsigned> > llvm::SpecialCaseList::Matcher::RegExes

Definition at line 141 of file SpecialCaseList.h.

Referenced by insert(), and match().


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