aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectLog.cpp
diff options
context:
space:
mode:
authorVince Harron <vharron@google.com>2015-01-15 20:08:35 +0000
committerVince Harron <vharron@google.com>2015-01-15 20:08:35 +0000
commit5275aaa0cc7fe845e2556cfc66a37cac6d9f3731 (patch)
treeaf178ddbda5967dbc61583ea733d5ad1be5ea436 /lldb/source/Commands/CommandObjectLog.cpp
parent66c9fb0d52b00d81a2f7c98f493ff86f72de045c (diff)
downloadllvm-5275aaa0cc7fe845e2556cfc66a37cac6d9f3731.zip
llvm-5275aaa0cc7fe845e2556cfc66a37cac6d9f3731.tar.gz
llvm-5275aaa0cc7fe845e2556cfc66a37cac6d9f3731.tar.bz2
Moved Args::StringToXIntYZ to StringConvert::ToXIntYZ
The refactor was motivated by some comments that Greg made http://reviews.llvm.org/D6918 and also to break a dependency cascade that caused functions linking in string->int conversion functions to pull in most of lldb llvm-svn: 226199
Diffstat (limited to 'lldb/source/Commands/CommandObjectLog.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectLog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectLog.cpp b/lldb/source/Commands/CommandObjectLog.cpp
index 7d32cc6..aa09f53 100644
--- a/lldb/source/Commands/CommandObjectLog.cpp
+++ b/lldb/source/Commands/CommandObjectLog.cpp
@@ -29,6 +29,7 @@
#include "lldb/Core/Timer.h"
#include "lldb/Core/Debugger.h"
+#include "lldb/Host/StringConvert.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandReturnObject.h"
@@ -444,7 +445,7 @@ protected:
if (strcasecmp(sub_command, "enable") == 0)
{
bool success;
- uint32_t depth = Args::StringToUInt32(args.GetArgumentAtIndex(1), 0, 0, &success);
+ uint32_t depth = StringConvert::ToUInt32(args.GetArgumentAtIndex(1), 0, 0, &success);
if (success)
{
Timer::SetDisplayDepth (depth);