[Lldb-commits] [PATCH] D85836: [lldb/Utility] Simplify and generalize Scalar class

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 12 08:44:29 PDT 2020


JDevlieghere added inline comments.


================
Comment at: lldb/include/lldb/Utility/Scalar.h:258
 
+  static Type PromoteToMaxType(const Scalar &lhs, const Scalar &rhs,
+                               Scalar &temp_value,
----------------
I really hate this signature. How do you feel about having this return a struct with the Type, the temp Scalar and the two references? That doesn't have to be part of this patch though. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85836/new/

https://reviews.llvm.org/D85836



More information about the lldb-commits mailing list