[llvm] [CodeGen] Remove a redundant declaration (NFC) (PR #168285)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 16 11:14:08 PST 2025
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/168285
EnableFSDiscriminator is declared in DebugInfoMetadata.h.
Identified with readability-redundant-declaration.
>From 44e86beacd282fc0dac25de171da1c85b173fc57 Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Sun, 16 Nov 2025 09:40:32 -0800
Subject: [PATCH] [CodeGen] Remove a redundant declaration (NFC)
EnableFSDiscriminator is declared in DebugInfoMetadata.h.
Identified with readability-redundant-declaration.
---
llvm/lib/CodeGen/TargetPassConfig.cpp | 2 --
1 file changed, 2 deletions(-)
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