[Lldb-commits] [lldb] [lldb] Improve diagnostic when a variable being assigned isn't an lvalue (PR #216624)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 17 11:48:15 PDT 2026


================

----------------
adrian-prantl wrote:

The correct way to emit notes is to access the expression evaluator's diagnostics object. Can this be threaded through here?

More importantly: How do you know *here* that there is an assignment? Should this note be produced higher up in the Expression Evaluator, where we can actually be sure about that?

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


More information about the lldb-commits mailing list