[llvm] [AArch64] Remove dangling function declaration in AArch64PointerAuth (PR #185439)

Victor Campos via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 08:04:32 PDT 2026


https://github.com/vhscampos created https://github.com/llvm/llvm-project/pull/185439

Function `checkAuthenticatedLR` was declared but not defined anywhere.

This patch removes the dangling declaration.

>From 1d7f02292e6a090047dfc075a2d8270c49c58a0c Mon Sep 17 00:00:00 2001
From: Victor Campos <victor.campos at arm.com>
Date: Mon, 9 Mar 2026 14:27:07 +0000
Subject: [PATCH] [AArch64] Remove dangling function declaration in
 AArch64PointerAuth

Function `checkAuthenticatedLR` was declared but not defined anywhere.

This patch removes the dangling declaration.
---
 llvm/lib/Target/AArch64/AArch64PointerAuth.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/llvm/lib/Target/AArch64/AArch64PointerAuth.cpp b/llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
index 517b8a4c1737b..f6e7d6e88161a 100644
--- a/llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
+++ b/llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
@@ -42,8 +42,6 @@ class AArch64PointerAuth : public MachineFunctionPass {
 
   void authenticateLR(MachineFunction &MF,
                       MachineBasicBlock::iterator MBBI) const;
-
-  bool checkAuthenticatedLR(MachineBasicBlock::iterator TI) const;
 };
 
 } // end anonymous namespace



More information about the llvm-commits mailing list