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

Definition at line 57 of file Diagnostics.h.

Referenced by clang::clangd::StoreDiags::HandleDiagnostic(), and clang::clangd::operator<<().

## ◆ InsideMainFile

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

Definition at line 66 of file Diagnostics.h.

Referenced by clang::clangd::StoreDiags::HandleDiagnostic(), clang::clangd::operator<<(), and clang::clangd::toLSPDiags().

## ◆ Message

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

Definition at line 54 of file Diagnostics.h.

Referenced by clang::clangd::fillNonLocationData(), clang::clangd::operator<<(), and clang::clangd::StoreDiags::take().

## ◆ Range

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

Definition at line 61 of file Diagnostics.h.

Referenced by clang::clangd::StoreDiags::HandleDiagnostic(), clang::clangd::operator<<(), clang::clangd::StoreDiags::take(), and clang::clangd::toLSPDiags().

## ◆ 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:

- Diagnostics.h