diff options
author | Vince Harron <vharron@google.com> | 2015-01-15 20:08:35 +0000 |
---|---|---|
committer | Vince Harron <vharron@google.com> | 2015-01-15 20:08:35 +0000 |
commit | 5275aaa0cc7fe845e2556cfc66a37cac6d9f3731 (patch) | |
tree | af178ddbda5967dbc61583ea733d5ad1be5ea436 /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 66c9fb0d52b00d81a2f7c98f493ff86f72de045c (diff) | |
download | bcm5719-llvm-5275aaa0cc7fe845e2556cfc66a37cac6d9f3731.tar.gz bcm5719-llvm-5275aaa0cc7fe845e2556cfc66a37cac6d9f3731.zip |
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/CommandObjectExpression.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectExpression.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index b4c559c81cc..e87399f97ba 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -15,7 +15,6 @@ // C++ Includes // Other libraries and framework includes // Project includes -#include "lldb/Interpreter/Args.h" #include "lldb/Core/Value.h" #include "lldb/Core/ValueObjectVariable.h" #include "lldb/DataFormatters/ValueObjectPrinter.h" @@ -24,6 +23,7 @@ #include "lldb/Expression/ClangFunction.h" #include "lldb/Expression/DWARFExpression.h" #include "lldb/Host/Host.h" +#include "lldb/Host/StringConvert.h" #include "lldb/Core/Debugger.h" #include "lldb/Interpreter/CommandInterpreter.h" #include "lldb/Interpreter/CommandReturnObject.h" @@ -119,7 +119,7 @@ CommandObjectExpression::CommandOptions::SetOptionValue (CommandInterpreter &int { bool success; uint32_t result; - result = Args::StringToUInt32(option_arg, 0, 0, &success); + result = StringConvert::ToUInt32(option_arg, 0, 0, &success); if (success) timeout = result; else |