summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/GoASTContext.cpp
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-09-24 03:54:50 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-09-24 03:54:50 +0000
commit3ad353f3f44efdb9559adb4b690ef1b3098f0ad7 (patch)
treefc788af6e694010ed13aa581319bedba6f2102b1 /lldb/source/Symbol/GoASTContext.cpp
parent74621cced742f10c4ba733793757a73d1bd60fa7 (diff)
downloadbcm5719-llvm-3ad353f3f44efdb9559adb4b690ef1b3098f0ad7.tar.gz
bcm5719-llvm-3ad353f3f44efdb9559adb4b690ef1b3098f0ad7.zip
Rename clang_type -> compiler_type for variables.
Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13102 llvm-svn: 248461
Diffstat (limited to 'lldb/source/Symbol/GoASTContext.cpp')
-rw-r--r--lldb/source/Symbol/GoASTContext.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lldb/source/Symbol/GoASTContext.cpp b/lldb/source/Symbol/GoASTContext.cpp
index aa29a154f73..6ba619087bc 100644
--- a/lldb/source/Symbol/GoASTContext.cpp
+++ b/lldb/source/Symbol/GoASTContext.cpp
@@ -656,15 +656,15 @@ GoASTContext::GetTypeName(lldb::opaque_compiler_type_t type)
}
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 @@ GoASTContext::DumpTypeValue(lldb::opaque_compiler_type_t type, Stream *s, lldb::
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
OpenPOWER on IntegriCloud