https://bugs.llvm.org/show_bug.cgi?id=44251
Bug ID: 44251
Summary: Add warning when a bit-field can't hold all enumerate
values
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
As described in https://reviews.llvm.org/D71142#1774270 add a warning for the
following code:
enum A {a, b, c = 8};
struct T {
enum A field : 2;
};
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs