加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.clangd 2.89 KB
一键复制 编辑 原始数据 按行查看 历史
刘骢 提交于 2023-12-04 14:14 . remve ClangTidy rule: cert-err34-c
Diagnostics:
ClangTidy:
Add: [readability-braces-around-statements,
readability-identifier-naming,
misc*,google*,
clang-analyzer-nullability*,
clang-analyzer-*, cert-*,
bugprone-*,
cppcoreguidelines-*,
modernize-deprecated-headers,
modernize-loop-convert,
modernize-use-default-member-init,
concurrency-*,
performance-*]
Remove: [google-build-using-namespace,
bugprone-undefined-memory-manipulation,
cppcoreguidelines-pro-type-union-access,
cppcoreguidelines-pro-type-member-init,
misc-no-recursion,
cert-env33-c,
cert-err34-c,
cert-err58-cpp,
cert-msc*,
concurrency-mt-unsafe,
cppcoreguidelines-no-malloc,
cppcoreguidelines-owning-memory,
cppcoreguidelines-special-member-functions,
google-readability-todo,
bugprone-easily-swappable-parameters,
cppcoreguidelines-pro-bounds-constant-array-index,
cppcoreguidelines-explicit-virtual-functions,
cppcoreguidelines-virtual-class-destructor,
cppcoreguidelines-pro-type-reinterpret-cast,
google-explicit-constructor,
cppcoreguidelines-pro-bounds-array-to-pointer-decay,
cppcoreguidelines-pro-bounds-pointer-arithmetic,
cppcoreguidelines-pro-type-vararg,
cppcoreguidelines-avoid-magic-numbers,
cppcoreguidelines-avoid-c-arrays,
cppcoreguidelines-avoid-non-const-global-variables,
cppcoreguidelines-non-private-member-variables-in-classes]
CheckOptions:
misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: 1
modernize-loop-convert.MinConfidence: risky
readability-identifier-naming.VariableCase: lower_case
readability-identifier-naming.GlobalVariableCase: lower_case
readability-identifier-naming.ClassMemberCase: lower_case
readability-identifier-naming.ClassMemberSuffix: _
readability-identifier-naming.PrivateMemberCase: lower_case
readability-identifier-naming.PrivateMemberSuffix: _
readability-identifier-naming.ProtectedMemberCase: lower_case
readability-identifier-naming.ProtectedMemberSuffix: _
readability-identifier-naming.EnumCase: UPPER_CASE
readability-identifier-naming.EnumConstantCase: UPPER_CASE
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
readability-identifier-naming.ConstantCase: UPPER_CASE
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.StructCase : CamelCase
readability-identifier-naming.FunctionCase: lower_case
readability-identifier-naming.ClassMethodCase: CamelCase
readability-identifier-naming.MethodCase: CamelCase
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化