Make a couple of command lines static and remove an unnecessary
authorEric Christopher <echristo@gmail.com>
Wed, 21 May 2014 21:05:05 +0000 (21:05 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 21 May 2014 21:05:05 +0000 (21:05 +0000)
initialization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209320 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/llc.cpp

index abdc1ab634cf76bfe4023438a3374fbb9a1898dc..47be4a8b71adc845a0e4d2792e1add19415d426c 100644 (file)
@@ -75,13 +75,11 @@ OptLevel("O",
 static cl::opt<std::string>
 TargetTriple("mtriple", cl::desc("Override target triple for module"));
 
-cl::opt<bool> NoVerify("disable-verify", cl::Hidden,
-                       cl::desc("Do not verify input module"));
+static cl::opt<bool> NoVerify("disable-verify", cl::Hidden,
+                              cl::desc("Do not verify input module"));
 
-cl::opt<bool>
-DisableSimplifyLibCalls("disable-simplify-libcalls",
-                        cl::desc("Disable simplify-libcalls"),
-                        cl::init(false));
+static cl::opt<bool> DisableSimplifyLibCalls("disable-simplify-libcalls",
+                                             cl::desc("Disable simplify-libcalls"));
 
 static int compileModule(char**, LLVMContext&);