clang-tools 20.0.0git
|
#include <Diagnostics.h>
Public Attributes | |
bool | EmbedFixesInDiagnostics = false |
If true, Clangd uses an LSP extension to embed the fixes with the diagnostics that are sent to the client. | |
bool | EmitRelatedLocations = false |
If true, Clangd uses the relatedInformation field to include other locations (in particular attached notes). | |
bool | SendDiagnosticCategory = false |
If true, Clangd uses an LSP extension to send the diagnostic's category to the client. | |
bool | DisplayFixesCount = true |
If true, Clangd will add a number of available fixes to the diagnostic's message. | |
Definition at line 36 of file Diagnostics.h.
bool clang::clangd::ClangdDiagnosticOptions::DisplayFixesCount = true |
If true, Clangd will add a number of available fixes to the diagnostic's message.
Definition at line 54 of file Diagnostics.h.
bool clang::clangd::ClangdDiagnosticOptions::EmbedFixesInDiagnostics = false |
If true, Clangd uses an LSP extension to embed the fixes with the diagnostics that are sent to the client.
Definition at line 39 of file Diagnostics.h.
bool clang::clangd::ClangdDiagnosticOptions::EmitRelatedLocations = false |
If true, Clangd uses the relatedInformation field to include other locations (in particular attached notes).
Otherwise, these are flattened into the diagnostic message.
Definition at line 44 of file Diagnostics.h.
bool clang::clangd::ClangdDiagnosticOptions::SendDiagnosticCategory = false |
If true, Clangd uses an LSP extension to send the diagnostic's category to the client.
The category typically describes the compilation stage during which the issue was produced, e.g. "Semantic Issue" or "Parse Issue".
Definition at line 50 of file Diagnostics.h.