[Lldb-commits] [lldb] add explicit default initialization to DemangledNameInfo to remove warning (PR #141790)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Wed May 28 10:28:45 PDT 2025
charles-zablit wrote:
> The warning in question is `-Wmissing-field-initializers`, which is warning that in the unit test not all fields of this struct are explicitly initialized. Even if these fields are optional, I think this is the wrong way to address this: we should either update the unit tests to initialize those fields by adding `{}, {}`, or add a constructor with default arguments.
I agree, this is more explicit.
https://github.com/llvm/llvm-project/pull/141790
More information about the lldb-commits
mailing list