diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-02 05:04:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-02 05:04:12 +0000 |
commit | 909f6cf3501dbe358f36afca3f66f215eedd6802 (patch) | |
tree | 9547dc0b74591d605d6e9f7164ea6350270d6b0e /include/llvm/Support/SystemUtils.h | |
parent | b234d460b25fea41531cd6edf3da67ec1601233b (diff) | |
download | external_llvm-909f6cf3501dbe358f36afca3f66f215eedd6802.zip external_llvm-909f6cf3501dbe358f36afca3f66f215eedd6802.tar.gz external_llvm-909f6cf3501dbe358f36afca3f66f215eedd6802.tar.bz2 |
Add new function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/SystemUtils.h')
-rw-r--r-- | include/llvm/Support/SystemUtils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h index c874d99..d8c5a92 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 |