summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/abstract-class-ctors-dtors.cpp
Commit message (Collapse)AuthorAgeFilesLines
* FileCheck's -LABEL cannot be combined with -NOT or -DAGNico Rieck2014-02-161-1/+1
| | | | llvm-svn: 201476
* Output destructors and constructors in a more natural order.Rafael Espindola2013-12-091-1/+1
| | | | | | | | | | | | | | | | 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-4/+4
| | | | | | tests fail. llvm-svn: 188447
* Disable the optimization that skips emission of complete, non-virtualDouglas Gregor2011-07-261-1/+1
| | | | | | | | | destructors of abstract classes. It's undefined behavior to actually call the destructor (e.g., via delete), but the presence of code that calls this destructor doesn't make the program ill-formed. Fixes <rdar://problem/9819242>. llvm-svn: 136180
* Don't emit complete constructors for abstract classes. Also, don't emitAnders Carlsson2011-05-081-0/+16
complete destructors for abstract classes unless the destructor is virtual and thus needs to be in the vtable. llvm-svn: 131068
OpenPOWER on IntegriCloud