summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/implicit-allocation-functions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improvement on sized deallocation from r230160:Larisse Voufo2015-02-251-14/+12
| | | | | | Do not declare sized deallocation functions dependently on whether it is found in global scope. Instead, enforce the branching in emitted code by (1) declaring the functions extern_weak and (2) emitting sized delete expressions as a branching between both forms delete. llvm-svn: 230580
* Relax the requirement on sized deallocation a bit: Default on unsized delete ↵Larisse Voufo2015-02-221-6/+11
| | | | | | if sized delete is not provided in global scope, and -fdefine-sized-deallocation option is disabled. llvm-svn: 230160
* Add -fno-sized-deallocation option for completeness of fix in r229241 in ↵Larisse Voufo2015-02-201-0/+1
| | | | | | documentation in r229818. llvm-svn: 229950
* Avoid using a COMDAT for sized delete on MachOReid Kleckner2015-02-191-5/+10
| | | | llvm-svn: 229915
* Put the implicit weak sized deallocation funciton in C++14 in a comdatReid Kleckner2015-02-191-2/+2
| | | | | | Fixes PR22635. llvm-svn: 229913
* Rename flags and options to match current naming: from -fdef-sized-delete to ↵Larisse Voufo2015-02-181-2/+2
| | | | | | -fdefine-sized-deallocation, and from DefaultSizedDelete to DefineSizedDeallocation. llvm-svn: 229597
* Revise the implementation logic of sized deallocation: Do not automatically ↵Larisse Voufo2015-02-141-6/+10
| | | | | | | | generate weak definitions of the sized operator delete (in terms of unsized operator delete). Instead, provide the funcitonality via a new compiler flag, -fdef-sized-delete. The current implementation causes link-time ODR violations when the delete symbols are exported into the dynamic table. llvm-svn: 229241
* Fix typo in test case.Larisse Voufo2015-02-041-1/+1
| | | | llvm-svn: 228110
* Fix typo in test case.Larisse Voufo2015-02-041-4/+4
| | | | llvm-svn: 228108
* Generalize r228066 to give all implicit global allocation functions default ↵Larisse Voufo2015-02-041-0/+54
visibility. llvm-svn: 228107
OpenPOWER on IntegriCloud