aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectWatchpoint.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/Commands/CommandObjectWatchpoint.cpp
parent74621cced742f10c4ba733793757a73d1bd60fa7 (diff)
downloadllvm-3ad353f3f44efdb9559adb4b690ef1b3098f0ad7.zip
llvm-3ad353f3f44efdb9559adb4b690ef1b3098f0ad7.tar.gz
llvm-3ad353f3f44efdb9559adb4b690ef1b3098f0ad7.tar.bz2
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/Commands/CommandObjectWatchpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectWatchpoint.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpoint.cpp b/lldb/source/Commands/CommandObjectWatchpoint.cpp
index d3b282e..7678be6 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();