[clang] [Clang] Add __scoped_atomic_uinc_wrap and __scoped_atomic_udec_wrap builtins (PR #168666)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 19 06:29:46 PST 2025
================
@@ -2290,6 +2290,18 @@ def ScopedAtomicMaxFetch : AtomicBuiltin {
let Prototype = "void(...)";
}
+def ScopedAtomicUIncWrap : AtomicBuiltin {
+ let Spellings = ["__scoped_atomic_uinc_wrap"];
+ let Attributes = [CustomTypeChecking];
+ let Prototype = "void(...)";
----------------
erichkeane wrote:
Weird to me we'd do an open prototype here/custom type checking. Why can't we fit this into the type system?
https://github.com/llvm/llvm-project/pull/168666
More information about the cfe-commits
mailing list