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/Interpreter/OptionValueUInt64.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/Interpreter/OptionValueUInt64.cpp')
-rw-r--r-- | lldb/source/Interpreter/OptionValueUInt64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/OptionValueUInt64.cpp b/lldb/source/Interpreter/OptionValueUInt64.cpp index 3e12c030255..48de433d36c 100644 --- a/lldb/source/Interpreter/OptionValueUInt64.cpp +++ b/lldb/source/Interpreter/OptionValueUInt64.cpp @@ -14,7 +14,7 @@ // Other libraries and framework includes // Project includes #include "lldb/Core/Stream.h" -#include "lldb/Interpreter/Args.h" +#include "lldb/Host/StringConvert.h" using namespace lldb; using namespace lldb_private; @@ -58,7 +58,7 @@ OptionValueUInt64::SetValueFromCString (const char *value_cstr, VarSetOperationT case eVarSetOperationAssign: { bool success = false; - uint64_t value = Args::StringToUInt64 (value_cstr, 0, 0, &success); + uint64_t value = StringConvert::ToUInt64 (value_cstr, 0, 0, &success); if (success) { m_value_was_set = true; |