[compiler-rt] a5d6af4 - [compiler-rt] Add .clang-tidy with customization to disable readability-identifier-naming
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 16:10:04 PDT 2020
Author: Fangrui Song
Date: 2020-09-04T16:05:20-07:00
New Revision: a5d6af421d625c78bfb0f63830b51863ff0f0877
URL: https://github.com/llvm/llvm-project/commit/a5d6af421d625c78bfb0f63830b51863ff0f0877
DIFF: https://github.com/llvm/llvm-project/commit/a5d6af421d625c78bfb0f63830b51863ff0f0877.diff
LOG: [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.
Added:
compiler-rt/.clang-tidy
Modified:
Removed:
################################################################################
diff --git a/compiler-rt/.clang-tidy b/compiler-rt/.clang-tidy
new file mode 100644
index 000000000000..e949902171e7
--- /dev/null
+++ b/compiler-rt/.clang-tidy
@@ -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'
More information about the llvm-commits
mailing list