[clang] [clang] Add clang::preferred_type attribute for bitfields (PR #69104)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 20 13:12:03 PDT 2023
Endilll wrote:
> but I also see "you got what you asked for!" as being a reasonable defense to that.
That's my thinking indeed, and the reason why I opposed to Aaron's proposal to implicitly mark 1-bit bit-fields as `preferred_type(bool)`.
https://github.com/llvm/llvm-project/pull/69104
More information about the cfe-commits
mailing list