Closed lalten closed 7 months ago
fmi: what's the purpose? doesn't the bazel UI hide output anyways?
fmi: what's the purpose? doesn't the bazel UI hide output anyways?
If the clang-tidy configuration causes the tool to print stuff but still exit 0, Bazel will show everything. You can try to put an echo hello
in the run_clang_tidy.sh
, it will be printed always
Example:
INFO: From Run clang-tidy on path/to/source.cpp:
2618 warnings generated.
Suppressed 2626 warnings (2618 in non-user code, 8 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Thanks!
Let's have a dark cockpit. With this change, if you have no clang-tidy issues in any file, there will not be any output.