================
@@ -1629,6 +1629,8 @@ def IFunc : Attr, TargetSpecificAttr<TargetELF> {
def Restrict : InheritableAttr {
let Spellings = [Declspec<"restrict">, GCC<"malloc">];
+ let Args = [IdentifierArgument<"Deallocator", /*opt*/ 1>,
+ ParamIdxArgument<"DeallocatorPtrArgIndex", /*opt*/ 1>];
----------------
shafik wrote:
```suggestion
let Args = [IdentifierArgument<"Deallocator", /*opt=*/1>,
ParamIdxArgument<"DeallocatorPtrArgIndex", /*opt=*/ 1>];
```
https://github.com/llvm/llvm-project/pull/68059
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits