[clang] nonblocking/nonallocating attributes (was: nolock/noalloc) (PR #84983)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu May 16 08:06:11 PDT 2024
================
@@ -1435,6 +1435,38 @@ def CXX11NoReturn : InheritableAttr {
let Documentation = [CXX11NoReturnDocs];
}
+def NonBlocking : TypeAttr {
+ let Spellings = [CXX11<"clang", "nonblocking">,
----------------
erichkeane wrote:
I agree with Aaron here, doing that sort of prefix is awkward. As Aaron says, the GNU attributes are a shared namespace, and we are both typically mutually respectful of that. I'd hope that if we get implementation that GCC would use it to implement the same functionality.
It is also specific enough that I don't see it being used for anything else.
Additionally, I DISAGREE with past Aaron that asked for the `clang_builtin_alias` spelling. IMO, that was not well motivated, different from what we've done historically, and frankly, a mistake.
https://github.com/llvm/llvm-project/pull/84983
More information about the cfe-commits
mailing list