[llvm-commits] [llvm] r112767 - /llvm/trunk/include/llvm/Support/SystemUtils.h

Dan Gohman gohman at apple.com
Wed Sep 1 16:33:02 PDT 2010


Author: djg
Date: Wed Sep  1 18:33:02 2010
New Revision: 112767

URL: http://llvm.org/viewvc/llvm-project?rev=112767&view=rev
Log:
Reword this comment. Don't mention outs(), as that's not what
this code is actually testing for.

Modified:
    llvm/trunk/include/llvm/Support/SystemUtils.h

Modified: llvm/trunk/include/llvm/Support/SystemUtils.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/SystemUtils.h?rev=112767&r1=112766&r2=112767&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/SystemUtils.h (original)
+++ llvm/trunk/include/llvm/Support/SystemUtils.h Wed Sep  1 18:33:02 2010
@@ -21,10 +21,9 @@
   class raw_ostream;
   namespace sys { class Path; }
 
-/// Determine if the raw_ostream provided is connected to the outs() and
-/// displayed or not (to a console window). If so, generate a warning message
-/// advising against display of bitcode and return true. Otherwise just return
-/// false
+/// Determine if the raw_ostream provided is connected to a terminal. If so,
+/// generate a warning message to errs() advising against display of bitcode
+/// and return true. Otherwise just return false.
 /// @brief Check for output written to a console
 bool CheckBitcodeOutputToConsole(
   raw_ostream &stream_to_check, ///< The stream to be checked





More information about the llvm-commits mailing list