llvm-project/clang/test/CXX
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
..
basic PR48002: Fix injection of elaborated-type-specifiers within local 2020-10-28 14:29:45 -07:00
class [Sema] Fix volatile check when testing if a return object can be implicitly moved 2020-11-10 15:11:07 -05:00
class.access [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02:00
class.derived Defer checking for mismatches between the deletedness of and overriding 2020-03-12 13:07:22 -07:00
conv [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
cpp PR41192: fix cases where "missing ';' after class" error would 2019-04-16 00:47:45 +00:00
dcl [Concepts] Deprecate -fconcepts-ts, enable Concepts under -std=c++2a 2020-01-24 00:48:59 +02:00
dcl.dcl [c++20] For P0732R2: permit class template argument deduction for non-type template parameters. 2020-10-21 15:03:22 -07:00
dcl.decl [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
drs For P0732R2, P1907R1: ensure that template parameter objects don't refer 2020-10-24 22:11:43 -07:00
except PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
expr PR47861: Expand dangling reference warning to look through copy 2020-10-30 10:19:50 -07:00
lex [c++20] For P0732R2: Support string literal operator templates. 2020-10-25 00:34:15 -07:00
module Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
modules-ts Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
over [c++20] Further extend the set of comparisons broken by C++20 that we 2020-03-20 14:22:48 -07:00
special [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02:00
stmt.stmt [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
temp For P0732R2, P1907R1: ensure that template parameter objects don't refer 2020-10-24 22:11:43 -07:00