Reword this comment. Don't mention outs(), as that's not what

this code is actually testing for.

llvm-svn: 112767
This commit is contained in:
Dan Gohman 2010-09-01 23:33:02 +00:00
parent b1c861e28c
commit bc87387508

View File

@ -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