clang-tools 20.0.0git
|
#include <Protocol.h>
Public Attributes | |
VersionedTextDocumentIdentifier | textDocument |
The document that did change. | |
std::vector< TextDocumentContentChangeEvent > | contentChanges |
The actual content changes. | |
std::optional< bool > | wantDiagnostics |
Forces diagnostics to be generated, or to not be generated, for this version of the file. | |
bool | forceRebuild = false |
Force a complete rebuild of the file, ignoring all cached state. | |
Definition at line 787 of file Protocol.h.
std::vector<TextDocumentContentChangeEvent> clang::clangd::DidChangeTextDocumentParams::contentChanges |
The actual content changes.
Definition at line 794 of file Protocol.h.
Referenced by clang::clangd::fromJSON().
bool clang::clangd::DidChangeTextDocumentParams::forceRebuild = false |
Force a complete rebuild of the file, ignoring all cached state.
Slow! This is useful to defeat clangd's assumption that missing headers will stay missing. This is a clangd extension.
Definition at line 806 of file Protocol.h.
Referenced by clang::clangd::fromJSON().
VersionedTextDocumentIdentifier clang::clangd::DidChangeTextDocumentParams::textDocument |
The document that did change.
The version number points to the version after all provided content changes have been applied.
Definition at line 791 of file Protocol.h.
Referenced by clang::clangd::fromJSON().
std::optional<bool> clang::clangd::DidChangeTextDocumentParams::wantDiagnostics |
Forces diagnostics to be generated, or to not be generated, for this version of the file.
If not set, diagnostics are eventually consistent: either they will be provided for this version or some subsequent one. This is a clangd extension.
Definition at line 800 of file Protocol.h.
Referenced by clang::clangd::fromJSON().