[clang] [C11] Generic selection expressions and qualified rvalues (PR #96913)

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 15:24:50 PDT 2024


zygoloid wrote:

> Discussion on the WG14 reflectors suggested that the qualifiers should still be stripped from the type of the controlling expression; the standard should be corrected to make this more clear.

Does WG14 think we're right to produce a qualified rvalue in this case? Another option might be to strip qualifiers in rvalue member access, but that would have further-reaching impact.

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


More information about the cfe-commits mailing list