[llvm] [BOLT][NFC] Delete unused declarations (PR #72596)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 18:18:10 PST 2023


https://github.com/maksfb created https://github.com/llvm/llvm-project/pull/72596

None

>From ada2ed5e72878dd1d96ad720a992cb5bb44eaece Mon Sep 17 00:00:00 2001
From: Maksim Panchenko <maks at fb.com>
Date: Thu, 16 Nov 2023 18:12:33 -0800
Subject: [PATCH] [BOLT][NFC] Delete unused declarations

---
 bolt/lib/Core/BinaryFunction.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/bolt/lib/Core/BinaryFunction.cpp b/bolt/lib/Core/BinaryFunction.cpp
index 19c8a7bc3cfa8ab..e81d58ef0b1047b 100644
--- a/bolt/lib/Core/BinaryFunction.cpp
+++ b/bolt/lib/Core/BinaryFunction.cpp
@@ -54,11 +54,9 @@ namespace opts {
 
 extern cl::OptionCategory BoltCategory;
 extern cl::OptionCategory BoltOptCategory;
-extern cl::OptionCategory BoltRelocCategory;
 
 extern cl::opt<bool> EnableBAT;
 extern cl::opt<bool> Instrument;
-extern cl::opt<bool> KeepNops;
 extern cl::opt<bool> StrictMode;
 extern cl::opt<bool> UpdateDebugSections;
 extern cl::opt<unsigned> Verbosity;



More information about the llvm-commits mailing list