[PATCH] D131299: [analyzer] Warn if the size of the array in `new[]` is undefined

Domján Dániel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 4 14:07:22 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa46154cb1cd0: [analyzer] Warn if the size of the array in `new[]` is undefined (authored by isuckatcs).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131299

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/MallocChecker.cpp
  clang/lib/StaticAnalyzer/Checkers/UndefinedNewArraySizeChecker.cpp
  clang/test/Analysis/Issue56873.cpp
  clang/test/Analysis/undefined-new-element.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131299.457872.patch
Type: text/x-patch
Size: 9488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220904/5101a630/attachment-0001.bin>


More information about the cfe-commits mailing list