LLDB mainline
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MissingDeclContext Struct Reference

Error class for handling problems when finding a certain DeclContext. More...

Inheritance diagram for MissingDeclContext:
Inheritance graph
[legend]

Public Member Functions

 MissingDeclContext (DeclContext *context, std::string error)
 
void log (llvm::raw_ostream &OS) const override
 
std::error_code convertToErrorCode () const override
 

Public Attributes

DeclContext * m_context
 
std::string m_error
 

Static Public Attributes

static char ID = 0
 

Detailed Description

Error class for handling problems when finding a certain DeclContext.

Definition at line 99 of file CxxModuleHandler.cpp.

Constructor & Destructor Documentation

◆ MissingDeclContext()

MissingDeclContext::MissingDeclContext ( DeclContext *  context,
std::string  error 
)
inline

Definition at line 103 of file CxxModuleHandler.cpp.

Member Function Documentation

◆ convertToErrorCode()

std::error_code MissingDeclContext::convertToErrorCode ( ) const
inlineoverride

Definition at line 114 of file CxxModuleHandler.cpp.

◆ log()

void MissingDeclContext::log ( llvm::raw_ostream &  OS) const
inlineoverride

Definition at line 109 of file CxxModuleHandler.cpp.

References m_context, m_error, and lldb_private::OS.

Member Data Documentation

◆ ID

char MissingDeclContext::ID = 0
static

Definition at line 101 of file CxxModuleHandler.cpp.

◆ m_context

DeclContext* MissingDeclContext::m_context

Definition at line 106 of file CxxModuleHandler.cpp.

Referenced by log().

◆ m_error

std::string MissingDeclContext::m_error

Definition at line 107 of file CxxModuleHandler.cpp.

Referenced by log().


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