diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/System/Process.h | 3 | ||||
| -rw-r--r-- | llvm/lib/System/Win32/Process.inc | 3 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/System/Process.h b/llvm/include/llvm/System/Process.h index adc1f03deb4..11dbf759a6c 100644 --- a/llvm/include/llvm/System/Process.h +++ b/llvm/include/llvm/System/Process.h @@ -123,8 +123,7 @@ namespace sys {        /// changing colors.        static bool ColorNeedsFlush(); -      /// This function returns the colorcode escape sequences, and sets Len to -      /// the length of the escape sequence. +      /// This function returns the colorcode escape sequences.        /// If ColorNeedsFlush() is true then this function will change the colors        /// and return an empty escape sequence. In that case it is the        /// responsibility of the client to flush the output stream prior to diff --git a/llvm/lib/System/Win32/Process.inc b/llvm/lib/System/Win32/Process.inc index 97eba5808df..cfbe33c85a2 100644 --- a/llvm/lib/System/Win32/Process.inc +++ b/llvm/lib/System/Win32/Process.inc @@ -147,7 +147,7 @@ unsigned Process::StandardErrColumns() {    return Columns;  } -// it always has colors +// It always has colors.  bool Process::StandardErrHasColors() {    return StandardErrIsDisplayed();  } @@ -155,6 +155,7 @@ bool Process::StandardErrHasColors() {  bool Process::StandardOutHasColors() {    return StandardOutIsDisplayed();  } +  namespace {  class DefaultColors  {  | 

