summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime
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/Plugins/LanguageRuntime
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/Plugins/LanguageRuntime')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
index 9b27f433368..96ef6cb0345 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
@@ -56,11 +56,11 @@ AppleObjCRuntime::AppleObjCRuntime(Process *process) :
bool
AppleObjCRuntime::GetObjectDescription (Stream &str, ValueObject &valobj)
{
- CompilerType clang_type(valobj.GetCompilerType());
+ CompilerType compiler_type(valobj.GetCompilerType());
bool is_signed;
// ObjC objects can only be pointers (or numbers that actually represents pointers
// but haven't been typecast, because reasons..)
- if (!clang_type.IsIntegerType (is_signed) && !clang_type.IsPointerType ())
+ if (!compiler_type.IsIntegerType (is_signed) && !compiler_type.IsPointerType ())
return false;
// Make the argument list: we pass one arg, the address of our pointer, to the print function.
@@ -94,10 +94,10 @@ AppleObjCRuntime::GetObjectDescription (Stream &strm, Value &value, ExecutionCon
return false;
Target *target = exe_ctx.GetTargetPtr();
- CompilerType clang_type = value.GetCompilerType();
- if (clang_type)
+ CompilerType compiler_type = value.GetCompilerType();
+ if (compiler_type)
{
- if (!ClangASTContext::IsObjCObjectPointerType(clang_type))
+ if (!ClangASTContext::IsObjCObjectPointerType(compiler_type))
{
strm.Printf ("Value doesn't point to an ObjC object.\n");
return false;
@@ -120,10 +120,10 @@ AppleObjCRuntime::GetObjectDescription (Stream &strm, Value &value, ExecutionCon
// This is the return value:
ClangASTContext *ast_context = target->GetScratchClangASTContext();
- CompilerType return_clang_type = ast_context->GetCStringType(true);
+ CompilerType return_compiler_type = ast_context->GetCStringType(true);
Value ret;
-// ret.SetContext(Value::eContextTypeClangType, return_clang_type);
- ret.SetCompilerType (return_clang_type);
+// ret.SetContext(Value::eContextTypeClangType, return_compiler_type);
+ ret.SetCompilerType (return_compiler_type);
if (exe_ctx.GetFramePtr() == NULL)
{
@@ -148,7 +148,7 @@ AppleObjCRuntime::GetObjectDescription (Stream &strm, Value &value, ExecutionCon
{
Error error;
m_print_object_caller_up.reset(exe_scope->CalculateTarget()->GetFunctionCallerForLanguage (eLanguageTypeObjC,
- return_clang_type,
+ return_compiler_type,
*function_address,
arg_value_list,
"objc-object-description",
OpenPOWER on IntegriCloud