This prevents policy warnings in a few cases, and we want people to
opt-in to new policies, so make our examples copy'n'paste friendly.
Pick-to: 6.8
Task-number: QTBUG-126201
Task-number: QTBUG-126468
Change-Id: Iefa666b61c2d2f767da3583f0f6efd8e4a2169e5
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
FixSuggestion unfortunately still lacks class documentation, and we
probably need to rework the API before moving the module out of TP.
However, we should still show the basic usage of the module, including
fixit suggestions. Consequently, add a small example on how to write
FixSuggestions, and add a warning note that they should only be marked
as auto-applicable if the resulting code is still valid.
Pick-to: 6.6
Change-Id: I260021163e3afe2cda97fd82a9bf4e9c26a910e2
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>