加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.clang-tidy 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
---
Checks: |
-*,
clang-diagnostic-*,
clang-analyzer-*,
bugprone-redundant-branch-condition,
bugprone-use-after-move,
bugprone-bool-pointer-implicit-conversion,
bugprone-unused-raii,
bugprone-fold-init-type,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-use-nodiscard,
-modernize-avoid-c-arrays,
misc-redundant-expression,
misc-unused-*,
-misc-unused-parameters,
readability-*,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-else-after-return,
-readability-inconsistent-declaration-parameter-name,
-readability-isolate-declaration,
-readability-named-parameter,
-readability-avoid-const-params-in-decls,
-readability-convert-member-functions-to-static,
portability-simd-intrinsics,
performance-type-promotion-in-math-fn,
performance-faster-string-find,
performance-inefficient-algorithm,
performance-move-const-arg
WarningsAsErrors: "*"
CheckOptions:
- key: readability-function-size.LineThreshold
value: "80"
- key: readability-function-cognitive-complexity.Threshold
value: "50"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化