[PATCH] D123352: [analyzer] Add FixItHint to `nullability.NullReturnedFromNonnull` and `nullability.NullableReturnedFromNonnull`

Moshe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 20 13:40:17 PDT 2022


MosheBerman updated this revision to Diff 424010.
MosheBerman edited the summary of this revision.
MosheBerman added a comment.

- Improved handling of `NS_ASSUME` and other edge cases/
- Added test cases, and changed the test to actually validate the output (not just the presence of fixits.)
- Cleaned up the diff.
- Updated the summary to include more detail and address some of the comments.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123352/new/

https://reviews.llvm.org/D123352

Files:
  clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
  clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  clang/test/Analysis/nullability-fixits.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123352.424010.patch
Type: text/x-patch
Size: 17158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220420/eb9cfc96/attachment-0001.bin>


More information about the cfe-commits mailing list