mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
doc: Remove build instruction for running clang-tidy
One of the benefits of using a compilation database, which is available after the CMake build system generation step, is that it is not necessary to actually build the code in order to run `clang-tidy`.
This commit is contained in:
parent
9e105107bf
commit
4b1b36acb4
@ -221,7 +221,6 @@ Configure with clang as the compiler:
|
||||
|
||||
```sh
|
||||
cmake -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
cmake --build build -j $(nproc)
|
||||
```
|
||||
|
||||
The output is denoised of errors from external dependencies.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user