[Lldb-commits] [lldb] [lldb] Restrict expressions to one top-level assignment in DIL (PR #214348)

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 14 15:01:44 PDT 2026


kuilpd wrote:

> This is good, but I would want to suggest we reconsider even having += in DIL. I am not sure this extra complexity is worth it.

Thanks for the review! I would also like to hear what @jimingham would say about this.

`+=` and `-=` don't really add any complexity, it all comes from just `=` itself. Composite assignments just call the regular operator on top of the assignment, that's all. They don't even add any performance overhead, since the operator is just picked in a switch statement.

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


More information about the lldb-commits mailing list