[all-commits] [llvm/llvm-project] 997b07: C++ DR2394: Const-default-constructible for members.
James Y Knight via All-commits
all-commits at lists.llvm.org
Wed May 25 11:58:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 997b072e10d2be09c0e1a5bf4d6b92e2da3b8cc6
https://github.com/llvm/llvm-project/commit/997b072e10d2be09c0e1a5bf4d6b92e2da3b8cc6
Author: James Y Knight <jyknight at google.com>
Date: 2022-05-25 (Wed, 25 May 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/CXX/drs/dr23xx.cpp
M clang/test/CXX/special/class.ctor/p5-0x.cpp
M clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
C++ DR2394: Const-default-constructible for members.
Const class members may be initialized with a defaulted default
constructor under the same conditions it would be allowed for a const
object elsewhere.
Differential Revision: https://reviews.llvm.org/D126170
More information about the All-commits
mailing list