summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Output destructors and constructors in a more natural order.Rafael Espindola2013-12-091-10/+12
| | | | | | | | | | | | | | | | With this patch we output the in the order C2 C1 D2 D1 D0 Which means that a destructor or constructor that call another is output after the callee. This is a bit easier to read IHMO and a tiny bit more efficient as we don't put a decl in DeferredDeclsToEmit. llvm-svn: 196784
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-1/+1
| | | | | | tests fail. llvm-svn: 188447
* Call __cxa_begin_catch with the current exception beforeJohn McCall2013-02-121-2/+2
| | | | | | calling std::terminate(). rdar://11904428 llvm-svn: 174940
* When we're emitting a constructor or destructor call from a delegatingDouglas Gregor2013-01-311-0/+34
| | | | | | | constructor, retrieve our VTT parameter directly. Fixes PR14588 / <rdar://problem/12867962>. llvm-svn: 174042
* A number of test cases assume that an "int" parameter or return valueUlrich Weigand2012-10-241-1/+1
| | | | | | | | | | | | will be represented in the IR as a plain "i32" type. This causes the tests to spuriously fail on platforms where int is not a 32-bit type, or where the ABI requires attributes like "signext" or "zeroext" to be used. This patch adds -triple or -target parameters to force those tests to use the i386-unknown-unknown target. llvm-svn: 166551
* Fix test for 32-bit hosts.Jakob Stoklund Olesen2012-05-201-1/+1
| | | | llvm-svn: 157154
* Zap a bogus assert for delegating constructors. PR12890, part 2.Eli Friedman2012-05-201-0/+11
| | | | | | I'm pretty sure we are in fact doing the right thing here, but someone who knows the standard better should double-check that we are in fact supposed to zero out the member in the given testcase. llvm-svn: 157138
* Update all tests other than Driver/std.cpp to use -std=c++11 rather thanRichard Smith2011-10-131-1/+1
| | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
* Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch ↵Eli Friedman2011-06-131-10/+10
| | | | | | 1 of 3 or so. llvm-svn: 132945
* Reapply r121528, fixing PR9941 by delaying the exception specification check ↵Sebastian Redl2011-05-191-2/+2
| | | | | | for destructors until the class is complete and destructors have been adjusted. llvm-svn: 131632
* Revert r121528 as it breaks a simple testcase, which leads to, amongAlexis Hunt2011-05-181-2/+2
| | | | | | other things, libcxx not building. llvm-svn: 131573
* Implement implicit exception specifications of destructors.Sebastian Redl2011-05-181-2/+2
| | | | llvm-svn: 131528
* Fix the delegating constructors test to not rely on basic block names.Alexis Hunt2011-05-041-7/+7
| | | | llvm-svn: 130813
* Ensure that destructors are properly inovked when an exception leavesAlexis Hunt2011-05-031-13/+21
| | | | | | | | | | the body of a delegating constructor call. This means that the delegating constructor implementation should be complete and correct, though there are some rough edges (diagnostic quality with the cycle detection and using a deleted destructor). llvm-svn: 130803
* Fully implement delegating constructors!Alexis Hunt2011-05-011-0/+48
As far as I know, this implementation is complete but might be missing a few optimizations. Exceptions and virtual bases are handled correctly. Because I'm an optimist, the web page has appropriately been updated. If I'm wrong, feel free to downgrade its support categories. llvm-svn: 130642
OpenPOWER on IntegriCloud