LLVM 22.0.0git
|
Represents a related message and source code location for a diagnostic. More...
#include "llvm/Support/LSP/Protocol.h"
Public Member Functions | |
DiagnosticRelatedInformation ()=default | |
DiagnosticRelatedInformation (Location location, std::string message) |
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 657 of file Protocol.h.
|
default |
|
inline |
Definition at line 659 of file Protocol.h.
References location, message, and llvm::move().
Location llvm::lsp::DiagnosticRelatedInformation::location |
The location of this related diagnostic information.
Definition at line 663 of file Protocol.h.
Referenced by DiagnosticRelatedInformation().
std::string llvm::lsp::DiagnosticRelatedInformation::message |
The message of this related diagnostic information.
Definition at line 665 of file Protocol.h.
Referenced by DiagnosticRelatedInformation().