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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu May 16 06:16:43 PDT 2024


================
@@ -1435,6 +1435,38 @@ def CXX11NoReturn : InheritableAttr {
   let Documentation = [CXX11NoReturnDocs];
 }
 
+def NonBlocking : TypeAttr {
+  let Spellings = [CXX11<"clang", "nonblocking">,
----------------
AaronBallman wrote:

Generally speaking, these would use the `Clang` spelling instead of three distinct spellings; is there a reason we need the GNU spelling to be prefixed with `clang_`?

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


More information about the cfe-commits mailing list