[PATCH] D123352: [analyzer] Add FixItHint to `nullability.NullReturnedFromNonnull` and `nullability.NullableReturnedFromNonnull`
Moshe via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 8 10:44:00 PDT 2022
MosheBerman updated this revision to Diff 421587.
MosheBerman added a comment.
- Changed the ShowFixIts flag to be per-checker.
- Added support for syntax sugar (`nullable` vs `_Nullable`)
- Pass FixItHint through, so we can do that.
- Changed tests to use `-fdiagnostics-parseable-fixits`.
This doesn't yet account for removing existing `_Nonnull` local annotations, but I want to make sure we can get tests working first and/or determine if a tidy is a better approach.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13020 bytes
Desc: not available
More information about the cfe-commits