[llvm-commits] CVS: llvm/include/llvm/Support/SystemUtils.h

Reid Spencer reid at x10sys.com
Sat Jan 1 16:10:14 PST 2005



Changes in directory llvm/include/llvm/Support:

SystemUtils.h updated: 1.18 -> 1.19
---
Log message:

Make printing a warning message optional in CheckBytecodeOutputToConsole.


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

Index: llvm/include/llvm/Support/SystemUtils.h
diff -u llvm/include/llvm/Support/SystemUtils.h:1.18 llvm/include/llvm/Support/SystemUtils.h:1.19
--- llvm/include/llvm/Support/SystemUtils.h:1.18	Sat Jan  1 17:56:20 2005
+++ llvm/include/llvm/Support/SystemUtils.h	Sat Jan  1 18:10:03 2005
@@ -24,7 +24,10 @@
 /// advising against display of bytecode and return true. Otherwise just return
 /// false
 /// @brief Check for output written to a console
-bool CheckBytecodeOutputToConsole(std::ostream* stream_to_check);
+bool CheckBytecodeOutputToConsole(
+  std::ostream* stream_to_check, ///< The stream to be checked
+  bool print_warning = true ///< Control whether warnings are printed
+);
 
 /// FindExecutable - Find a named executable, giving the argv[0] of program
 /// being executed. This allows us to find another LLVM tool if it is built into






More information about the llvm-commits mailing list