llvm.org GIT mirror llvm / a2259e1
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 Dan Gohman 10 years ago
1 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
2020 class raw_ostream;
2121 namespace sys { class Path; }
2222
23 /// Determine if the raw_ostream provided is connected to the outs() and
24 /// displayed or not (to a console window). If so, generate a warning message
25 /// advising against display of bitcode and return true. Otherwise just return
26 /// false
23 /// Determine if the raw_ostream provided is connected to a terminal. If so,
24 /// generate a warning message to errs() advising against display of bitcode
25 /// and return true. Otherwise just return false.
2726 /// @brief Check for output written to a console
2827 bool CheckBitcodeOutputToConsole(
2928 raw_ostream &stream_to_check, ///< The stream to be checked