[clang] [Clang] add wraps and no_wraps attributes (PR #115094)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 15:03:55 PST 2024


https://github.com/erichkeane commented:

It seems to me that this should just modify the type, rather than risk getting lost like it does.  If you want to define the conversion to the underlying integer type(likely via cast!) that is sensible as well, but this is going to end up getting lost pretty easily, so likely worth trying to see if this is worht a new type in the AST.

Also, did we have an RFC on this?  I'd like to see what the community at large has to say.

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


More information about the cfe-commits mailing list