aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/Support/SystemUtils.h4
-rw-r--r--include/llvm/Support/SystemUtils.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Support/SystemUtils.h b/include/Support/SystemUtils.h
index c874d9932c..d8c5a92e28 100644
--- a/include/Support/SystemUtils.h
+++ b/include/Support/SystemUtils.h
@@ -24,6 +24,10 @@ namespace llvm {
///
bool isExecutableFile(const std::string &ExeFileName);
+/// isStandardOutAConsole - Return true if we can tell that the standard output
+/// stream goes to a terminal window or console.
+bool isStandardOutAConsole();
+
/// 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
/// the same directory, but that directory is neither the current directory, nor
diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h
index c874d9932c..d8c5a92e28 100644
--- a/include/llvm/Support/SystemUtils.h
+++ b/include/llvm/Support/SystemUtils.h
@@ -24,6 +24,10 @@ namespace llvm {
///
bool isExecutableFile(const std::string &ExeFileName);
+/// isStandardOutAConsole - Return true if we can tell that the standard output
+/// stream goes to a terminal window or console.
+bool isStandardOutAConsole();
+
/// 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
/// the same directory, but that directory is neither the current directory, nor