LLVM: llvm::lsp::DiagnosticRelatedInformation Struct Reference (original) (raw)
Represents a related message and source code location for a diagnostic. More...
#include "[llvm/Support/LSP/Protocol.h](Protocol%5F8h%5Fsource.html)"
| 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 671 of file Protocol.h.
| llvm::lsp::DiagnosticRelatedInformation::DiagnosticRelatedInformation ( ) | default |
|---|
◆ DiagnosticRelatedInformation() [2/2]
| llvm::lsp::DiagnosticRelatedInformation::DiagnosticRelatedInformation ( Location location, std::string message ) | inline |
|---|
◆ location
Location llvm::lsp::DiagnosticRelatedInformation::location
◆ message
std::string llvm::lsp::DiagnosticRelatedInformation::message
The documentation for this struct was generated from the following file:
- include/llvm/Support/LSP/Protocol.h