clang-tools 20.0.0git
|
Represents a related message and source code location for a diagnostic. More...
#include <Protocol.h>
Public Attributes | |
Location | location |
The location of this related diagnostic information. | |
std::string | message |
The message of this related diagnostic information. | |
Represents a related message and source code location for a diagnostic.
This should be used to point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in a scope.
Definition at line 888 of file Protocol.h.
Location clang::clangd::DiagnosticRelatedInformation::location |
The location of this related diagnostic information.
Definition at line 890 of file Protocol.h.
Referenced by clang::clangd::toJSON(), and clang::clangd::toLSPDiags().
std::string clang::clangd::DiagnosticRelatedInformation::message |
The message of this related diagnostic information.
Definition at line 892 of file Protocol.h.
Referenced by clang::clangd::toJSON(), and clang::clangd::toLSPDiags().