class VerifyDiagnosticConsumer::Directive
Declaration
class VerifyDiagnosticConsumer::Directive { /* full declaration omitted */ };
Description
Directive - Abstract class representing a parsed verify directive.
Declared at: clang/include/clang/Frontend/VerifyDiagnosticConsumer.h:191
Member Variables
- public clang::SourceLocation DirectiveLoc
- public clang::SourceLocation DiagnosticLoc
- public const std::string Text
- public unsigned int Min
- public unsigned int Max
- public bool MatchAnyLine
- public bool MatchAnyFileAndLine
- public static const unsigned int MaxCount = std::numeric_limits<unsigned int>::max()
- Constant representing n or more matches.
Method Overview
- public Directive(const clang::VerifyDiagnosticConsumer::Directive &)
- protected Directive(clang::SourceLocation DirectiveLoc, clang::SourceLocation DiagnosticLoc, bool MatchAnyFileAndLine, bool MatchAnyLine, llvm::StringRef Text, unsigned int Min, unsigned int Max)
- public static std::unique_ptr<Directive> create(bool RegexKind, clang::SourceLocation DirectiveLoc, clang::SourceLocation DiagnosticLoc, bool MatchAnyFileAndLine, bool MatchAnyLine, llvm::StringRef Text, unsigned int Min, unsigned int Max)
- public virtual bool isValid(std::string & Error)
- public virtual bool match(llvm::StringRef S)
- public virtual ~Directive()
Methods
¶Directive(const clang::VerifyDiagnosticConsumer::
Directive&)
Directive(const clang::VerifyDiagnosticConsumer::
Directive&)
Declared at: clang/include/clang/Frontend/VerifyDiagnosticConsumer.h:209
Parameters
¶Directive(clang::SourceLocation DirectiveLoc,
clang::SourceLocation DiagnosticLoc,
bool MatchAnyFileAndLine,
bool MatchAnyLine,
llvm::StringRef Text,
unsigned int Min,
unsigned int Max)
Directive(clang::SourceLocation DirectiveLoc,
clang::SourceLocation DiagnosticLoc,
bool MatchAnyFileAndLine,
bool MatchAnyLine,
llvm::StringRef Text,
unsigned int Min,
unsigned int Max)
Declared at: clang/include/clang/Frontend/VerifyDiagnosticConsumer.h:221
Parameters
- clang::SourceLocation DirectiveLoc
- clang::SourceLocation DiagnosticLoc
- bool MatchAnyFileAndLine
- bool MatchAnyLine
- llvm::StringRef Text
- unsigned int Min
- unsigned int Max
¶static std::unique_ptr<Directive> create(
bool RegexKind,
clang::SourceLocation DirectiveLoc,
clang::SourceLocation DiagnosticLoc,
bool MatchAnyFileAndLine,
bool MatchAnyLine,
llvm::StringRef Text,
unsigned int Min,
unsigned int Max)
static std::unique_ptr<Directive> create(
bool RegexKind,
clang::SourceLocation DirectiveLoc,
clang::SourceLocation DiagnosticLoc,
bool MatchAnyFileAndLine,
bool MatchAnyLine,
llvm::StringRef Text,
unsigned int Min,
unsigned int Max)
Declared at: clang/include/clang/Frontend/VerifyDiagnosticConsumer.h:194
Parameters
- bool RegexKind
- clang::SourceLocation DirectiveLoc
- clang::SourceLocation DiagnosticLoc
- bool MatchAnyFileAndLine
- bool MatchAnyLine
- llvm::StringRef Text
- unsigned int Min
- unsigned int Max
¶virtual bool isValid(std::string& Error)
virtual bool isValid(std::string& Error)
Declared at: clang/include/clang/Frontend/VerifyDiagnosticConsumer.h:215
Parameters
- std::string& Error
¶virtual bool match(llvm::StringRef S)
virtual bool match(llvm::StringRef S)
Declared at: clang/include/clang/Frontend/VerifyDiagnosticConsumer.h:218
Parameters
¶virtual ~Directive()
virtual ~Directive()
Declared at: clang/include/clang/Frontend/VerifyDiagnosticConsumer.h:211