LLDB mainline
lldb_private::dil::DILDiagnosticError Class Reference

#include <DILParser.h>

Inheritance diagram for lldb_private::dil::DILDiagnosticError:
[legend]

Public Member Functions

 DILDiagnosticError (DiagnosticDetail detail)
 DILDiagnosticError (llvm::StringRef expr, const std::string &message, uint32_t loc, uint16_t err_len=1)
std::unique_ptr< CloneableErrorClone () const override
llvm::ArrayRef< DiagnosticDetailGetDetails () const override
std::string message () const override

Private Attributes

DiagnosticDetail m_detail

Detailed Description

Definition at line 35 of file DILParser.h.

Constructor & Destructor Documentation

◆ DILDiagnosticError() [1/2]

lldb_private::dil::DILDiagnosticError::DILDiagnosticError ( DiagnosticDetail detail)
inline

Definition at line 41 of file DILParser.h.

References m_detail.

◆ DILDiagnosticError() [2/2]

lldb_private::dil::DILDiagnosticError::DILDiagnosticError ( llvm::StringRef expr,
const std::string & message,
uint32_t loc,
uint16_t err_len = 1 )

Definition at line 29 of file DILParser.cpp.

References lldb::eSeverityError, m_detail, and message().

Member Function Documentation

◆ Clone()

std::unique_ptr< CloneableError > lldb_private::dil::DILDiagnosticError::Clone ( ) const
inlineoverride

Definition at line 48 of file DILParser.h.

References m_detail.

◆ GetDetails()

llvm::ArrayRef< DiagnosticDetail > lldb_private::dil::DILDiagnosticError::GetDetails ( ) const
inlineoverride

Definition at line 52 of file DILParser.h.

References m_detail.

◆ message()

std::string lldb_private::dil::DILDiagnosticError::message ( ) const
inlineoverride

Definition at line 56 of file DILParser.h.

References m_detail.

Referenced by DILDiagnosticError().

Member Data Documentation

◆ m_detail

DiagnosticDetail lldb_private::dil::DILDiagnosticError::m_detail
private

Definition at line 37 of file DILParser.h.

Referenced by Clone(), DILDiagnosticError(), DILDiagnosticError(), GetDetails(), and message().


The documentation for this class was generated from the following files: