[Lldb-commits] [clang] [lldb] Reland: [clang] fix P3310 overload resolution flag propagation (PR #125791)

Matheus Izvekov via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 6 11:18:40 PST 2025


mizvekov wrote:

> Actually, @mizvekov, can we make the `ClassTemplateSpecializationDecl::ClassTemplateSpecializationDecl(ASTContext &C, Kind DK)` constructor default initialize the `StrictPackMatch` member to false? In that case users of `CreateDeserialized` wouldn't need to worry about it being potentially uninitialized? Otherwise we'll have to expose a setter and call it from LLDB

On the ASTReader, we don't need a setter because it's friends with the class.

I'd worry a little bit about leaving it always set to a fixed value, this could be a hard to track bug in the future for the lldb folks, even if it's probably not observable right now.



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


More information about the lldb-commits mailing list