Always check to see if raw_fd_ostream's file descriptor is attached to
authorDan Gohman <gohman@apple.com>
Sat, 15 Aug 2009 02:05:19 +0000 (02:05 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 15 Aug 2009 02:05:19 +0000 (02:05 +0000)
commitd7be663d4f96df8b0008c2116eb5af1de47ce613
treed4266f81df2ff917f71d4a6d3a6144603fb94dd6
parentfbcb5b678f0fc0432072212a26a0507954c805d8
Always check to see if raw_fd_ostream's file descriptor is attached to
a terminal, not just when it's STDOUT_FILENO.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79066 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/raw_ostream.cpp