[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 marked 2 inline comments as done.
vrnithinkumar added inline comments.
================
Comment at: clang/include/clang/StaticAnalyzer/Checkers/Checkers.td:574
-def SmartPtrModeling: Checker<"SmartPtr">,
+def SmartPtrModeling: Checker<"SmartPtrModeling">,
HelpText<"Model behavior of C++ smart pointers">,
----------------
Changed the modeling to `SmartPtrModeling` and named checker to `SmartPtr`
================
Comment at: clang/include/clang/StaticAnalyzer/Checkers/Checkers.td:579
+ CmdLineOption<Boolean,
+ "ModelSmartPtrDereference",
+ "Enable modeling for SmartPtr null dereferences",
----------------
Using this flag to enable and disable modeling of SmartPtr null dereferences
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81315/new/
https://reviews.llvm.org/D81315
More information about the cfe-commits
mailing list