[clang] nonblocking/nonallocating attributes (was: nolock/noalloc) (PR #84983)
Doug Wyatt via cfe-commits
cfe-commits at lists.llvm.org
Thu May 16 07:29:21 PDT 2024
================
@@ -1435,6 +1435,38 @@ def CXX11NoReturn : InheritableAttr {
let Documentation = [CXX11NoReturnDocs];
}
+def NonBlocking : TypeAttr {
+ let Spellings = [CXX11<"clang", "nonblocking">,
----------------
dougsonos wrote:
I don't really care either way, but there was a comment suggesting namespacing the GNU-style attribute, just in case GNU were to add their own attribute with the same name.
There is also precedent: `clang_builtin_alias`
https://github.com/llvm/llvm-project/pull/84983
More information about the cfe-commits
mailing list