LLVM API Documentation

Public Member Functions | Public Attributes
llvm::SpecialCaseList::Entry Struct Reference
Collaboration diagram for llvm::SpecialCaseList::Entry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Entry ()
 Entry (Entry &&Other)
bool match (StringRef Query) const

Public Attributes

StringSet Strings
std::unique_ptr< RegexRegEx

Detailed Description

Represents a set of regular expressions. Regular expressions which are "literal" (i.e. no regex metacharacters) are stored in Strings, while all others are represented as a single pipe-separated regex in RegEx. The reason for doing so is efficiency; StringSet is much faster at matching literal strings than Regex.

Definition at line 36 of file SpecialCaseList.cpp.


Constructor & Destructor Documentation

Definition at line 37 of file SpecialCaseList.cpp.

Definition at line 38 of file SpecialCaseList.cpp.


Member Function Documentation


Member Data Documentation

Definition at line 42 of file SpecialCaseList.cpp.

Referenced by match().

Definition at line 41 of file SpecialCaseList.cpp.

Referenced by match().


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