[PATCH] D40560: [analyzer] Get construction into `operator new` running in simple cases.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 11 16:16:09 PST 2018


NoQ updated this revision to Diff 129552.
NoQ added a comment.

Add a stronger assertion: when ending an inlined call, assert that no stale allocator values remain.


https://reviews.llvm.org/D40560

Files:
  include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
  lib/StaticAnalyzer/Core/ExprEngine.cpp
  lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
  lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  test/Analysis/inline.cpp
  test/Analysis/new-ctor-conservative.cpp
  test/Analysis/new-ctor-inlined.cpp
  test/Analysis/new-ctor-recursive.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40560.129552.patch
Type: text/x-patch
Size: 22396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180112/7fa920ee/attachment-0001.bin>


More information about the cfe-commits mailing list