[refactor][doc]The new version of the document is online (#9272)

replace the `docs/` with `new-docs/`
This commit is contained in:
jiafeng.zhang
2022-04-28 15:22:34 +08:00
committed by GitHub
parent 1378e7e05f
commit 267e8b67c2
2222 changed files with 2026 additions and 151178 deletions

View File

@ -26,7 +26,7 @@ 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](https://doris.apache.org/zh-CN/installing/compilation-with-ldb-toolchain),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](https://doris.apache.org/zh-CN/installing/compilation-with-ldb-toolchain)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.