clang-tools  16.0.0git
Public Attributes | List of all members
clang::clangd::DiagBase Struct Reference

Contains basic information about a diagnostic. More...

#include <Diagnostics.h>

Inheritance diagram for clang::clangd::DiagBase:
Inheritance graph
Collaboration diagram for clang::clangd::DiagBase:
Collaboration graph

Public Attributes

std::string Message
std::string File
llvm::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

Detailed Description

Contains basic information about a diagnostic.

Definition at line 58 of file Diagnostics.h.

Member Data Documentation

◆ AbsFile

llvm::Optional<std::string> clang::clangd::DiagBase::AbsFile

Definition at line 64 of file Diagnostics.h.

◆ Category

std::string clang::clangd::DiagBase::Category

Definition at line 68 of file Diagnostics.h.

◆ File

std::string clang::clangd::DiagBase::File

Definition at line 62 of file Diagnostics.h.

◆ ID

unsigned clang::clangd::DiagBase::ID = 0

Definition at line 72 of file Diagnostics.h.

Referenced by clang::clangd::StoreDiags::take().

◆ InsideMainFile

bool clang::clangd::DiagBase::InsideMainFile = false

Definition at line 71 of file Diagnostics.h.

◆ Message

std::string clang::clangd::DiagBase::Message

Definition at line 59 of file Diagnostics.h.

Referenced by clang::clangd::StoreDiags::take().

◆ OpaqueData

llvm::json::Object clang::clangd::DiagBase::OpaqueData

Definition at line 76 of file Diagnostics.h.

◆ Range

clangd::Range clang::clangd::DiagBase::Range

Definition at line 66 of file Diagnostics.h.

◆ Severity

DiagnosticsEngine::Level clang::clangd::DiagBase::Severity = DiagnosticsEngine::Note

Definition at line 67 of file Diagnostics.h.

The documentation for this struct was generated from the following file: