|
clang 22.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, StringRef Spelling, bool MatchAnyFileAndLine, bool MatchAnyLine, StringRef Text, unsigned Min, unsigned Max) |
Public Attributes | |
| SourceLocation | DirectiveLoc |
| SourceLocation | DiagnosticLoc |
| const std::string | Spelling |
| 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, StringRef Spelling, 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 |
References Directive().
Referenced by Directive(), and operator=().
|
virtualdefault |
|
inlineprotected |
Definition at line 75 of file VerifyDiagnosticConsumer.h.
References DiagnosticLoc, DirectiveLoc, MatchAnyFileAndLine, MatchAnyLine, Max, Min, Spelling, and Text.
|
static |
Definition at line 1159 of file VerifyDiagnosticConsumer.cpp.
References DiagnosticLoc, DirectiveLoc, MatchAnyFileAndLine, MatchAnyLine, Max, Min, Spelling, and Text.
|
pure virtual |
References clang::Error.
|
pure virtual |
Referenced by CheckLists().
References Directive().
| SourceLocation clang::VerifyDiagnosticConsumer::Directive::DiagnosticLoc |
Definition at line 56 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
| SourceLocation clang::VerifyDiagnosticConsumer::Directive::DirectiveLoc |
Definition at line 55 of file VerifyDiagnosticConsumer.h.
Referenced by create(), and Directive().
| bool clang::VerifyDiagnosticConsumer::Directive::MatchAnyFileAndLine |
Definition at line 61 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
| bool clang::VerifyDiagnosticConsumer::Directive::MatchAnyLine |
Definition at line 60 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
| unsigned clang::VerifyDiagnosticConsumer::Directive::Max |
Definition at line 59 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
|
static |
Constant representing n or more matches.
Definition at line 53 of file VerifyDiagnosticConsumer.h.
Referenced by ParseDirective().
| unsigned clang::VerifyDiagnosticConsumer::Directive::Min |
Definition at line 59 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
| const std::string clang::VerifyDiagnosticConsumer::Directive::Spelling |
Definition at line 57 of file VerifyDiagnosticConsumer.h.
Referenced by create(), and Directive().
| const std::string clang::VerifyDiagnosticConsumer::Directive::Text |
Definition at line 58 of file VerifyDiagnosticConsumer.h.
Referenced by create(), and Directive().