From 3ad353f3f44efdb9559adb4b690ef1b3098f0ad7 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Thu, 24 Sep 2015 03:54:50 +0000 Subject: Rename clang_type -> compiler_type for variables. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13102 llvm-svn: 248461 --- lldb/source/Commands/CommandObjectWatchpoint.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lldb/source/Commands/CommandObjectWatchpoint.cpp') diff --git a/lldb/source/Commands/CommandObjectWatchpoint.cpp b/lldb/source/Commands/CommandObjectWatchpoint.cpp index d3b282e2c60..7678be65f48 100644 --- a/lldb/source/Commands/CommandObjectWatchpoint.cpp +++ b/lldb/source/Commands/CommandObjectWatchpoint.cpp @@ -1048,7 +1048,7 @@ protected: valobj_sp = valobj_list.GetValueObjectAtIndex(0); } - CompilerType clang_type; + CompilerType compiler_type; if (valobj_sp) { @@ -1061,7 +1061,7 @@ protected: size = m_option_watchpoint.watch_size == 0 ? valobj_sp->GetByteSize() : m_option_watchpoint.watch_size; } - clang_type = valobj_sp->GetCompilerType(); + compiler_type = valobj_sp->GetCompilerType(); } else { @@ -1078,7 +1078,7 @@ protected: uint32_t watch_type = m_option_watchpoint.watch_type; error.Clear(); - Watchpoint *wp = target->CreateWatchpoint(addr, size, &clang_type, watch_type, error).get(); + Watchpoint *wp = target->CreateWatchpoint(addr, size, &compiler_type, watch_type, error).get(); if (wp) { wp->SetWatchSpec(command.GetArgumentAtIndex(0)); @@ -1295,10 +1295,10 @@ protected: // Fetch the type from the value object, the type of the watched object is the pointee type /// of the expression, so convert to that if we found a valid type. - CompilerType clang_type(valobj_sp->GetCompilerType()); + CompilerType compiler_type(valobj_sp->GetCompilerType()); Error error; - Watchpoint *wp = target->CreateWatchpoint(addr, size, &clang_type, watch_type, error).get(); + Watchpoint *wp = target->CreateWatchpoint(addr, size, &compiler_type, watch_type, error).get(); if (wp) { Stream &output_stream = result.GetOutputStream(); -- cgit v1.2.3