summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PR17983: Fix crasher bug in C++1y mode when performing a non-global arrayRichard Smith2013-12-051-8/+28
| | | | | | | delete on a class which has no array cookie and has no class-specific operator new. llvm-svn: 196488
* C++1y sized deallocation: if we have a use, but not a definition, of a sizedRichard Smith2013-11-051-2/+9
| | | | | | | | | | | | | deallocation function (and the corresponding unsized deallocation function has been declared), emit a weak discardable definition of the function that forwards to the corresponding unsized deallocation. This allows a C++ standard library implementation to provide both a sized and an unsized deallocation function, where the unsized one does not just call the sized one, for instance by putting both in the same object file within an archive. llvm-svn: 194055
* Implement C++1y sized deallocation (n3778). This is not enabled by -std=c++1y;Richard Smith2013-09-291-0/+83
instead, it's enabled by the -cc1 flag -fsized-deallocation, until we sort out the backward-compatibility issues. llvm-svn: 191629
OpenPOWER on IntegriCloud