LLVM 22.0.0git
llvm::lsp::PublishDiagnosticsParams Struct Reference

#include "llvm/Support/LSP/Protocol.h"

Public Member Functions

 PublishDiagnosticsParams (URIForFile uri, int64_t version)

Public Attributes

URIForFile uri
 The URI for which diagnostic information is reported.
std::vector< Diagnosticdiagnostics
 The list of reported diagnostics.
int64_t version
 The version number of the document the diagnostics are published for.

Detailed Description

Definition at line 735 of file Protocol.h.

Constructor & Destructor Documentation

◆ PublishDiagnosticsParams()

llvm::lsp::PublishDiagnosticsParams::PublishDiagnosticsParams ( URIForFile uri,
int64_t version )
inline

Definition at line 736 of file Protocol.h.

References llvm::move(), uri, and version.

Member Data Documentation

◆ diagnostics

std::vector<Diagnostic> llvm::lsp::PublishDiagnosticsParams::diagnostics

The list of reported diagnostics.

Definition at line 742 of file Protocol.h.

Referenced by llvm::lsp::toJSON().

◆ uri

URIForFile llvm::lsp::PublishDiagnosticsParams::uri

The URI for which diagnostic information is reported.

Definition at line 740 of file Protocol.h.

Referenced by PublishDiagnosticsParams(), and llvm::lsp::toJSON().

◆ version

int64_t llvm::lsp::PublishDiagnosticsParams::version

The version number of the document the diagnostics are published for.

Definition at line 744 of file Protocol.h.

Referenced by PublishDiagnosticsParams(), and llvm::lsp::toJSON().


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