CppInterOp
C++ Language Interoperability Layer
Loading...
Searching...
No Matches
Public Attributes | List of all members
Cpp::StoredDiagView Struct Reference

Owning record for one captured diagnostic. More...

#include "lib/CppInterOp/ErrorInternal.h"

Collaboration diagram for Cpp::StoredDiagView:
Collaboration graph
[legend]

Public Attributes

std::string Message
 
std::string File
 
unsigned Line = 0
 
unsigned Column = 0
 
DiagnosticSeverity Sev = DiagnosticSeverity::Error
 

Detailed Description

Owning record for one captured diagnostic.

DiagnosticRef::data points at one of these.

Definition at line 36 of file ErrorInternal.h.

Member Data Documentation

◆ Column

unsigned Cpp::StoredDiagView::Column = 0

Definition at line 40 of file ErrorInternal.h.

◆ File

std::string Cpp::StoredDiagView::File

Definition at line 38 of file ErrorInternal.h.

◆ Line

unsigned Cpp::StoredDiagView::Line = 0

Definition at line 39 of file ErrorInternal.h.

◆ Message

std::string Cpp::StoredDiagView::Message

Definition at line 37 of file ErrorInternal.h.

Referenced by Cpp::drainError(), and Cpp::makeError().

◆ Sev

DiagnosticSeverity Cpp::StoredDiagView::Sev = DiagnosticSeverity::Error

Definition at line 41 of file ErrorInternal.h.

Referenced by Cpp::drainError(), Cpp::GetDiagnosticSeverity(), and Cpp::makeError().


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