mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-09 09:51:08 +02:00
Merge bitcoin/bitcoin#32662: doc: Remove build instruction for running clang-tidy
4b1b36acb4
doc: Remove build instruction for running `clang-tidy` (Hennadii Stepanov) Pull request description: 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`. ACKs for top commit: TheCharlatan: ACK4b1b36acb4
janb84: ACK4b1b36acb4
Tree-SHA512: cf28fb1bcff83016b927522f1c719f3b91df7d107a310250c550308c8544b212fa6d2e8a5502d69fa424421acdf952469edd67504ac2a8465a2c1520593a1f26
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user