================
@@ -40,12 +40,21 @@ enum class UnaryOpKind {
/// The type casts allowed by DIL.
enum class CastKind {
+ eArithmetic, ///< Casting to a scalar.
eEnumeration, ///< Casting from a scalar to an enumeration type
eNullptr, ///< Casting to a nullptr type
+ ePointer, ///< Casting to a pointer type.
eReference, ///< Casting to a reference type
- eNone, ///< Type promotion casting
+ eNone, ///< Invalid promotion type (results in error).
};
+/// Promotions allowed for type casts in DIL.
+//enum CastPromotionKind {
+// eArithmetic, ///< Casting to a scalar.
+// ePointer, ///< Casting to a pointer type.
+// eNone, ///< Invalid promotion type (results in error).
+//};
+
----------------
Michael137 wrote:
Is this meant to be here?
https://github.com/llvm/llvm-project/pull/170332
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits