[lldb/Utility] Use APSInt in the Scalar class
authorPavel Labath <pavel@labath.sk>
Mon, 24 Aug 2020 12:03:17 +0000 (14:03 +0200)
committerPavel Labath <pavel@labath.sk>
Thu, 27 Aug 2020 13:05:47 +0000 (15:05 +0200)
commit219ccdfddecb963971ad14b5c14220b896d2c2e7
tree8a074e4a243ae523fae191ab9b2f1650bc700daf
parent4e29d256694131cd8799b4aeccd1af42c3a2b7dd
[lldb/Utility] Use APSInt in the Scalar class

This enables us to further simplify some code because it no longer needs
to switch on the signedness of the type (APSInt handles that).
lldb/include/lldb/Utility/Scalar.h
lldb/source/Utility/Scalar.cpp
lldb/unittests/Utility/ScalarTest.cpp