[llvm] 98d49d5 - [CodeGen] Remove a redundant declaration (NFC) (#168285)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 16 14:06:22 PST 2025
Author: Kazu Hirata
Date: 2025-11-16T14:06:18-08:00
New Revision: 98d49d51c00255b7c9f36403f774d52ae84cbe58
URL: https://github.com/llvm/llvm-project/commit/98d49d51c00255b7c9f36403f774d52ae84cbe58
DIFF: https://github.com/llvm/llvm-project/commit/98d49d51c00255b7c9f36403f774d52ae84cbe58.diff
LOG: [CodeGen] Remove a redundant declaration (NFC) (#168285)
EnableFSDiscriminator is declared in DebugInfoMetadata.h.
Identified with readability-redundant-declaration.
Added:
Modified:
llvm/lib/CodeGen/TargetPassConfig.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 10b723887b21f..ceae0d29eea90 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -401,8 +401,6 @@ struct InsertedPass {
namespace llvm {
-extern cl::opt<bool> EnableFSDiscriminator;
-
class PassConfigImpl {
public:
// List of passes explicitly substituted by this target. Normally this is
More information about the llvm-commits
mailing list