aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-06-12 13:56:36 +0100
committerfanquake <fanquake@gmail.com>2023-06-15 14:12:10 +0100
commit3b2acfcfec83a4e6e50b3f21e0810274bdb05afb (patch)
treec2d2c0512500542dcdbfa23a3ff2fd525f897dbf /doc
parent7a59865793cd710d7d6650a6106ca4e790ced5d3 (diff)
downloadbitcoin-3b2acfcfec83a4e6e50b3f21e0810274bdb05afb.tar.xz
build: suppress external warnings by default
Diffstat (limited to 'doc')
-rw-r--r--doc/developer-notes.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/developer-notes.md b/doc/developer-notes.md
index 08dde2aa61..fca72914a3 100644
--- a/doc/developer-notes.md
+++ b/doc/developer-notes.md
@@ -217,13 +217,11 @@ apt install clang-tidy bear clang
Then, pass clang as compiler to configure, and use bear to produce the `compile_commands.json`:
```sh
-./autogen.sh && ./configure CC=clang CXX=clang++ --enable-suppress-external-warnings
+./autogen.sh && ./configure CC=clang CXX=clang++
make clean && bear --config src/.bear-tidy-config -- make -j $(nproc)
```
-The output is denoised of errors from external dependencies and includes with
-`--enable-suppress-external-warnings` and `--config src/.bear-tidy-config`. Both
-options may be omitted to view the full list of errors.
+The output is denoised of errors from external dependencies.
To run clang-tidy on all source files: