[PATCH] D118657: Adds TrustReturnsNonnullChecker
Rashmi Mudduluru via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 31 14:40:11 PST 2022
t-rasmud created this revision.
t-rasmud added reviewers: dcoughlin, dergachev.a.
Herald added subscribers: martong, JDevlieghere, mgorny.
t-rasmud requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This checker adds nullability-related assumptions to methods annotated with `returns_nonnull` attribute.
https://reviews.llvm.org/D118657
Files:
clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
clang/lib/StaticAnalyzer/Checkers/TrustReturnsNonnullChecker.cpp
clang/test/Analysis/analyzer-enabled-checkers.c
clang/test/Analysis/returns_nonnull-attribute.cpp
clang/test/Analysis/std-c-library-functions-arg-enabled-checkers.c
llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118657.404737.patch
Type: text/x-patch
Size: 5643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220131/ebdfef8b/attachment.bin>
More information about the llvm-commits
mailing list