加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.clang-tidy 2.84 KB
一键复制 编辑 原始数据 按行查看 历史
ragnvald 提交于 2022-07-06 09:23 . Opensourcing arkcompiler_runtime_core
---
# NB! The list of global exceptions is maintained in cmake/ClangTidy.cmake
WarningsAsErrors: '*'
# TODO add to HeaderFilterRegex: dprof, panda CLI
HeaderFilterRegex: '.*/(assembler|compiler|debugger|libpandabase|libpandafile|runtime|class2panda|es2panda)/.*'
AnalyzeTemporaryDtors: false
User: user
CheckOptions:
- key: google-readability-braces-around-statements.ShortStatementLines
value: '1'
- key: google-readability-function-size.StatementThreshold
value: '800'
- key: google-readability-namespace-comments.ShortNamespaceLines
value: '10'
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '2'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-loop-convert.NamingStyle
value: CamelCase
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: readability-identifier-naming.ClassMethodCase
value: CamelCase
- key: readability-identifier-naming.MethodCase
value: CamelCase
- key: readability-identifier-naming.EnumConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ConstantMemberCase
value: UPPER_CASE
- key: readability-function-size.LineThreshold
value: 200
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.PrivateMemberSuffix
value: _
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstantPrefix
value: g_
- key: readability-identifier-naming.LocalVariableCase
value: CamelCase
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-magic-numbers.IgnoredIntegerValues
value: '1;2;3;4;5;6;7;8'
...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化