Skip to content

Correct -Wpartial-fields warning to say "Definition" rather than "Use"

Adam Gundry requested to merge wip/amg/T24710 into master

Fixes #24710. The message and documentation for -Wpartial-fields were misleading as (a) the warning occurs at definition sites rather than use sites, and (b) the warning relates to the definition of a field independently of the selector function (e.g. because record updates are also partial).

@MangoIV hopefully this makes things clearer?

Merge request reports