Skip to content

Commit 84f0a86

Browse files
committed
[yaml2obj] Internlize DocNum. NFC
1 parent 53bb183 commit 84f0a86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/tools/yaml2obj/yaml2obj.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ using namespace llvm;
3131
static cl::opt<std::string>
3232
Input(cl::Positional, cl::desc("<input>"), cl::init("-"));
3333

34-
cl::opt<unsigned>
35-
DocNum("docnum", cl::init(1),
36-
cl::desc("Read specified document from input (default = 1)"));
34+
static cl::opt<unsigned>
35+
DocNum("docnum", cl::init(1),
36+
cl::desc("Read specified document from input (default = 1)"));
3737

3838
static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"),
3939
cl::value_desc("filename"));

0 commit comments

Comments
 (0)