diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-30 09:26:19 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-07-30 09:26:22 +0200 |
commit | ab3db34836b157fe9a2196989a4d290c714bddc3 (patch) | |
tree | e2286069e90b2254579fa2488a4db6f41e196f84 /build-aux | |
parent | 5871b5b5ab57a0caf9b7514eb162c491c83281d5 (diff) | |
parent | 3fe58a98d3406fc62f6dbbd8c0d58caefc69c9ae (diff) |
Merge bitcoin/bitcoin#25713: tidy: run clang-tidy in quiet mode
3fe58a98d3406fc62f6dbbd8c0d58caefc69c9ae tidy: run clang-tidy in quiet mode (fanquake)
Pull request description:
This should cut the amount of output by atleast half.
```bash
/opt/homebrew/opt/llvm/bin/clang-tidy --use-color -p=bitcoin bitcoin/src/wallet/test/fuzz/coinselection.cpp
278 warnings generated.
Suppressed 278 warnings (278 in non-user code).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
```
becomes
```bash
/opt/homebrew/opt/llvm/bin/clang-tidy --use-color -p=/bitcoin -quiet bitcoin/src/wallet/test/fuzz/coinselection.cpp
278 warnings generated.
```
See https://clang.llvm.org/extra/clang-tidy/.
> --quiet
> Run clang-tidy in quiet mode. This suppresses
> printing statistics about ignored warnings and
> warnings treated as errors if the respective
> options are specified.
However the `run-clang-tidy` option is `-quiet`. See https://github.com/llvm/llvm-project/blob/f28c006a5895fc0e329fe15fead81e37457cb1d1/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py#L244.
ACKs for top commit:
jamesob:
ACK https://github.com/bitcoin/bitcoin/pull/25713/commits/3fe58a98d3406fc62f6dbbd8c0d58caefc69c9ae
Tree-SHA512: 936cfab09a78e71a4a2a2b3539087c1a95fe279923cc8c3f950c70924d6920dcd54b0da8b5493a1337c23a3b25834ab0db5a6b0c660c6e46d750f0fc966e7625
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions