This patch implements 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.
Paths
| Differential D36611
Implemented P0683R1 - Default member initializers for bit-fields Needs ReviewPublic Authored by hamzasood on Aug 11 2017, 5:58 AM.
Revision Contents
Diff 110703 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
|