[PATCH] D108695: [analyzer][NFCI] Allow clients of NoStateChangeFuncVisitor to check entire function calls, rather than each ExplodedNode in it
Kristóf Umann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 1 08:24:09 PDT 2021
Szelethus updated this revision to Diff 369935.
Szelethus marked 5 inline comments as done.
Szelethus added a comment.
Herald added a subscriber: mgorny.
- Make sure that the matching CallExitEnd is retrieved.
- Add a unit test to neatly demonstrate how the visitor is intended to be used.
- Fix the rest of the nits.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108695/new/
https://reviews.llvm.org/D108695
Files:
clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
clang/unittests/StaticAnalyzer/CMakeLists.txt
clang/unittests/StaticAnalyzer/CallEventTest.cpp
clang/unittests/StaticAnalyzer/CheckerRegistration.h
clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp
clang/unittests/StaticAnalyzer/NoStateChangeFuncVisitorTest.cpp
clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108695.369935.patch
Type: text/x-patch
Size: 31977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210901/f28afed8/attachment-0001.bin>
More information about the cfe-commits
mailing list