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

Detailed Description

Contains basic information about a diagnostic.

Definition at line 53 of file Diagnostics.h.

Member Data Documentation

◆ AbsFile

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

Definition at line 59 of file Diagnostics.h.

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

◆ Category

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

Definition at line 63 of file Diagnostics.h.

Referenced by clang::clangd::fillNonLocationData(), and clang::clangd::toLSPDiags().

◆ File

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

◆ InsideMainFile

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

◆ Message

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

◆ Range

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

◆ Severity

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

Definition at line 62 of file Diagnostics.h.

Referenced by clang::clangd::fillNonLocationData(), and clang::clangd::toLSPDiags().


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