clang-tools  14.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
[legend]
Collaboration diagram for clang::clangd::DiagBase:
Collaboration graph
[legend]

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
 
llvm::json::Object OpaqueData
 

Detailed Description

Contains basic information about a diagnostic.

Definition at line 61 of file Diagnostics.h.

Member Data Documentation

◆ AbsFile

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

Definition at line 67 of file Diagnostics.h.

◆ Category

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

Definition at line 71 of file Diagnostics.h.

◆ File

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

Definition at line 65 of file Diagnostics.h.

◆ ID

unsigned clang::clangd::DiagBase::ID

Definition at line 75 of file Diagnostics.h.

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

◆ InsideMainFile

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

Definition at line 74 of file Diagnostics.h.

◆ Message

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

Definition at line 62 of file Diagnostics.h.

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

◆ OpaqueData

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

Definition at line 79 of file Diagnostics.h.

◆ Range

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

Definition at line 69 of file Diagnostics.h.

◆ Severity

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

Definition at line 70 of file Diagnostics.h.


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