aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-27 20:32:10 +0000
committerChris Lattner <sabre@nondot.org>2004-05-27 20:32:10 +0000
commit3153e4fc80badcd3f7f87d20df86027d20964469 (patch)
treeb0592f361084bf450bc49c24819529395cb1b12d /tools
parent6ed81e253cbfb4a42ee9cf0d25d2756548a11f7d (diff)
downloadexternal_llvm-3153e4fc80badcd3f7f87d20df86027d20964469.zip
external_llvm-3153e4fc80badcd3f7f87d20df86027d20964469.tar.gz
external_llvm-3153e4fc80badcd3f7f87d20df86027d20964469.tar.bz2
Neuter the -q option. Stop printing the "program modified" message, ever
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/opt/opt.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index ace55d0..f907adf 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -60,7 +60,7 @@ static cl::opt<bool>
NoVerify("disable-verify", cl::desc("Do not verify result module"), cl::Hidden);
static cl::opt<bool>
-Quiet("q", cl::desc("Don't print 'program modified' message"));
+Quiet("q", cl::desc("Obsolete option"), cl::Hidden);
static cl::alias
QuietA("quiet", cl::desc("Alias for -q"), cl::aliasopt(Quiet));
@@ -165,8 +165,7 @@ int main(int argc, char **argv) {
Passes.add(new WriteBytecodePass(Out, Out != &std::cout));
// Now that we have all of the passes ready, run them.
- if (Passes.run(*M.get()) )
- return 0;
+ Passes.run(*M.get());
return 0;
}