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

via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 16 15:49:22 PST 2025


================
@@ -740,16 +764,182 @@ Interpreter::Visit(const BooleanLiteralNode *node) {
   return ValueObject::CreateValueObjectFromBool(m_target, value, "result");
 }
 
+llvm::Expected<CastKind>
+Interpreter::VerifyCastType(lldb::ValueObjectSP operand, CompilerType op_type,
+                            CompilerType target_type, int location) {
+
+  if (target_type.IsScalarType()) {
----------------
cmtice wrote:

Done.

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


More information about the lldb-commits mailing list