summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/new-array-init.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reverting r216675. This breaks some bots. Before this can be committed ↵Aaron Ballman2014-08-281-6/+1
| | | | | | again, I have to explore runtime ABI requirements with libc++abi. llvm-svn: 216677
* Throw a std::bad_array_new_length exception when the expression (or ↵Aaron Ballman2014-08-281-1/+6
| | | | | | constant-expression) passed to operator new[] results in overflow in conformance with [expr.new]p7. Fixes PR11644. llvm-svn: 216675
* When emitting a multidimensional array new, emit the initializers for theRichard Smith2014-06-031-2/+17
| | | | | | | | | trailing elements as a single loop, rather than sometimes emitting a nest of several loops. This fixes a bug where CodeGen would sometimes try to emit an expression with the wrong type for the element being initialized. Plus various other minor cleanups to the IR produced for array new initialization. llvm-svn: 210079
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-4/+4
| | | | | | tests fail. llvm-svn: 188447
* CodeGen for array new list initializers. Doesn't correctly clean up in the ↵Sebastian Redl2012-02-221-0/+33
face of exceptions yet. llvm-svn: 151171
OpenPOWER on IntegriCloud