aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/SystemUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/SystemUtils.h')
-rw-r--r--include/llvm/Support/SystemUtils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h
index 856bc20b7c..e323448d5b 100644
--- a/include/llvm/Support/SystemUtils.h
+++ b/include/llvm/Support/SystemUtils.h
@@ -24,7 +24,10 @@ namespace llvm {
/// 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