summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-01-05 17:31:55 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-01-05 17:31:55 +0000
commit1fbccbe78617075eb7c4df8a1e09b5edb5a19b35 (patch)
treedcfb71df09d4426fb84c0b644895aa28ca8b4a79 /llvm/tools/opt/opt.cpp
parente153fb35238c8cdd5b850d80c8f1982401f0a6ea (diff)
downloadbcm5719-llvm-1fbccbe78617075eb7c4df8a1e09b5edb5a19b35.tar.gz
bcm5719-llvm-1fbccbe78617075eb7c4df8a1e09b5edb5a19b35.zip
Make opt honor the quiet option when printing the bytecode warning.
llvm-svn: 19294
Diffstat (limited to 'llvm/tools/opt/opt.cpp')
-rw-r--r--llvm/tools/opt/opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 949c9b1d5c6..56bc16b6bdd 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -118,7 +118,7 @@ int main(int argc, char **argv) {
// If the output is set to be emitted to standard out, and standard out is a
// console, print out a warning message and refuse to do it. We don't impress
// anyone by spewing tons of binary goo to a terminal.
- if (!Force && !NoOutput && !Quiet && CheckBytecodeOutputToConsole(Out)) {
+ if (!Force && !NoOutput && CheckBytecodeOutputToConsole(Out,!Quiet)) {
NoOutput = true;
}
OpenPOWER on IntegriCloud