[cfe-commits] [PATCH] Use color for -ast-dump-filter only when it is supported

Dmitri Gribenko gribozavr at gmail.com
Mon Nov 19 11:49:45 PST 2012


  LGTM.

  About the tests, I can not think of a good way to test this, since has_colors() boils down to isatty(fd).

http://llvm-reviews.chandlerc.com/D127



More information about the cfe-commits mailing list