diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-21 16:48:48 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-21 16:48:48 +0000 |
commit | 4ad833400f6bd31ab336dba247eaa1659b520921 (patch) | |
tree | 0032a8f21a53e1cdc665c03abe3d22df5829d2b0 /lldb/source/Core/ValueObject.cpp | |
parent | e46da3849afb727ff5b1a2b3fe984bf919b397c1 (diff) | |
download | bcm5719-llvm-4ad833400f6bd31ab336dba247eaa1659b520921.tar.gz bcm5719-llvm-4ad833400f6bd31ab336dba247eaa1659b520921.zip |
Rename GetChildClangTypeAtIndex to GetChildCompilerTypeAtIndex
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13020
llvm-svn: 248175
Diffstat (limited to 'lldb/source/Core/ValueObject.cpp')
-rw-r--r-- | lldb/source/Core/ValueObject.cpp | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp index 1ff487e923c..4dd7c553f3b 100644 --- a/lldb/source/Core/ValueObject.cpp +++ b/lldb/source/Core/ValueObject.cpp @@ -829,24 +829,24 @@ ValueObject::CreateChildAtIndex (size_t idx, bool synthetic_array_member, int32_ bool child_is_deref_of_parent = false; const bool transparent_pointers = synthetic_array_member == false; - CompilerType child_clang_type; + CompilerType child_compiler_type; ExecutionContext exe_ctx (GetExecutionContextRef()); - child_clang_type = GetCompilerType().GetChildClangTypeAtIndex (&exe_ctx, - idx, - transparent_pointers, - omit_empty_base_classes, - ignore_array_bounds, - child_name_str, - child_byte_size, - child_byte_offset, - child_bitfield_bit_size, - child_bitfield_bit_offset, - child_is_base_class, - child_is_deref_of_parent, - this); - if (child_clang_type) + child_compiler_type = GetCompilerType().GetChildCompilerTypeAtIndex (&exe_ctx, + idx, + transparent_pointers, + omit_empty_base_classes, + ignore_array_bounds, + child_name_str, + child_byte_size, + child_byte_offset, + child_bitfield_bit_size, + child_bitfield_bit_offset, + child_is_base_class, + child_is_deref_of_parent, + this); + if (child_compiler_type) { if (synthetic_index) child_byte_offset += child_byte_size * synthetic_index; @@ -856,7 +856,7 @@ ValueObject::CreateChildAtIndex (size_t idx, bool synthetic_array_member, int32_ child_name.SetCString (child_name_str.c_str()); valobj = new ValueObjectChild (*this, - child_clang_type, + child_compiler_type, child_name, child_byte_size, child_byte_offset, @@ -3725,32 +3725,32 @@ ValueObject::Dereference (Error &error) bool child_is_base_class = false; bool child_is_deref_of_parent = false; const bool transparent_pointers = false; - CompilerType clang_type = GetCompilerType(); - CompilerType child_clang_type; + CompilerType compiler_type = GetCompilerType(); + CompilerType child_compiler_type; ExecutionContext exe_ctx (GetExecutionContextRef()); - child_clang_type = clang_type.GetChildClangTypeAtIndex (&exe_ctx, - 0, - transparent_pointers, - omit_empty_base_classes, - ignore_array_bounds, - child_name_str, - child_byte_size, - child_byte_offset, - child_bitfield_bit_size, - child_bitfield_bit_offset, - child_is_base_class, - child_is_deref_of_parent, - this); - if (child_clang_type && child_byte_size) + child_compiler_type = compiler_type.GetChildCompilerTypeAtIndex (&exe_ctx, + 0, + transparent_pointers, + omit_empty_base_classes, + ignore_array_bounds, + child_name_str, + child_byte_size, + child_byte_offset, + child_bitfield_bit_size, + child_bitfield_bit_offset, + child_is_base_class, + child_is_deref_of_parent, + this); + if (child_compiler_type && child_byte_size) { ConstString child_name; if (!child_name_str.empty()) child_name.SetCString (child_name_str.c_str()); m_deref_valobj = new ValueObjectChild (*this, - child_clang_type, + child_compiler_type, child_name, child_byte_size, child_byte_offset, |