[clang] [PAC] Add support for __ptrauth type qualifier (PR #100830)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 5 07:00:34 PST 2025


================
@@ -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


More information about the cfe-commits mailing list