clang-tools 20.0.0git
|
Contains basic information about a diagnostic. More...
#include <Diagnostics.h>
Public Attributes | |
std::string | Message |
std::string | File |
std::optional< std::string > | AbsFile |
clangd::Range | Range |
DiagnosticsEngine::Level | Severity = DiagnosticsEngine::Note |
std::string | Category |
bool | InsideMainFile = false |
unsigned | ID = 0 |
llvm::json::Object | OpaqueData |
Contains basic information about a diagnostic.
Definition at line 58 of file Diagnostics.h.
std::optional<std::string> clang::clangd::DiagBase::AbsFile |
Definition at line 64 of file Diagnostics.h.
Referenced by clang::clangd::toLSPDiags().
std::string clang::clangd::DiagBase::Category |
Definition at line 68 of file Diagnostics.h.
std::string clang::clangd::DiagBase::File |
Definition at line 62 of file Diagnostics.h.
unsigned clang::clangd::DiagBase::ID = 0 |
Definition at line 72 of file Diagnostics.h.
Referenced by clang::clangd::StoreDiags::take().
bool clang::clangd::DiagBase::InsideMainFile = false |
Definition at line 71 of file Diagnostics.h.
Referenced by clang::clangd::toLSPDiags().
std::string clang::clangd::DiagBase::Message |
Definition at line 59 of file Diagnostics.h.
Referenced by clang::clangd::ParsedAST::build(), clang::clangd::ClangdServer::codeAction(), and clang::clangd::StoreDiags::take().
llvm::json::Object clang::clangd::DiagBase::OpaqueData |
Definition at line 76 of file Diagnostics.h.
clangd::Range clang::clangd::DiagBase::Range |
Definition at line 66 of file Diagnostics.h.
Referenced by clang::clangd::ClangdServer::codeAction(), and clang::clangd::toLSPDiags().
DiagnosticsEngine::Level clang::clangd::DiagBase::Severity = DiagnosticsEngine::Note |
Definition at line 67 of file Diagnostics.h.
Referenced by clang::clangd::toLSPDiags().