summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/partial-destruction.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[CodeGenCXX] Treat 'this' as noalias in constructors"Sean Fertile2018-10-151-13/+13
| | | | | | | This reverts commit https://reviews.llvm.org/rL344150 which causes MachineOutliner related failures on the ppc64le multistage buildbot. llvm-svn: 344526
* [CodeGenCXX] Treat 'this' as noalias in constructorsAnton Bikineev2018-10-101-13/+13
| | | | | | | | | This is currently a clang extension and a resolution of the defect report in the C++ Standard. Differential Revision: https://reviews.llvm.org/D46441 llvm-svn: 344150
* C++11 test cleanup: nonthrowing destructorsPaul Robinson2016-12-201-16/+23
| | | | | | | | | | If a dtor has no interesting members, then it ends up being nothrow, which affects the generated IR. Modify some tests to tolerate this difference between C++03 and C++11. Differential Revision: http://reviews.llvm.org/D27936 llvm-svn: 290207
* Undo accidental comitPaul Robinson2016-12-191-23/+16
| | | | llvm-svn: 290121
* Make a few OpenMP tests "C++11 clean."Paul Robinson2016-12-191-16/+23
| | | | | | Reviewed by abataev (in D27794) llvm-svn: 290120
* Fix a nasty bug with the partial destruction of nested arrays;John McCall2015-09-141-0/+31
| | | | | | | | | it escaped notice because it's only used for heterogeneous initialization. rdar://21397946 llvm-svn: 247597
* Update clang to take into account the changes to personality fnsDavid Majnemer2015-06-171-6/+9
| | | | llvm-svn: 239941
* Update Clang tests to handle explicitly typed load changes in LLVM.David Blaikie2015-02-271-1/+1
| | | | llvm-svn: 230795
* Update Clang tests to handle explicitly typed gep changes in LLVM.David Blaikie2015-02-271-21/+21
| | | | llvm-svn: 230783
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-3/+3
| | | | | | tests fail. llvm-svn: 188447
* Throw the switch to convert clang to the new exception handling model!Bill Wendling2011-09-191-6/+12
| | | | | | | | | | | | | This model uses the 'landingpad' instruction, which is pinned to the top of the landing pad. (A landing pad is defined as the destination of the unwind branch of an invoke instruction.) All of the information needed to generate the correct exception handling metadata during code generation is encoded into the landingpad instruction. The new 'resume' instruction takes the place of the llvm.eh.resume intrinsic call. It's lowered in much the same way as the intrinsic is. llvm-svn: 140049
* Simplify EH control flow by observing that EH scopes form a simpleJohn McCall2011-08-111-3/+0
| | | | | | | | | | | | | | | hierarchy of delegation, and that EH selector values are meaningful function-wide (good thing, too, or inlining wouldn't work). 2,3d 1a hierarchy of delegation and that EH selector values have the same meaning everywhere in the function instead of being meaningful only in the context of a specific selector. This removes the need for routing edges through EH cleanups, since a cleanup simply always branches to its enclosing scope. llvm-svn: 137293
* Enforce access control for the destructor in a new[] expression and markJohn McCall2011-07-131-0/+14
| | | | | | | it as used. Otherwise, we can fail to instantiate or validate the destructor, which can lead to crashes in IR gen like PR10351. llvm-svn: 135073
* Convert the standard default-construction loops to use phis andJohn McCall2011-07-131-0/+35
| | | | | | partial destruction. llvm-svn: 135033
* Emit partial destruction of structs with initializer lists.John McCall2011-07-111-0/+30
| | | | llvm-svn: 134913
* Fix a lot of problems with the partial destruction of arrays:John McCall2011-07-111-0/+90
- an off-by-one error in emission of irregular array limits for InitListExprs - use an EH partial-destruction cleanup within the normal array-destruction cleanup - get the branch destinations right for the empty check Also some refactoring which unfortunately obscures these changes. llvm-svn: 134890
OpenPOWER on IntegriCloud