|
clang 23.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 DiagnosticMatchResult | match (StringRef S) const =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, bool FullMatchRequired) |
Public Attributes | |
| SourceLocation | DirectiveLoc |
| SourceLocation | DiagnosticLoc |
| const std::string | Spelling |
| const std::string | Text |
| unsigned | Min |
| unsigned | Max |
| bool | MatchAnyLine |
| bool | MatchAnyFileAndLine |
| bool | FullMatchRequired |
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, bool FullMatchRequired) | |
Directive - Abstract class representing a parsed verify directive.
Definition at line 50 of file VerifyDiagnosticConsumer.h.
|
delete |
References Directive().
Referenced by Directive(), and operator=().
|
virtualdefault |
|
inlineprotected |
Definition at line 83 of file VerifyDiagnosticConsumer.h.
References DiagnosticLoc, DirectiveLoc, FullMatchRequired, MatchAnyFileAndLine, MatchAnyLine, Max, Min, Spelling, and Text.
|
static |
Definition at line 1421 of file VerifyDiagnosticConsumer.cpp.
References DiagnosticLoc, DirectiveLoc, FullMatchRequired, 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 63 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
| SourceLocation clang::VerifyDiagnosticConsumer::Directive::DirectiveLoc |
Definition at line 62 of file VerifyDiagnosticConsumer.h.
Referenced by CheckResultsAreInOrder(), create(), and Directive().
| bool clang::VerifyDiagnosticConsumer::Directive::FullMatchRequired |
Definition at line 69 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
| bool clang::VerifyDiagnosticConsumer::Directive::MatchAnyFileAndLine |
Definition at line 68 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
| bool clang::VerifyDiagnosticConsumer::Directive::MatchAnyLine |
Definition at line 67 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
| unsigned clang::VerifyDiagnosticConsumer::Directive::Max |
Definition at line 66 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
|
static |
Constant representing n or more matches.
Definition at line 60 of file VerifyDiagnosticConsumer.h.
Referenced by ParseDirective().
| unsigned clang::VerifyDiagnosticConsumer::Directive::Min |
Definition at line 66 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), create(), and Directive().
| const std::string clang::VerifyDiagnosticConsumer::Directive::Spelling |
Definition at line 64 of file VerifyDiagnosticConsumer.h.
Referenced by create(), and Directive().
| const std::string clang::VerifyDiagnosticConsumer::Directive::Text |
Definition at line 65 of file VerifyDiagnosticConsumer.h.
Referenced by create(), and Directive().