[NFC][compiler-rt] Refine .clang-tidy checks

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D87182
This commit is contained in:
Vitaly Buka 2020-09-04 23:30:16 -07:00
parent 1387f96ab3
commit 298c9fae93
3 changed files with 3 additions and 18 deletions

View File

@ -1,2 +1,2 @@
# Checks enabled in the top-level .clang-tidy minus readability-identifier-naming
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes'
# Checks enabled in the top-level .clang-tidy minus readability-identifier-naming and llvm-header-guard.
Checks: '-*,clang-diagnostic-*,llvm-*,-llvm-header-guard,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes'

View File

@ -1,16 +0,0 @@
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,readability-identifier-naming'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.GlobalConstantCase
value: CamelCase
- key: readability-identifier-naming.GlobalConstantPrefix
value: "k"
- key: readability-identifier-naming.VariableCase
value: lower_case

View File

@ -0,0 +1 @@
Checks: '-*'