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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to