llvm-project/clang/test/CXX/drs
Richard Smith df054d3d22 C++ DR1611, 1658, 2180: implement "potentially constructed subobject" rules for special member functions.
Essentially, as a base class constructor does not construct virtual bases, such
a constructor for an abstract class does not need the corresponding base class
construction to be valid, and likewise for destructors.

This creates an awkward situation: clang will sometimes generate references to
the complete object and deleting destructors for an abstract class (it puts
them in the construction vtable for a derived class). But we can't generate a
"correct" version of these because we can't generate references to base class
constructors any more (if they're template specializations, say, we might not
have instantiated them and can't assume any other TU will emit a copy).
Fortunately, we don't need to, since no correct program can ever invoke them,
so instead emit symbols that just trap.

We should stop emitting references to these symbols, but still need to emit
definitions for compatibility.

llvm-svn: 296275
2017-02-25 23:53:05 +00:00
..
dr0xx.cpp Update C++ status pages for Clang 4 branch: 2017-01-13 00:57:54 +00:00
dr1xx.cpp PR13403 (+duplicates): implement C++ DR1310 (http://wg21.link/cwg1310). 2017-01-19 21:00:13 +00:00
dr2xx.cpp Update C++ status pages for Clang 4 branch: 2017-01-13 00:57:54 +00:00
dr3xx.cpp Update tests touched by r249656 2015-10-08 06:31:22 +00:00
dr4xx.cpp Fix tracking of whether the previous template instantiation stack matches the current one. 2017-02-23 02:09:03 +00:00
dr5xx.cpp PR0091R3: Implement parsing support for using templates as types. 2017-01-26 20:40:47 +00:00
dr6xx.cpp Update C++ status pages for Clang 4 branch: 2017-01-13 00:57:54 +00:00
dr7xx.cpp Mark DR777 only as fixed in clang SVN. 2015-03-27 17:38:35 +00:00
dr9xx.cpp [Parse] Allow 'constexpr' in condition declarations 2015-06-25 22:06:40 +00:00
dr10xx.cpp Finish implementation of C++ DR1310 (http://wg21.link/cwg1310). 2017-01-20 00:20:39 +00:00
dr12xx.cpp Implement DR1265 (wg21.link/cwg1265). 2017-01-13 02:22:01 +00:00
dr13xx.cpp Finish implementation of C++ DR1310 (http://wg21.link/cwg1310). 2017-01-20 00:20:39 +00:00
dr14xx.cpp Update C++ status pages for Clang 4 branch: 2017-01-13 00:57:54 +00:00
dr15xx.cpp Update C++ status pages for Clang 4 branch: 2017-01-13 00:57:54 +00:00
dr16xx.cpp C++ DR1611, 1658, 2180: implement "potentially constructed subobject" rules for special member functions. 2017-02-25 23:53:05 +00:00
dr17xx.cpp P0136R1, DR1573, DR1645, DR1715, DR1736, DR1903, DR1941, DR1959, DR1991: 2016-06-28 19:03:57 +00:00
dr18xx.cpp Update C++ status pages for Clang 4 branch: 2017-01-13 00:57:54 +00:00
dr19xx.cpp PR31606: Generalize our tentative DR resolution for inheriting copy/move 2017-01-13 20:46:54 +00:00
dr21xx.cpp C++ DR1611, 1658, 2180: implement "potentially constructed subobject" rules for special member functions. 2017-02-25 23:53:05 +00:00
dr118.cpp Add tests for a couple more DRs. 2016-12-09 19:35:45 +00:00
dr158.cpp Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'. 2016-12-23 00:23:01 +00:00
dr412.cpp C++14: Disable sized deallocation by default due to ABI breakage 2015-03-20 00:31:07 +00:00
dr1748.cpp Update cxx_dr_status to cover dr1748 and add test. 2015-02-14 03:38:31 +00:00