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:
Hennadii Stepanov
2025-06-02 13:49:19 +01:00
parent 9e105107bf
commit 4b1b36acb4

View File

@@ -221,7 +221,6 @@ Configure with clang as the compiler:
```sh ```sh
cmake -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON 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. The output is denoised of errors from external dependencies.