[Lldb-commits] [lldb] [lldb] Add bitwise operators to DIL (PR #209768)
Ilia Kuklin via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 20 06:10:59 PDT 2026
================
@@ -559,6 +559,34 @@ Interpreter::Visit(const UnaryOpNode &node) {
}
return operand;
}
+ case UnaryOpKind::Not: {
+ llvm::Expected<lldb::ValueObjectSP> conv_op =
+ UnaryConversion(operand, node.GetLocation());
----------------
kuilpd wrote:
> Should we dereference reference operands before calling `UnaryConversion` here? The existing unary `+` and unary `-` branches already handle this by checking `IsReferenceType()` and calling `Dereference()` before the unary conversion.
You're right, thank you for noticing!
https://github.com/llvm/llvm-project/pull/209768
More information about the lldb-commits
mailing list