clang-tools  10.0.0svn
Public Member Functions | List of all members
clang::clangd::DiagnosticsConsumer Class Referenceabstract

#include <ClangdServer.h>

Inheritance diagram for clang::clangd::DiagnosticsConsumer:
Inheritance graph
[legend]

Public Member Functions

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...
 

Detailed Description

Definition at line 43 of file ClangdServer.h.

Constructor & Destructor Documentation

◆ ~DiagnosticsConsumer()

virtual clang::clangd::DiagnosticsConsumer::~DiagnosticsConsumer ( )
virtualdefault

Member Function Documentation

◆ onDiagnosticsReady()

virtual void clang::clangd::DiagnosticsConsumer::onDiagnosticsReady ( PathRef  File,
std::vector< Diag Diagnostics 
)
pure virtual

Called by ClangdServer when Diagnostics for File are ready.

◆ onFileUpdated()

virtual void clang::clangd::DiagnosticsConsumer::onFileUpdated ( PathRef  File,
const TUStatus Status 
)
inlinevirtual

Called whenever the file status is updated.

Definition at line 51 of file ClangdServer.h.

◆ onHighlightingsReady()

virtual void clang::clangd::DiagnosticsConsumer::onHighlightingsReady ( PathRef  File,
std::vector< HighlightingToken Highlightings 
)
inlinevirtual

Called by ClangdServer when some Highlightings for File are ready.

Definition at line 55 of file ClangdServer.h.


The documentation for this class was generated from the following file: