clang-tools
3.9.0
|
A diagnostic consumer that turns each Diagnostic
into a SourceManager-independent
ClangTidyError
.
More...
#include <ClangTidyDiagnosticConsumer.h>
Public Member Functions | |
ClangTidyDiagnosticConsumer (ClangTidyContext &Ctx) | |
void | HandleDiagnostic (DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info) override |
void | finish () override |
Flushes the internal diagnostics buffer to the ClangTidyContext. More... | |
A diagnostic consumer that turns each Diagnostic
into a SourceManager-independent
ClangTidyError
.
Definition at line 255 of file ClangTidyDiagnosticConsumer.h.
ClangTidyDiagnosticConsumer::ClangTidyDiagnosticConsumer | ( | ClangTidyContext & | Ctx | ) |
Definition at line 244 of file ClangTidyDiagnosticConsumer.cpp.
References DiagOpts.
|
override |
Flushes the internal diagnostics buffer to the ClangTidyContext.
Definition at line 562 of file ClangTidyDiagnosticConsumer.cpp.
|
override |
Definition at line 291 of file ClangTidyDiagnosticConsumer.cpp.
References clang::tidy::GlobList::contains(), clang::tidy::ClangTidyError::Error, clang::tidy::ClangTidyStats::ErrorsIgnoredNOLINT, clang::tidy::ClangTidyContext::getCheckName(), clang::tidy::ClangTidyContext::getCurrentBuildDirectory(), clang::tidy::ClangTidyContext::getLangOpts(), clang::tidy::ClangTidyContext::getWarningAsErrorFilter(), LineIsMarkedWithNOLINT(), and clang::tidy::ClangTidyError::Warning.