[PATCH] D71612: [analyzer] Add PlacementNewChecker

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 10 05:16:14 PST 2020


martong updated this revision to Diff 237290.
martong added a comment.

- Declare ElementCountNL in if stmt
- Use makeArrayIndex instead makeIntVal


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71612

Files:
  clang/docs/analyzer/checkers.rst
  clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
  clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
  clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
  clang/test/Analysis/placement-new-user-defined.cpp
  clang/test/Analysis/placement-new.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71612.237290.patch
Type: text/x-patch
Size: 13229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200110/fb89fc4f/attachment-0001.bin>


More information about the cfe-commits mailing list