]> granicus.if.org Git - clang/commit
[analyzer] NFC: Run many existing C++ tests with a custom operator new().
authorArtem Dergachev <artem.dergachev@gmail.com>
Wed, 24 Jan 2018 21:24:10 +0000 (21:24 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Wed, 24 Jan 2018 21:24:10 +0000 (21:24 +0000)
commit727e35225ee3b4578ee499f5df627a7f1e744a48
tree1077be6224e859fb4b3ba7a1475849690c0b4daa
parentd203f0ac27b618bcec806b68fec380ca73e2b916
[analyzer] NFC: Run many existing C++ tests with a custom operator new().

In order to provide more test coverage for inlined operator new(), 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, #ifs are provided.

Differential Revision: https://reviews.llvm.org/D42221

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323376 91177308-0d34-0410-b5e6-96231b3b80d8
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