================ @@ -656,8 +656,7 @@ class ASTContext : public RefCountedBase<ASTContext> { bool containsNonRelocatablePointerAuth(QualType T) { if (!isPointerAuthenticationAvailable()) return false; - return findPointerAuthContent(T) == - PointerAuthContent::AddressDiscriminatedData; + return findPointerAuthContent(T) != PointerAuthContent::None; ---------------- pcc wrote:
Since this function and `containsAddressDiscriminatedPointerAuth` now do the same thing, can we remove one of them? https://github.com/llvm/llvm-project/pull/154490 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits