[all-commits] [llvm/llvm-project] 228ea8: [lldb/Utility] Simplify more Scalar methods
Pavel Labath via All-commits
all-commits at lists.llvm.org
Fri Jul 3 07:35:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 228ea815832a863bfd4da0f0fd67675e0a02cb88
https://github.com/llvm/llvm-project/commit/228ea815832a863bfd4da0f0fd67675e0a02cb88
Author: Pavel Labath <pavel at labath.sk>
Date: 2020-07-03 (Fri, 03 Jul 2020)
Changed paths:
M lldb/source/Utility/Scalar.cpp
Log Message:
-----------
[lldb/Utility] Simplify more Scalar methods
A lot of the methods handle all integral and all floating point types
the same way. They can be changed to switch on the category of the type,
instead of the actual type, saving a lot of boilerplate.
This patch does that for the methods where I could be reasonably certain
of their expected semantics.
More information about the All-commits
mailing list