[clang] [clang] Add clang::debug_info_type attribute for bitfields (PR #69104)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 18 12:30:19 PDT 2023
================
@@ -107,6 +107,10 @@ def NonBitField : SubsetSubject<Field,
[{!S->isBitField()}],
"non-bit-field non-static data members">;
+def BitField : SubsetSubject<Field,
+ [{S->isBitField()}],
+ "bit-field non-static data members">;
----------------
erichkeane wrote:
I don't know how much this text helps here, the diagnostic specifying 'non static' seems a little silly. The `NonBitField` one is important because it applies to non-static data members that ARE NOT bitfields. But in this case, 'must be a bitfield' also implies 'non static'.
https://github.com/llvm/llvm-project/pull/69104
More information about the cfe-commits
mailing list