clang-tools 20.0.0git
Public Attributes | List of all members
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 971 of file Protocol.h.

Member Data Documentation

◆ diagnostics

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

An array of diagnostic information items.

Definition at line 975 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 973 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 977 of file Protocol.h.

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


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