Skip to content

Commit 54f93cb

Browse files
committed
remove extraneous check
1 parent ea3af8a commit 54f93cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/include/clang/AST/ASTContext.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,8 +665,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
665665

666666
// A simple helper function to short circuit pointer auth checks.
667667
bool isPointerAuthenticationAvailable() const {
668-
return LangOpts.PointerAuthCalls || LangOpts.PointerAuthIntrinsics ||
669-
LangOpts.PointerAuthVTPtrAddressDiscrimination;
668+
return LangOpts.PointerAuthCalls || LangOpts.PointerAuthIntrinsics;
670669
}
671670
PointerAuthContent findPointerAuthContent(QualType T);
672671
llvm::DenseMap<const RecordDecl *, PointerAuthContent>

0 commit comments

Comments
 (0)