[compiler-rt] Add .clang-tidy with customization to disable readability-identifier-naming

Copied from lldb/.clang-tidy (D75810).

Most compiler-rt code actually uses variableName or variable_name but not VariableName.
Lots of functions use `__function_name` and FunctionName instead of functionName.
Just exclude readability-identifier-naming.
This commit is contained in:
Fangrui Song 2020-09-04 16:05:20 -07:00
parent 5e04b539c8
commit a5d6af421d
1 changed files with 2 additions and 0 deletions

2
compiler-rt/.clang-tidy Normal file
View File

@ -0,0 +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'