Files
clang-p2996/clang/lib/StaticAnalyzer/Checkers/UndefinedNewArraySizeChecker.cpp
isuckatcs a46154cb1c [analyzer] Warn if the size of the array in new[] is undefined
This patch introduces a new checker, called NewArraySize checker,
which detects if the expression that yields the element count of
the array in new[], results in an Undefined value.

Differential Revision: https://reviews.llvm.org/D131299
2022-09-04 23:06:58 +02:00

2.7 KiB