llvm-project/clang/test/CXX/drs
Richard Smith 921f132a0f [c++20] P1064R0: Allow virtual function calls in constant expression
evaluation.

This reinstates r360559, reverted in r360580, with a fix to avoid
crashing if evaluation-for-overflow mode encounters a virtual call on an
object of a class with a virtual base class, and to generally not try to
resolve virtual function calls to objects whose (notional) vptrs are not
readable. (The standard rules are unclear here, but this seems like a
reasonable approach.)

llvm-svn: 360635
2019-05-13 23:35:21 +00:00
..
dr0xx.cpp Add missing diagnostic for explicit instantiation declarations naming 2019-04-26 01:51:07 +00:00
dr1xx.cpp DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
dr2xx.cpp [c++20] Implement P0846R0: allow (ADL-only) calls to template-ids whose 2019-05-09 03:31:27 +00:00
dr3xx.cpp DR330: when determining whether a cast casts away constness, consider 2018-07-18 20:13:36 +00:00
dr4xx.cpp [Sema] Use %sub to cleanup overload diagnostics 2018-05-30 01:00:41 +00:00
dr5xx.cpp DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
dr6xx.cpp [c++20] P1064R0: Allow virtual function calls in constant expression 2019-05-13 23:35:21 +00:00
dr7xx.cpp CWG issue 727: Fix numerous bugs in support for class-scope explicit 2019-05-03 23:51:38 +00:00
dr9xx.cpp
dr10xx.cpp When substituting previously-checked template arguments into a template 2018-03-08 01:07:33 +00:00
dr11xx.cpp DR1113: anonymous namespaces formally give their contents internal linkage. 2017-09-22 22:21:44 +00:00
dr12xx.cpp DR1213: Ignore implicit conversions when determining if an operand of an 2018-06-27 20:29:32 +00:00
dr13xx.cpp DR1872: don't allow any calls to virtual functions in constant 2019-05-09 19:45:49 +00:00
dr14xx.cpp Add missing diagnostic for anonymous struct/union definitions that don't 2019-04-24 00:08:02 +00:00
dr15xx.cpp [Sema][NFC] Mark DR1563 as done (List-initialization and overloaded function disambiguation) 2019-04-18 15:45:08 +00:00
dr16xx.cpp [Sema] ADL: Associated namespaces for class types and enumeration types (CWG 1691) 2019-04-22 12:19:00 +00:00
dr17xx.cpp P1286R2: Remove restriction that the exception specification of a 2019-05-06 05:04:56 +00:00
dr18xx.cpp [c++20] P1064R0: Allow virtual function calls in constant expression 2019-05-13 23:35:21 +00:00
dr19xx.cpp Add missing diagnostic for anonymous struct/union definitions that don't 2019-04-24 00:08:02 +00:00
dr20xx.cpp PR33850: Update cxx_dr_status for Clang 5 branch. 2017-08-11 03:14:20 +00:00
dr21xx.cpp Revert r345562: "PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type" 2018-11-03 02:23:33 +00:00
dr22xx.cpp [C++17] Reject shadowing of capture by parameter in lambda 2018-10-25 20:15:03 +00:00
dr23xx.cpp C++ DR2387: a variable template declared wtih (or instantiated with) a 2019-04-26 01:51:08 +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
dr1748.cpp