LLDB mainline
lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks Class Reference
Inheritance diagram for lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks:
[legend]

Public Member Functions

 LLDBPreprocessorCallbacks (ClangModulesDeclVendor &decl_vendor, ClangPersistentVariables &persistent_vars, clang::SourceManager &source_mgr)
void moduleImport (SourceLocation import_location, clang::ModuleIdPath path, const clang::Module *) override
bool hasErrors ()
llvm::StringRef getErrorString ()

Private Attributes

ClangModulesDeclVendorm_decl_vendor
ClangPersistentVariablesm_persistent_vars
clang::SourceManager & m_source_mgr
StreamString m_error_stream
bool m_has_errors = false

Detailed Description

Definition at line 112 of file ClangExpressionParser.cpp.

Constructor & Destructor Documentation

◆ LLDBPreprocessorCallbacks()

lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::LLDBPreprocessorCallbacks ( ClangModulesDeclVendor & decl_vendor,
ClangPersistentVariables & persistent_vars,
clang::SourceManager & source_mgr )
inline

Definition at line 120 of file ClangExpressionParser.cpp.

References m_decl_vendor, m_persistent_vars, and m_source_mgr.

Member Function Documentation

◆ getErrorString()

llvm::StringRef lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::getErrorString ( )
inline

Definition at line 153 of file ClangExpressionParser.cpp.

References m_error_stream.

◆ hasErrors()

bool lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::hasErrors ( )
inline

Definition at line 151 of file ClangExpressionParser.cpp.

References m_has_errors.

◆ moduleImport()

void lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::moduleImport ( SourceLocation import_location,
clang::ModuleIdPath path,
const clang::Module *  )
inlineoverride

Member Data Documentation

◆ m_decl_vendor

ClangModulesDeclVendor& lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::m_decl_vendor
private

Definition at line 113 of file ClangExpressionParser.cpp.

Referenced by LLDBPreprocessorCallbacks(), and moduleImport().

◆ m_error_stream

StreamString lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::m_error_stream
private

Definition at line 116 of file ClangExpressionParser.cpp.

Referenced by getErrorString(), and moduleImport().

◆ m_has_errors

bool lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::m_has_errors = false
private

Definition at line 117 of file ClangExpressionParser.cpp.

Referenced by hasErrors(), and moduleImport().

◆ m_persistent_vars

ClangPersistentVariables& lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::m_persistent_vars
private

Definition at line 114 of file ClangExpressionParser.cpp.

Referenced by LLDBPreprocessorCallbacks(), and moduleImport().

◆ m_source_mgr

clang::SourceManager& lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::m_source_mgr
private

Definition at line 115 of file ClangExpressionParser.cpp.

Referenced by LLDBPreprocessorCallbacks(), and moduleImport().


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