llvm-project/lldb/unittests/Core
Davide Italiano 49d802862d [Core] Grab-bag of improvements for Scalar.
Remove Scalar::Cast.

It was noted on the list that this method is unused. So, this patch
removes it.

Fix Scalar::Promote for most integer types

This fixes promotion of most integer types (128- and 256-bit types are
handled in a subsequent patch) to floating-point types. Previously
promotion was done bitwise, where value preservation is correct.

Fix Scalar::Promote for 128- and 256-bit integer types

This patch fixes the behavior of Scalar::Promote when trying to
perform a binary operation involving a 128- or 256-bit integer type
and a floating-point type. Now, the integer is cast to the floating
point type for the operation.

Patch by Tom Tromey!

Differential Revision:  https://reviews.llvm.org/D44907

llvm-svn: 328985
2018-04-02 16:50:54 +00:00
..
BroadcasterTest.cpp Fix build failure in unit test. 2017-04-06 21:57:39 +00:00
CMakeLists.txt Move ArchSpec to the Utility module 2017-11-13 16:16:33 +00:00
DataExtractorTest.cpp Fix dumping of characters with non-standard sizes 2017-10-11 08:48:18 +00:00
ListenerTest.cpp Use Timeout<> in the Listener class 2016-11-30 10:41:42 +00:00
ScalarTest.cpp [Core] Grab-bag of improvements for Scalar. 2018-04-02 16:50:54 +00:00
StateTest.cpp Add format_provider for lldb::StateType 2017-01-24 11:48:25 +00:00
StreamCallbackTest.cpp Move many other files from Core -> Utility. 2017-03-06 18:34:25 +00:00