LLDB mainline
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
lldb_private::OptionParseError Class Reference

An llvm::Error that represents an option parsing diagnostic. More...

Inheritance diagram for lldb_private::OptionParseError:
Inheritance graph
[legend]

Public Member Functions

 OptionParseError (DiagnosticDetail detail)
 
 OptionParseError (const Args::ArgEntry &arg, std::string msg)
 
std::unique_ptr< CloneableErrorClone () const override
 
llvm::ArrayRef< DiagnosticDetailGetDetails () const override
 

Static Public Attributes

static char ID
 

Private Attributes

std::vector< DiagnosticDetailm_details
 

Detailed Description

An llvm::Error that represents an option parsing diagnostic.

Definition at line 32 of file Options.cpp.

Constructor & Destructor Documentation

◆ OptionParseError() [1/2]

lldb_private::OptionParseError::OptionParseError ( DiagnosticDetail  detail)
inline

Definition at line 38 of file Options.cpp.

◆ OptionParseError() [2/2]

lldb_private::OptionParseError::OptionParseError ( const Args::ArgEntry arg,
std::string  msg 
)
inline

Member Function Documentation

◆ Clone()

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

Definition at line 50 of file Options.cpp.

References m_details.

◆ GetDetails()

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

Definition at line 53 of file Options.cpp.

References m_details.

Member Data Documentation

◆ ID

char lldb_private::OptionParseError::ID
static

Definition at line 56 of file Options.cpp.

◆ m_details

std::vector<DiagnosticDetail> lldb_private::OptionParseError::m_details
private

Definition at line 34 of file Options.cpp.

Referenced by Clone(), GetDetails(), and OptionParseError().


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