[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] Remove intrusive reference count from `DiagnosticOptions` (PR #139584)

James Y Knight via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 20 08:18:58 PDT 2025


jyknight wrote:

> Thanks for the concrete example! [..]

I just wanted to thank you (a bit late) for the explanation above, it was really helpful!

> FWIW I'd like to get rid of the reference count of DiagnosticsEngine too, and make the lifetimes stricter and more explicit, but that's a lower priority compared to the DiagnosticOptions refactor for me.

I do hope that will happen someday, because that does seem to be a key part of the confusion here. But I totally understand about the priority.

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


More information about the lldb-commits mailing list