[clang] nonblocking/nonallocating attributes (was: nolock/noalloc) (PR #84983)

Doug Wyatt via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 13:41:34 PDT 2024


dougsonos wrote:

Hi Chris,

Currently I had only envisioned that `nonblocking` would have the optional conditional expression parameter, so `blocking(false)` should generate an error. I had mistakenly thought that the parser would take care of this via the ways that the attributes are declared.

Is there a compelling reason to support `blocking(false)` as a synonym for `nonblocking`? beyond symmetry? If not, I'll just fix the argument count check.

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


More information about the cfe-commits mailing list