clang-tools
10.0.0
|
#include <Compiler.h>
Public Member Functions | |
void | HandleDiagnostic (DiagnosticsEngine::Level DiagLevel, const clang::Diagnostic &Info) override |
![]() | |
virtual | ~DiagnosticsConsumer ()=default |
virtual void | onDiagnosticsReady (PathRef File, std::vector< Diag > Diagnostics)=0 |
Called by ClangdServer when Diagnostics for File are ready. More... | |
virtual void | onFileUpdated (PathRef File, const TUStatus &Status) |
Called whenever the file status is updated. More... | |
virtual void | onHighlightingsReady (PathRef File, std::vector< HighlightingToken > Highlightings) |
Called by ClangdServer when some Highlightings for File are ready. More... | |
Static Public Member Functions | |
static void | log (DiagnosticsEngine::Level DiagLevel, const clang::Diagnostic &Info) |
Definition at line 28 of file Compiler.h.
|
override |
Definition at line 38 of file Compiler.cpp.
References log().
|
static |
Definition at line 20 of file Compiler.cpp.
References clang::tidy::modernize::Message.
Referenced by clang::clangd::buildCompilerInvocation(), HandleDiagnostic(), and clang::clangd::StoreDiags::HandleDiagnostic().