Rename clang_type -> compiler_type for variables.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13102
llvm-svn: 248461
diff --git a/lldb/source/Symbol/GoASTContext.cpp b/lldb/source/Symbol/GoASTContext.cpp
index aa29a15..6ba6190 100644
--- a/lldb/source/Symbol/GoASTContext.cpp
+++ b/lldb/source/Symbol/GoASTContext.cpp
@@ -656,15 +656,15 @@
}
uint32_t
-GoASTContext::GetTypeInfo(lldb::opaque_compiler_type_t type, CompilerType *pointee_or_element_clang_type)
+GoASTContext::GetTypeInfo(lldb::opaque_compiler_type_t type, CompilerType *pointee_or_element_compiler_type)
{
- if (pointee_or_element_clang_type)
- pointee_or_element_clang_type->Clear();
+ if (pointee_or_element_compiler_type)
+ pointee_or_element_compiler_type->Clear();
if (!type)
return 0;
GoType *t = static_cast<GoType *>(type);
- if (pointee_or_element_clang_type)
- *pointee_or_element_clang_type = t->GetElementType();
+ if (pointee_or_element_compiler_type)
+ *pointee_or_element_compiler_type = t->GetElementType();
int kind = t->GetGoKind();
if (kind == GoType::KIND_ARRAY)
return eTypeHasChildren | eTypeIsArray;
@@ -1254,12 +1254,12 @@
GoType *t = static_cast<GoType *>(type);
if (t->IsTypedef())
{
- CompilerType typedef_clang_type = t->GetElementType();
+ CompilerType typedef_compiler_type = t->GetElementType();
if (format == eFormatDefault)
- format = typedef_clang_type.GetFormat();
- uint64_t typedef_byte_size = typedef_clang_type.GetByteSize(exe_scope);
+ format = typedef_compiler_type.GetFormat();
+ uint64_t typedef_byte_size = typedef_compiler_type.GetByteSize(exe_scope);
- return typedef_clang_type.DumpTypeValue(
+ return typedef_compiler_type.DumpTypeValue(
s,
format, // The format with which to display the element
data, // Data buffer containing all bytes for this type