clang-tools 22.0.0git
clang::clangd::PublishDiagnosticsParams Struct Reference

#include <Protocol.h>

Public Attributes

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

Detailed Description

Definition at line 982 of file Protocol.h.

Member Data Documentation

◆ diagnostics

std::vector<Diagnostic> clang::clangd::PublishDiagnosticsParams::diagnostics

An array of diagnostic information items.

Definition at line 986 of file Protocol.h.

Referenced by clang::clangd::toJSON().

◆ uri

URIForFile clang::clangd::PublishDiagnosticsParams::uri

The URI for which diagnostic information is reported.

Definition at line 984 of file Protocol.h.

Referenced by clang::clangd::toJSON().

◆ version

std::optional<int64_t> clang::clangd::PublishDiagnosticsParams::version

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

Definition at line 988 of file Protocol.h.

Referenced by clang::clangd::toJSON().


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