>But what if Lit isn't running in a device capable of color output? Won't
>this add a bunch of ugly ASCII codes?

Wouldn't clang refrain from outputting color codes to begin with?
Do you know of any way to detect this?

>I think what tools like Ninja do is to also optionally strip the color
>codes in that case (
>https://github.com/martine/ninja/blob/master/src/util.cc#L384).

Not much you can do about that. At least the colored output makes it one step 
further.

Thanks for the input.

http://reviews.llvm.org/D6010



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

Reply via email to