clang 19.0.0git
|
Directive - Abstract class representing a parsed verify directive. More...
#include "clang/Frontend/VerifyDiagnosticConsumer.h"
Public Member Functions | |
Directive (const Directive &)=delete | |
Directive & | operator= (const Directive &)=delete |
virtual | ~Directive ()=default |
virtual bool | isValid (std::string &Error)=0 |
virtual bool | match (StringRef S)=0 |
Static Public Member Functions | |
static std::unique_ptr< Directive > | create (bool RegexKind, SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, bool MatchAnyFileAndLine, bool MatchAnyLine, StringRef Text, unsigned Min, unsigned Max) |
Public Attributes | |
SourceLocation | DirectiveLoc |
SourceLocation | DiagnosticLoc |
const std::string | Text |
unsigned | Min |
unsigned | Max |
bool | MatchAnyLine |
bool | MatchAnyFileAndLine |
Static Public Attributes | |
static const unsigned | MaxCount = std::numeric_limits<unsigned>::max() |
Constant representing n or more matches. | |
Protected Member Functions | |
Directive (SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, bool MatchAnyFileAndLine, bool MatchAnyLine, StringRef Text, unsigned Min, unsigned Max) | |
Directive - Abstract class representing a parsed verify directive.
Definition at line 43 of file VerifyDiagnosticConsumer.h.
|
delete |
|
virtualdefault |
|
inlineprotected |
Definition at line 73 of file VerifyDiagnosticConsumer.h.
References DiagnosticLoc, DirectiveLoc, clang::SourceLocation::isInvalid(), and MatchAnyLine.
|
static |
Definition at line 1145 of file VerifyDiagnosticConsumer.cpp.
References clang::Max, clang::Min, and Text.
|
pure virtual |
|
pure virtual |
Referenced by CheckLists().
SourceLocation clang::VerifyDiagnosticConsumer::Directive::DiagnosticLoc |
Definition at line 55 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), and Directive().
SourceLocation clang::VerifyDiagnosticConsumer::Directive::DirectiveLoc |
Definition at line 54 of file VerifyDiagnosticConsumer.h.
Referenced by Directive().
bool clang::VerifyDiagnosticConsumer::Directive::MatchAnyFileAndLine |
Definition at line 59 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists().
bool clang::VerifyDiagnosticConsumer::Directive::MatchAnyLine |
Definition at line 58 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), and Directive().
unsigned clang::VerifyDiagnosticConsumer::Directive::Max |
Definition at line 57 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists().
|
static |
Constant representing n or more matches.
Definition at line 52 of file VerifyDiagnosticConsumer.h.
Referenced by ParseDirective().
unsigned clang::VerifyDiagnosticConsumer::Directive::Min |
Definition at line 57 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists().
const std::string clang::VerifyDiagnosticConsumer::Directive::Text |
Definition at line 56 of file VerifyDiagnosticConsumer.h.