[compiler-rt] 298c9fa - [NFC][compiler-rt] Refine .clang-tidy checks
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 5 15:42:26 PDT 2020
Author: Vitaly Buka
Date: 2020-09-05T15:42:15-07:00
New Revision: 298c9fae9370598a37896c002da6250c3b1a2313
URL: https://github.com/llvm/llvm-project/commit/298c9fae9370598a37896c002da6250c3b1a2313
DIFF: https://github.com/llvm/llvm-project/commit/298c9fae9370598a37896c002da6250c3b1a2313.diff
LOG: [NFC][compiler-rt] Refine .clang-tidy checks
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D87182
Added:
compiler-rt/test/.clang-tidy
Modified:
compiler-rt/.clang-tidy
Removed:
compiler-rt/lib/sanitizer_common/.clang-tidy
################################################################################
diff --git a/compiler-rt/.clang-tidy b/compiler-rt/.clang-tidy
index e949902171e7..4bad5ef21620 100644
--- a/compiler-rt/.clang-tidy
+++ b/compiler-rt/.clang-tidy
@@ -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'
diff --git a/compiler-rt/lib/sanitizer_common/.clang-tidy b/compiler-rt/lib/sanitizer_common/.clang-tidy
deleted file mode 100644
index 6c71abff0d38..000000000000
--- a/compiler-rt/lib/sanitizer_common/.clang-tidy
+++ /dev/null
@@ -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
diff --git a/compiler-rt/test/.clang-tidy b/compiler-rt/test/.clang-tidy
new file mode 100644
index 000000000000..612bd0ee8de8
--- /dev/null
+++ b/compiler-rt/test/.clang-tidy
@@ -0,0 +1 @@
+Checks: '-*'
More information about the llvm-commits
mailing list