1 //===-- ValueObjectConstResultChild.cpp ------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "lldb/Core/ValueObjectConstResultChild.h"
12 #include "lldb/Core/ValueObjectConstResult.h"
13 #include "lldb/Core/ValueObjectList.h"
15 #include "lldb/Symbol/ClangASTContext.h"
17 using namespace lldb_private;
19 ValueObjectConstResultChild::ValueObjectConstResultChild
22 const ClangASTType &clang_type,
23 const ConstString &name,
26 uint32_t bitfield_bit_size,
27 uint32_t bitfield_bit_offset,
29 bool is_deref_of_parent
31 ValueObjectChild (parent,
46 ValueObjectConstResultChild::~ValueObjectConstResultChild()
51 ValueObjectConstResultChild::Dereference (Error &error)
53 return m_impl.Dereference(error);
57 ValueObjectConstResultChild::GetSyntheticChildAtOffset(uint32_t offset, const ClangASTType& type, bool can_create)
59 return m_impl.GetSyntheticChildAtOffset(offset, type, can_create);
63 ValueObjectConstResultChild::AddressOf (Error &error)
65 return m_impl.AddressOf(error);
69 ValueObjectConstResultChild::CreateChildAtIndex (size_t idx, bool synthetic_array_member, int32_t synthetic_index)
71 return m_impl.CreateChildAtIndex(idx, synthetic_array_member, synthetic_index);
75 ValueObjectConstResultChild::GetPointeeData (DataExtractor& data,
79 return m_impl.GetPointeeData(data, item_idx, item_count);