philnik777 wrote:

Wouldn't it be better to go the other way around? i.e. have a 
`[[clang::compressed_bitfield]]` (or whatever) which influences the ABI, so 
it's possible to do stuff like
```c++
[[clang::compressed_bitfield]] bool IsSomething : 1;
[[clang::compressed_bitfield]] MyEnum Whatever : 3;
[[clang::compressed_bitfield]] int MoreStuff : 4;
```
which the current approach doesn't allow.

https://github.com/llvm/llvm-project/pull/69104
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to