clang API Documentation
#include <VerifyDiagnosticConsumer.h>
Public Member Functions | |
virtual | ~Directive () |
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 MatchAnyLine, StringRef Text, unsigned Min, unsigned Max) |
Public Attributes | |
SourceLocation | DirectiveLoc |
SourceLocation | DiagnosticLoc |
const std::string | Text |
unsigned | Min |
unsigned | Max |
bool | MatchAnyLine |
Static Public Attributes | |
static const unsigned | MaxCount = UINT_MAX |
Constant representing n or more matches. | |
Protected Member Functions | |
Directive (SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, bool MatchAnyLine, StringRef Text, unsigned Min, unsigned Max) |
Directive - Abstract class representing a parsed verify directive.
Definition at line 146 of file VerifyDiagnosticConsumer.h.
virtual clang::VerifyDiagnosticConsumer::Directive::~Directive | ( | ) | [inline, virtual] |
Definition at line 164 of file VerifyDiagnosticConsumer.h.
clang::VerifyDiagnosticConsumer::Directive::Directive | ( | SourceLocation | DirectiveLoc, |
SourceLocation | DiagnosticLoc, | ||
bool | MatchAnyLine, | ||
StringRef | Text, | ||
unsigned | Min, | ||
unsigned | Max | ||
) | [inline, protected] |
Definition at line 174 of file VerifyDiagnosticConsumer.h.
References clang::SourceLocation::isInvalid().
std::unique_ptr< Directive > Directive::create | ( | bool | RegexKind, |
SourceLocation | DirectiveLoc, | ||
SourceLocation | DiagnosticLoc, | ||
bool | MatchAnyLine, | ||
StringRef | Text, | ||
unsigned | Min, | ||
unsigned | Max | ||
) | [static] |
Definition at line 872 of file VerifyDiagnosticConsumer.cpp.
References S.
virtual bool clang::VerifyDiagnosticConsumer::Directive::isValid | ( | std::string & | Error | ) | [pure virtual] |
virtual bool clang::VerifyDiagnosticConsumer::Directive::match | ( | StringRef | S | ) | [pure virtual] |
Referenced by CheckLists().
Definition at line 159 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), and PrintExpected().
Definition at line 158 of file VerifyDiagnosticConsumer.h.
Referenced by PrintExpected().
Definition at line 162 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists(), and PrintExpected().
Definition at line 161 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists().
const unsigned clang::VerifyDiagnosticConsumer::Directive::MaxCount = UINT_MAX [static] |
Constant representing n or more matches.
Definition at line 156 of file VerifyDiagnosticConsumer.h.
Referenced by ParseDirective().
Definition at line 161 of file VerifyDiagnosticConsumer.h.
Referenced by CheckLists().
const std::string clang::VerifyDiagnosticConsumer::Directive::Text |
Definition at line 160 of file VerifyDiagnosticConsumer.h.
Referenced by PrintExpected().