summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-21 21:05:05 +0000
committerEric Christopher <echristo@gmail.com>2014-05-21 21:05:05 +0000
commit9a3798632893c9fdec7e29afbdd98be6ef82a72a (patch)
tree3d9e84c22e0466056c935927639a9b8ffa2b623d /tools
parentc10a1edf3f6f86f8df973fe9de9432d5d4da6219 (diff)
downloadllvm-9a3798632893c9fdec7e29afbdd98be6ef82a72a.tar.gz
llvm-9a3798632893c9fdec7e29afbdd98be6ef82a72a.tar.bz2
llvm-9a3798632893c9fdec7e29afbdd98be6ef82a72a.tar.xz
Make a couple of command lines static and remove an unnecessary
initialization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llc/llc.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index abdc1ab634..47be4a8b71 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -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&);