Value::Value(clang::QualType clangTy, Interpreter& Interp): m_StorageType(determineStorageType(clangTy)), m_Type(clangTy.getAsOpaquePtr()), m_Interpreter(&Interp) { if (needsManagedAllocation()) ManagedAllocate(); }
CompilerType::CompilerType(clang::ASTContext *ast, clang::QualType qual_type) : m_type(qual_type.getAsOpaquePtr()), m_type_system(ClangASTContext::GetASTContext(ast)) { #ifdef LLDB_CONFIGURATION_DEBUG if (m_type) assert(m_type_system != nullptr); #endif }
void CompilerType::SetCompilerType (clang::ASTContext *ast, clang::QualType qual_type) { m_type_system = ClangASTContext::GetASTContext(ast); m_type = qual_type.getAsOpaquePtr(); }
CompilerType::CompilerType(clang::ASTContext *ast, clang::QualType qual_type) : m_type(qual_type.getAsOpaquePtr()), m_type_system(ClangASTContext::GetASTContext(ast)) { if (m_type) assert(m_type_system != nullptr); }
Value::Value(clang::QualType clangTy, Interpreter* Interp): m_Type(clangTy.getAsOpaquePtr()) { if (needsManagedAllocation()) ManagedAllocate(Interp); }