summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-01 23:33:02 +0000
committerDan Gohman <gohman@apple.com>2010-09-01 23:33:02 +0000
commita2259e17b7c657ddeb0c3a03a5ca291ca4e0dc7e (patch)
tree52d5d6647061ad46c654f9856c4acc0458c80cfb
parent72eaa0e5eb345a8483608675b86dfcfa465c784c (diff)
downloadllvm-a2259e17b7c657ddeb0c3a03a5ca291ca4e0dc7e.tar.gz
llvm-a2259e17b7c657ddeb0c3a03a5ca291ca4e0dc7e.tar.bz2
llvm-a2259e17b7c657ddeb0c3a03a5ca291ca4e0dc7e.tar.xz
Reword this comment. Don't mention outs(), as that's not what
this code is actually testing for. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112767 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/SystemUtils.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h
index b3d83fc243..3c182c1ca8 100644
--- a/include/llvm/Support/SystemUtils.h
+++ b/include/llvm/Support/SystemUtils.h
@@ -21,10 +21,9 @@ namespace llvm {
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