[cfe-dev] clang-tidy: controlling color diagnostics
don hinton via cfe-dev
cfe-dev at lists.llvm.org
Sun Aug 27 10:09:38 PDT 2017
Did you build it yourself?
There's a test in llvm/cmake/config-ix.cmake that sets HAVE_TERMINFO, which
needs to be set in order to enable colors. If it's not set or set to 0,
then you won't get colors. Try installing one of the libraries mentioned
in the test: tinfo terminfo curses ncurses ncursesw.
hth...
don
On Sun, Aug 27, 2017 at 9:45 AM, Riyaz Puthiyapurayil via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Is there a way to turn on/off color diagnostics in clang-tidy? Passing
> -f[no]-color-diagnostics via -extra-arg does not seem to have any effect.
>
>
>
> *-Riyaz*
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170827/af6263bb/attachment.html>
More information about the cfe-dev
mailing list