clang-tools 20.0.0git
|
A detected error complete with information to display diagnostic and automatic fix. More...
#include <ClangTidyDiagnosticConsumer.h>
Public Member Functions | |
ClangTidyError (StringRef CheckName, Level DiagLevel, StringRef BuildDirectory, bool IsWarningAsError) | |
Public Attributes | |
bool | IsWarningAsError |
std::vector< std::string > | EnabledDiagnosticAliases |
A detected error complete with information to display diagnostic and automatic fix.
This is used as an intermediate format to transport Diagnostics without a dependency on a SourceManager.
FIXME: Make Diagnostics flexible enough to support this directly.
Definition at line 38 of file ClangTidyDiagnosticConsumer.h.
ClangTidyError::ClangTidyError | ( | StringRef | CheckName, |
Level | DiagLevel, | ||
StringRef | BuildDirectory, | ||
bool | IsWarningAsError | ||
) |
Definition at line 155 of file ClangTidyDiagnosticConsumer.cpp.
std::vector<std::string> clang::tidy::ClangTidyError::EnabledDiagnosticAliases |
Definition at line 43 of file ClangTidyDiagnosticConsumer.h.
bool clang::tidy::ClangTidyError::IsWarningAsError |
Definition at line 42 of file ClangTidyDiagnosticConsumer.h.