llvm-project/clang/test/CXX/class
Yang Fan 703038b35a [Sema] Fix volatile check when testing if a return object can be implicitly moved
In C++11 standard, to become implicitly movable, the expression in return
statement should be a non-volatile automatic object. CWG1579 changed the rule
to require that the expression only needs to be an automatic object. C++14
standard and C++17 standard kept this rule unchanged. C++20 standard changed
the rule back to require the expression be a non-volatile automatic object.
This should be a typo in standards, and VD should be non-volatile.

Differential Revision: https://reviews.llvm.org/D88295
2020-11-10 15:11:07 -05:00
..
class.base/class.base.init
class.bit Better diagnostics for anonymous bit-fields with attributes or an initializer. 2020-09-29 16:32:20 -04:00
class.compare PR44723: Trigger return type deduction for operator<=>s whose return 2020-01-31 13:06:48 -08:00
class.friend DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
class.init/class.copy.elision [Sema] Fix volatile check when testing if a return object can be implicitly moved 2020-11-10 15:11:07 -05:00
class.local Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
class.mem PR12350: Handle remaining cases permitted by CWG DR 244. 2020-02-07 18:40:41 -08:00
class.mfct/class.mfct.non-static
class.nest
class.nested.type
class.static/class.static.data
class.union Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
p1-0x.cpp
p2-0x.cpp
p6-0x.cpp