[PATCH] D42221: [analyzer] NFC: See if existing C++ tests work with custom operator new().
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 17 17:31:33 PST 2018
NoQ created this revision.
NoQ added reviewers: dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet.
Herald added subscribers: cfe-commits, rnkovacs.
NoQ added a dependency: D42219: [analyzer] Enable c++-allocator-inlining by default?.
In order to provide more test coverage for inlined `operator new()`, i propose we add more run-lines to existing test cases, which would trigger our fake header to provide a body for `operator new()`. Most of the code should still behave reasonably. When behavior intentionally changes, `#if`s are provided.
Repository:
rC Clang
https://reviews.llvm.org/D42221
Files:
test/Analysis/Inputs/system-header-simulator-cxx.h
test/Analysis/MismatchedDeallocator-checker-test.mm
test/Analysis/NewDelete-checker-test.cpp
test/Analysis/NewDelete-intersections.mm
test/Analysis/ctor.mm
test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp
test/Analysis/initializer.cpp
test/Analysis/inlining/containers.cpp
test/Analysis/malloc.cpp
test/Analysis/new.cpp
test/Analysis/uninit-const.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42221.130336.patch
Type: text/x-patch
Size: 11110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180118/bdf645b7/attachment.bin>
More information about the cfe-commits
mailing list