Scalar: Use llvm integer conversion functions
authorPavel Labath <labath@google.com>
Tue, 19 Jun 2018 17:24:03 +0000 (17:24 +0000)
committerPavel Labath <labath@google.com>
Tue, 19 Jun 2018 17:24:03 +0000 (17:24 +0000)
commit61547259de2cb70c0343e5cf30596b9fecfa4c7a
tree267ff6e26f4922913ea72a6819aacc7f1853791f
parentbcd6416123e016dab7b681d21e4f66c9b6c20279
Scalar: Use llvm integer conversion functions

StringConvert was the only non-Utility dependency of this class. Getting
rid of it means it will be easy to move this class to a lower layer.

While I was in there, I also added a couple of unit tests for the Scalar
string conversion function.

llvm-svn: 335060
lldb/source/Core/Scalar.cpp
lldb/unittests/Core/CMakeLists.txt
lldb/unittests/Core/ScalarTest.cpp