Endilll wrote:

> which brings up an additional concern/thing to deal with for the non_storable 
> attribute (that is, do we apply it to assignments? how about 
> exact-assignments like you've done there?).
Conservative approach would be to issue diagnostics based on `non_storable` 
only when LHS of assignment was checked taking it into account. In other words, 
LHS is a bit-field with `preferred_type`, so `non_storable` enumerator was 
excluded when computing how many bits are required to store the enum.

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