[llvm-commits] CVS: llvm/tools/opt/opt.cpp

Reid Spencer reid at x10sys.com
Wed Jan 5 09:32:06 PST 2005



Changes in directory llvm/tools/opt:

opt.cpp updated: 1.101 -> 1.102
---
Log message:

Make opt honor the quiet option when printing the bytecode warning.


---
Diffs of the changes:  (+1 -1)

Index: llvm/tools/opt/opt.cpp
diff -u llvm/tools/opt/opt.cpp:1.101 llvm/tools/opt/opt.cpp:1.102
--- llvm/tools/opt/opt.cpp:1.101	Sat Jan  1 17:57:01 2005
+++ llvm/tools/opt/opt.cpp	Wed Jan  5 11:31:55 2005
@@ -118,7 +118,7 @@
     // 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;
     }
 






More information about the llvm-commits mailing list