[lldb/Utility] Clean up Scalar constructors
authorPavel Labath <pavel@labath.sk>
Mon, 20 Jul 2020 14:42:01 +0000 (16:42 +0200)
committerPavel Labath <pavel@labath.sk>
Mon, 27 Jul 2020 08:06:56 +0000 (10:06 +0200)
commite89414f4060d3ff2afcd1c89fc028d61270c4d22
tree832fd9db6628b9bc95a5837ce62b9ec1bd62af0f
parent81d7ebaf5c369d42b77f9e3e47e2ac22c306ec04
[lldb/Utility] Clean up Scalar constructors

- move initialization to initializer lists
- make desctructor non-virtual (nothing else is)
- fix long double constructor so that it actually works
lldb/include/lldb/Utility/Scalar.h
lldb/source/Utility/Scalar.cpp
lldb/unittests/Utility/ScalarTest.cpp