[PATCH] D81315: [analyzer] Warning for default constructed unique pointer dereferences
Nithin VR via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 2 05:52:49 PDT 2020
vrnithinkumar updated this revision to Diff 275076.
vrnithinkumar marked 14 inline comments as done.
vrnithinkumar added a comment.
Herald added a subscriber: mgorny.
- Created a new checker for smart point derference diagnostic
- Moved checking part to this checker
- Kept all the modeling in `SmartPtrModeling`
- Created a header file for shared API -calls
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81315/new/
https://reviews.llvm.org/D81315
Files:
clang/docs/analyzer/checkers.rst
clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
clang/lib/StaticAnalyzer/Checkers/SmartPtr.h
clang/lib/StaticAnalyzer/Checkers/SmartPtrChecker.cpp
clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
clang/test/Analysis/Inputs/system-header-simulator-cxx.h
clang/test/Analysis/analyzer-config.c
clang/test/Analysis/smart-ptr.cpp
clang/test/Analysis/use-after-move.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81315.275076.patch
Type: text/x-patch
Size: 24139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200702/1be22cd4/attachment-0001.bin>
More information about the cfe-commits
mailing list