History log of /external/clang/test/CodeGenCXX/new.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ef8225444452a1486bd721f3285301fe84643b00 21-Jul-2014 Stephen Hines <srhines@google.com> Update Clang for rebase to r212749.

This also fixes a small issue with arm_neon.h not being generated always.

Includes a cherry-pick of:
r213450 - fixes mac-specific header issue
r213126 - removes a default -Bsymbolic on Android

Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/test/CodeGenCXX/new.cpp
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/test/CodeGenCXX/new.cpp
93ab6bf534fb6c26563c00f28a8fc5581bb71dfd 15-Aug-2013 Stephen Lin <stephenwlin@gmail.com> CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
ddcff1b310b80b63f1a9ba88f2befeab40c3648f 22-Jul-2013 Richard Smith <richard-llvm@metafoo.co.uk> Tighten up the set of operator new/operator delete calls we're permitted to
optimize, to follow the permissions granted in N3664. Under those rules, only
calls generated by new-expressions and delete-expressions are permitted to be
optimized, and direct calls to ::operator new and ::operator delete must be
treated as normal calls.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
b41ba1aa47a66979df578074de3c218d820c152d 25-Aug-2012 Eli Friedman <eli.friedman@gmail.com> Fix a CodeGen bug where we would skip zero-initialization for
array new with a non-trivial constructor. Pointed out in PR13380.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162643 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
22cfaf512e4f66105fb1f8dd39e0a77787fbdf9b 16-Feb-2012 Eli Friedman <eli.friedman@gmail.com> Elide copy construction in new expressions. PR11757.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150738 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
40563cd5ea402b7a0db13058ee869a77cd1ab5ee 10-Dec-2011 Eli Friedman <eli.friedman@gmail.com> Make array new on a pointer to data member type work correctly. PR11523.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
c3c0766277cd64bf117450a1519c9cf762d994d4 13-Jul-2011 John McCall <rjmccall@apple.com> Convert the standard default-construction loops to use phis and
partial destruction.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
d0e8b782787638bcc9c57022e47c28d3529f02d4 27-Jun-2011 Douglas Gregor <dgregor@apple.com> When instantiating a C++ "new" expression, don't fake source locations
for the '(' and ')' around the initializer unless we actually have an
initializer. Fixes PR10197, an issue where we were value-initializing
rather than default-initializing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
b1c98a35fbd49d6404a72db4aca2ceda352380c7 16-May-2011 John McCall <rjmccall@apple.com> Don't actually emit calls to the reserved global placement new and delete
operators; their semantics are guaranteed by the language.

If someone wants to argue that freestanding compiles shouldn't recognize
this, I might be convinceable.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
cc09c022bebcabd5f222d410bb6695af0ea93257 03-Sep-2010 Douglas Gregor <dgregor@apple.com> Fix a few more ConvertTypes that should be ConvertTypeForMems, fixing
two regressions in Boost.Config.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112908 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
1e7fe751466ea82665fd21e9162fd7cc9c5f412d 02-Sep-2010 John McCall <rjmccall@apple.com> Abstract IR generation of array cookies into the C++ ABI class and
implement ARM array cookies. Also fix a few unfortunate bugs:
- throwing dtors in deletes prevented the allocation from being deleted
- adding the cookie to the new[] size was not being considered for
overflow (and, more seriously, was screwing up the earlier checks)
- deleting an array via a pointer to array of class type was not
causing any destructors to be run and was passing the unadjusted
pointer to the deallocator
- lots of address-space problems, in case anyone wants to support
free store in a variant address space :)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112814 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
e7ab92e1d62f9c243bbd1f42f72a7b3c2666d33e 26-Aug-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com> Fix miscompilation. The cookie was not used when new'ing arrays with multiple dimensions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
d2932986a16244b7f9a3f9a7a6b0daf543c91540 26-Aug-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com> Fix miscompilation. The custom new[]/delete[] methods were not getting called for arrays with more than 1 dimension.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
7b86862ff555a9d848ac7abf6042d192b6d5a04d 18-Aug-2010 Douglas Gregor <dgregor@apple.com> Make sure to add MallocAttr to explicitly-declared operator new/new[]
when -fassume-sane-operator-new. Patch by Tom Jablin!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
59174c0633fb5cde41735cfbff5744bdf837e8d9 21-Jul-2010 Douglas Gregor <dgregor@apple.com> Implement zero-initialization for array new when there is an
initializer of (). Make sure to use a simple memset() when we can, or
fall back to generating a loop when a simple memset will not
suffice. Fixes <rdar://problem/8212208>, a regression due to my work
in r107857.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108977 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
806941eab5e1d62d7676e5cdc0e1d9e397ea78b4 20-Jul-2010 Chris Lattner <sabre@nondot.org> in 'new int[4]', constant fold the 4*4=16 instead of
doing an overflow check.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
962312bf0c7b45e73acfb9af4acd172f75bfc916 20-Jul-2010 Chris Lattner <sabre@nondot.org> temporarily disable this to fix the build bot.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108936 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
e99bdb6969ec16d2829ccdf62b04a8c8eda8b215 03-May-2010 Anders Carlsson <andersca@mac.com> Don't build an aggregate constructor loop when the constructor is trivial.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102912 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
0d7c583a4b4d0f57c6b69c66fd73babec4ef3799 03-May-2010 Anders Carlsson <andersca@mac.com> Don't copy or initialize empty classes. Fixes PR7012.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102891 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
3ecd785aff34381f3704d9cb28fe3ef85af759de 04-Apr-2010 Mon P Wang <wangmp@apple.com> Reapply patch for adding support for address spaces and added a isVolatile field to memcpy, memmove, and memset.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
c90f56d9f144b2dce88d1c141ddf0e0940e62e63 02-Apr-2010 Mon P Wang <wangmp@apple.com> Revert r100193 since it causes failures in objc in clang


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
8facca6cafa8d471768fe14074b1301e24e08fec 02-Apr-2010 Mon P Wang <wangmp@apple.com> Reapply patch for adding support for address spaces and added a isVolatile field to memcpy, memmove, and memset.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
b5896c37922e09529e61db4b3dd946cf2ecb211e 31-Mar-2010 Bob Wilson <bob.wilson@apple.com> Revert Mon Ping's 99930 due to broken llvm-gcc buildbots.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99949 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
3b5caa20652c43d00229bac972b78bee44a0ee9f 30-Mar-2010 Mon P Wang <wangmp@apple.com> Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
fc2844846e91398205fddc71196fe9dda04e105f 16-Dec-2009 Nuno Lopes <nunoplopes@sapo.pt> implement PR5654: add -fassume-sane-operator-new, which is enabled by default, and adds the malloc attribute to the global function new() and to the overloaded new operators.

