================
@@ -9531,6 +9533,29 @@ bool 
SpecialMemberDeletionInfo::shouldDeleteForVariantObjCPtrMember(
   return true;
 }
 
+bool SpecialMemberDeletionInfo::shouldDeleteForVariantPtrAuthMember(
+    FieldDecl *FD, QualType FieldType) {
----------------
AaronBallman wrote:

```suggestion
    const FieldDecl *FD, QualType FieldType) {
```
Why do we need to pass the field type explicitly? That's already encoded by the 
`FieldDecl` itself, right?

https://github.com/llvm/llvm-project/pull/100830
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to