LLVM 22.0.0git
llvm::SpecialCaseList::Section Struct Reference

#include "llvm/Support/SpecialCaseList.h"

Public Member Functions

 Section (StringRef Str, unsigned FileIdx, bool UseGlobs)
 Section (Section &&)=default
LLVM_ABI unsigned getLastMatch (StringRef Prefix, StringRef Query, StringRef Category) const
LLVM_ABI StringRef getLongestMatch (StringRef Prefix, StringRef Query, StringRef Category) const

Public Attributes

Matcher SectionMatcher
SectionEntries Entries
std::string SectionStr
unsigned FileIdx

Detailed Description

Definition at line 186 of file SpecialCaseList.h.

Constructor & Destructor Documentation

◆ Section() [1/2]

llvm::SpecialCaseList::Section::Section ( StringRef Str,
unsigned FileIdx,
bool UseGlobs )
inline

Definition at line 187 of file SpecialCaseList.h.

References FileIdx, SectionMatcher, and SectionStr.

Referenced by Section().

◆ Section() [2/2]

llvm::SpecialCaseList::Section::Section ( Section && )
default

References Section().

Member Function Documentation

◆ getLastMatch()

unsigned llvm::SpecialCaseList::Section::getLastMatch ( StringRef Prefix,
StringRef Query,
StringRef Category ) const

Definition at line 286 of file SpecialCaseList.cpp.

References getLastMatch().

Referenced by getLastMatch().

◆ getLongestMatch()

StringRef llvm::SpecialCaseList::Section::getLongestMatch ( StringRef Prefix,
StringRef Query,
StringRef Category ) const

Definition at line 298 of file SpecialCaseList.cpp.

References getLongestMatch(), and llvm::StringRef::size().

Referenced by getLongestMatch().

Member Data Documentation

◆ Entries

SectionEntries llvm::SpecialCaseList::Section::Entries

Definition at line 194 of file SpecialCaseList.h.

◆ FileIdx

unsigned llvm::SpecialCaseList::Section::FileIdx

Definition at line 196 of file SpecialCaseList.h.

Referenced by Section().

◆ SectionMatcher

Matcher llvm::SpecialCaseList::Section::SectionMatcher

Definition at line 193 of file SpecialCaseList.h.

Referenced by Section().

◆ SectionStr

std::string llvm::SpecialCaseList::Section::SectionStr

Definition at line 195 of file SpecialCaseList.h.

Referenced by Section().


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