[llvm] 84f0a86 - [yaml2obj] Internlize DocNum. NFC
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 31 10:11:50 PST 2020
Author: Fangrui Song
Date: 2020-01-31T10:11:42-08:00
New Revision: 84f0a8626e60a6598fce00b2b3a1125678e34f21
URL: https://github.com/llvm/llvm-project/commit/84f0a8626e60a6598fce00b2b3a1125678e34f21
DIFF: https://github.com/llvm/llvm-project/commit/84f0a8626e60a6598fce00b2b3a1125678e34f21.diff
LOG: [yaml2obj] Internlize DocNum. NFC
Added:
Modified:
llvm/tools/yaml2obj/yaml2obj.cpp
Removed:
################################################################################
diff --git a/llvm/tools/yaml2obj/yaml2obj.cpp b/llvm/tools/yaml2obj/yaml2obj.cpp
index 66e0da69881d..bf8081b8357f 100644
--- a/llvm/tools/yaml2obj/yaml2obj.cpp
+++ b/llvm/tools/yaml2obj/yaml2obj.cpp
@@ -31,9 +31,9 @@ using namespace llvm;
static cl::opt<std::string>
Input(cl::Positional, cl::desc("<input>"), cl::init("-"));
-cl::opt<unsigned>
-DocNum("docnum", cl::init(1),
- cl::desc("Read specified document from input (default = 1)"));
+static cl::opt<unsigned>
+ DocNum("docnum", cl::init(1),
+ cl::desc("Read specified document from input (default = 1)"));
static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"),
cl::value_desc("filename"));
More information about the llvm-commits
mailing list