[Lldb-commits] [lldb] [LLDB] Add type casting to DIL, part 2 or 3 (PR #170332)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 9 02:47:25 PST 2025


================
@@ -46,6 +46,13 @@ enum class CastKind {
   eNone,        ///< Type promotion casting
 };
 
+/// Promotions allowed for type casts in DIL.
+enum CastPromotionKind {
+  eArithmetic,
+  ePointer,
+  eNone,
----------------
Michael137 wrote:

Can we comment on the individual enum cases what they represent. Maybe giving a small `C`/`C++` expression as an example

https://github.com/llvm/llvm-project/pull/170332


More information about the lldb-commits mailing list