feel free to chage the name to this lengthy argument

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91543 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
30311fa6b0735b9cb73b01e25bf9652a4b9b0c53 16-Dec-2009 Anders Carlsson <andersca@mac.com> Handle ImplicitValueInitExpr in AggExprEmitter.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91519 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
744823c8741b858a477545eeea28f17570dc2e24 24-Nov-2009 Fariborz Jahanian <fjahanian@apple.com> Fix the test case failed in buildbot.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
048f52aa9c9c78538fa369af2fc4b7031a55fa77 24-Nov-2009 Fariborz Jahanian <fjahanian@apple.com> Refactor collection of call arguments in common code.
Add support for variadic collection functions. More to do
here.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
09edb9c38cc7dc596d97d68ba6d23545c7ad3abd 22-Nov-2009 Anders Carlsson <andersca@mac.com> Use EmitStoreOfScalar when copying the scalar to the space allocated by 'new'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89613 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
010c3f531a634d0b6d56f433323f7283f684c1d0 12-Nov-2009 Daniel Dunbar <daniel@zuster.org> Fix test portability.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86911 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
6ac5fc49ee70b4e3ce3e242c02c66586f652d7ac 23-Sep-2009 Anders Carlsson <andersca@mac.com> Emit new[] cookie when needed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82642 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
a4d4c019bf477ce6ff7b01517e690f6c5fd6ad71 23-Sep-2009 Anders Carlsson <andersca@mac.com> Basic support for new[].

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82628 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
215bd208d6eeff397bc4316d046ea8b4633efedf 01-Jun-2009 Anders Carlsson <andersca@mac.com> Fix a thinko.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
f11085398dc27c0010663c711d4a10113e41d70f 01-Jun-2009 Anders Carlsson <andersca@mac.com> Check for null correctly for new expressions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
d3fd6bad1249d3f34d71b73e2333fab0db51cce4 31-May-2009 Anders Carlsson <andersca@mac.com> Improve irgen of 'new' further.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72677 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
627a3e573f1d9f0429d62c7ceb742a21cdabfce0 31-May-2009 Anders Carlsson <andersca@mac.com> ...and aggregate POD types.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
3923e95280210ef877153f0c3dbab12d6ed2ad43 31-May-2009 Anders Carlsson <andersca@mac.com> Support for complex types.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72675 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
6d0ffad181215fc4ec0fca37c55eae82df6e0531 31-May-2009 Anders Carlsson <andersca@mac.com> Better support for scalar POD types in 'new' expressions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72674 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
d958389d52170be1c6dee93031d34b13809b786b 31-May-2009 Anders Carlsson <andersca@mac.com> Make sure to copy back arguments that can be changed by FindAllocationOverload. This fixes placement new. (Sebastian, please review).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72673 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp
ed4e367f8e27d2c700efdaff9412f2bf83ddba00 31-May-2009 Anders Carlsson <andersca@mac.com> Very basic irgen support for new expressions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72672 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/new.cpp