On May 1, 2009, at 5:03 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Fri May  1 19:03:46 2009
> New Revision: 70611
>
> URL: http://llvm.org/viewvc/llvm-project?rev=70611&view=rev
> Log:
> When -fmessage-length=N is not specified, and if standard error is
> going to a terminal, word-wrap to the length of the terminal.

Awesome! Instead of calling isatty, please use  
llvm::sys::Process::StandardErrIsDisplayed().  It isn't a huge deal,  
since you have to use unix-specific code to get the terminal width,  
but it helps :)

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to