[clang] [Clang][C++23] Implement P1774R8: Portable assumptions (PR #81014)

via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 11:19:22 PST 2024


Sirraide wrote:

Wrt `[[clang::assume]]`/`__attribute__((assume))` applied to statements, those aren’t valid today anyway, so not supporting the former wouldn’t be a breaking change. We could consider supporting the latter though for GCC compatibility (afaik GCC’s `__attribute__((assume))` is pretty much `[[assume]]`).

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


More information about the cfe-commits mailing list