[llvm] 883c99f - [NFC][LLVM] Namespace cleanup in JumpTableToSwitch (#163586)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 15 17:16:48 PDT 2025
Author: Rahul Joshi
Date: 2025-10-15T17:16:44-07:00
New Revision: 883c99f71d872294f653565711db145c115996fc
URL: https://github.com/llvm/llvm-project/commit/883c99f71d872294f653565711db145c115996fc
DIFF: https://github.com/llvm/llvm-project/commit/883c99f71d872294f653565711db145c115996fc.diff
LOG: [NFC][LLVM] Namespace cleanup in JumpTableToSwitch (#163586)
Added:
Modified:
llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp b/llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
index 3c14036e509ef..6fb81976c9e6e 100644
--- a/llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
+++ b/llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
@@ -26,8 +26,6 @@
using namespace llvm;
-namespace llvm {
-
static cl::opt<unsigned>
JumpTableSizeThreshold("jump-table-to-switch-size-threshold", cl::Hidden,
cl::desc("Only split jump tables with size less or "
@@ -43,8 +41,8 @@ static cl::opt<unsigned> FunctionSizeThreshold(
"or equal than this threshold."),
cl::init(50));
+namespace llvm {
extern cl::opt<bool> ProfcheckDisableMetadataFixes;
-
} // end namespace llvm
#define DEBUG_TYPE "jump-table-to-switch"
More information about the llvm-commits
mailing list