projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6234582
)
Make opt honor the quiet option when printing the bytecode warning.
author
Reid Spencer
<rspencer@reidspencer.com>
Wed, 5 Jan 2005 17:31:55 +0000
(17:31 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Wed, 5 Jan 2005 17:31:55 +0000
(17:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19294
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/opt/opt.cpp
patch
|
blob
|
history
diff --git
a/tools/opt/opt.cpp
b/tools/opt/opt.cpp
index 949c9b1d5c644a0b39b4d3285742efda659c5df6..56bc16b6bdd3204daeb9e2d61169a115d5142fdc 100644
(file)
--- a/
tools/opt/opt.cpp
+++ b/
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(Ou
t)) {
+ if (!Force && !NoOutput &&
CheckBytecodeOutputToConsole(Out,!Quie
t)) {
NoOutput = true;
}