From 6c8db3416536ef2917c186eba873fce904ad8c1d Mon Sep 17 00:00:00 2001 From: Torok Edwin Date: Thu, 4 Jun 2009 08:18:25 +0000 Subject: [PATCH] Fix comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72858 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/System/Process.h | 3 +-- lib/System/Win32/Process.inc | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/System/Process.h b/include/llvm/System/Process.h index adc1f03deb4..11dbf759a6c 100644 --- a/include/llvm/System/Process.h +++ b/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/lib/System/Win32/Process.inc b/lib/System/Win32/Process.inc index 97eba5808df..cfbe33c85a2 100644 --- a/lib/System/Win32/Process.inc +++ b/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 { -- 2.34.1