mirror of https://github.com/bitcoin/bitcoin.git
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…
Reference in New Issue