Skip to content

Commit 2289ae6

Browse files
committed
[NFC][DFAJT] Place cl::opts in the llvm namespace
1 parent 24d41c1 commit 2289ae6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ STATISTIC(NumTransforms, "Number of transformations done");
8989
STATISTIC(NumCloned, "Number of blocks cloned");
9090
STATISTIC(NumPaths, "Number of individual paths threaded");
9191

92+
namespace llvm {
9293
static cl::opt<bool>
9394
ClViewCfgBefore("dfa-jump-view-cfg-before",
9495
cl::desc("View the CFG before DFA Jump Threading"),
@@ -119,6 +120,7 @@ static cl::opt<unsigned>
119120
CostThreshold("dfa-cost-threshold",
120121
cl::desc("Maximum cost accepted for the transformation"),
121122
cl::Hidden, cl::init(50));
123+
} // namespace llvm
122124

123125
namespace {
124126

0 commit comments

Comments
 (0)