malcolm.parsons added a comment.
In https://reviews.llvm.org/D26750#617316, @Eugene.Zelenko wrote:
> How does check handle bit fields?
There is no warning for bit fields.
I don't think the C++17 bit field initializer proposal has been accepted yet.
> Will be also good idea to add test case for bit fields.
There is a test:
struct NegativeBitField
{
NegativeBitField() : i(6) {}
int i : 5;
};
https://reviews.llvm.org/D26750
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits