clang-tools
7.0.0
|
#include <Protocol.h>
Public Attributes | |
Range | range |
The range at which the message applies. More... | |
int | severity = 0 |
The diagnostic's severity. More... | |
std::string | message |
The diagnostic's code. More... | |
Definition at line 495 of file Protocol.h.
std::string clang::clangd::Diagnostic::message |
The diagnostic's code.
Can be omitted. Note: Not currently used by clangd A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'. Note: Not currently used by clangd The diagnostic's message.
Definition at line 513 of file Protocol.h.
Referenced by clang::clangd::fromJSON(), clang::clangd::LSPDiagnosticCompare::operator()(), clang::clangd::operator<<(), clang::clangd::ClangdLSPServer::run(), and clang::clangd::toLSPDiags().
Range clang::clangd::Diagnostic::range |
The range at which the message applies.
Definition at line 497 of file Protocol.h.
Referenced by clang::clangd::fromJSON(), clang::clangd::LSPDiagnosticCompare::operator()(), clang::clangd::operator<<(), clang::clangd::ClangdLSPServer::run(), and clang::clangd::toLSPDiags().
int clang::clangd::Diagnostic::severity = 0 |
The diagnostic's severity.
Can be omitted. If omitted it is up to the client to interpret diagnostics as error, warning, info or hint.
Definition at line 501 of file Protocol.h.
Referenced by clang::clangd::fromJSON(), clang::clangd::operator<<(), clang::clangd::ClangdLSPServer::run(), and clang::clangd::toLSPDiags().