[clang] [clang] Add clang::debug_info_type attribute for bitfields (PR #69104)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 12:25:14 PDT 2023


================
@@ -3153,6 +3153,8 @@ def err_invalid_branch_protection_spec : Error<
   "invalid or misplaced branch protection specification '%0'">;
 def warn_unsupported_branch_protection_spec : Warning<
   "unsupported branch protection specification '%0'">, InGroup<BranchProtection>;
+def warn_attribute_underlying_type_mismatch : Warning<
+  "underlying type %0 of enumeration %1 doesn't match bitfield type %2">;
----------------
AaronBallman wrote:

```suggestion
  "underlying type %0 of enumeration %1 doesn't match bit-field type %2">;
```

https://github.com/llvm/llvm-project/pull/69104


More information about the cfe-commits mailing list