[PATCH] D36611: Implemented P0683R1 - Default member initializers for bit-fields
Hamza Sood via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 11 05:58:57 PDT 2017
hamzasood created this revision.
This patch implements P0683R1 <http://wg21.link/p0683r1>.
Member initialisers are allowed pre-C++11 as an extension. So I've also allowed bitfield member initialisers pre-C++2a as an extension (with appropriate warnings) for consistency.
https://reviews.llvm.org/D36611
Files:
include/clang/AST/Decl.h
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticParseKinds.td
lib/AST/Decl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriterDecl.cpp
test/Parser/cxx2a-bitfield-member-init.cpp
test/SemaCXX/member-init.cpp
www/cxx_status.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36611.110703.patch
Type: text/x-patch
Size: 13726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170811/b5d6ed09/attachment-0001.bin>
More information about the cfe-commits
mailing list