[PATCH] D94624: [PATCH] [clang-query] Add a --use-color option to clang-query

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 14 04:54:04 PST 2021


aaron.ballman added a reviewer: aaron.ballman.
aaron.ballman added a comment.

Thank you for working on this! I think this change should have some test coverage in `clang-tools-extra/test/clang-query` where a test file that emits some output is run with and without the `--use-color` option enabled, if possible. IIRC, there are some clang tests that you can probably use to find out the right command line arguments to pass to get the ANSI escape codes to print out.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94624/new/

https://reviews.llvm.org/D94624



More information about the cfe-commits mailing list