clang-tools
15.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. More... | |
std::string | message |
The message of this related diagnostic information. More... | |
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 817 of file Protocol.h.
Location clang::clangd::DiagnosticRelatedInformation::location |
The location of this related diagnostic information.
Definition at line 819 of file Protocol.h.
Referenced by clang::clangd::toJSON().
std::string clang::clangd::DiagnosticRelatedInformation::message |
The message of this related diagnostic information.
Definition at line 821 of file Protocol.h.
Referenced by clang::clangd::toJSON().