================
@@ -1635,6 +1635,38 @@ 
BuiltinTypeDeclBuilder::addByteAddressBufferStoreMethods() {
   return *this;
 }
 
+BuiltinTypeDeclBuilder &
+BuiltinTypeDeclBuilder::addByteAddressBufferInterlockedMethods() {
+  assert(!Record->isCompleteDefinition() && "record is already complete");
+  ASTContext &AST = SemaRef.getASTContext();
+
+  // Each entry declares two overloads (with and without an out original-value
+  // parameter). Adding a new atomic here only requires a new line — the shared
+  // helper takes care of the composition.
----------------
farzonl wrote:

```suggestion 
This is a helper that  declares two overloads with and without an out 
original-value
```

https://github.com/llvm/llvm-project/pull/208128
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to