[docs]update develop document (#10242)

This commit is contained in:
Yankee
2022-06-20 09:24:49 +08:00
committed by GitHub
parent ecdf8bcfdd
commit 185de4dd43
14 changed files with 67 additions and 65 deletions

View File

@ -26,7 +26,8 @@ under the License.
# C++ Code Diagnostic
Doris support to use [Clangd](https://clangd.llvm.org/) and [Clang-Tidy](https://clang.llvm.org/extra/clang-tidy/) to diagnostic code. Clangd and Clang-Tidy already has in [LDB-toolchain](../install/source-install/compilation-with-ldb-toolchain.md),also can install by self.
Doris support to use [Clangd](https://clangd.llvm.org/) and [Clang-Tidy](https://clang.llvm.org/extra/clang-tidy/)
to diagnostic code. Clangd and Clang-Tidy already has in [LDB-toolchain](../../docs/install/source-install/compilation-with-ldb-toolchain.md),also can install by self.
### Clang-Tidy
Clang-Tidy can do some diagnostic cofig, config file `.clang-tidy` is in Doris root path. Compared with vscode-cpptools, clangd can provide more powerful and accurate code jumping for vscode, and integrates the analysis and quick-fix functions of clang-tidy.