================ @@ -1283,6 +1283,9 @@ class ASTContext : public RefCountedBase<ASTContext> { uint16_t getPointerAuthVTablePointerDiscriminator(const CXXRecordDecl *RD); + /// Return the "other" type-specific discriminator for the given type. + uint16_t getPointerAuthTypeDiscriminator(QualType T); ---------------- kovdan01 wrote:
nit ```suggestion uint16_t getPointerAuthTypeDiscriminator(QualType T) const; ``` https://github.com/llvm/llvm-project/pull/96992 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits