adding readability-identifier-naming to llvm clang-tidy configuration.
authorMike Aizatsky <aizatsky@chromium.org>
Tue, 8 Dec 2015 17:44:51 +0000 (17:44 +0000)
committerMike Aizatsky <aizatsky@chromium.org>
Tue, 8 Dec 2015 17:44:51 +0000 (17:44 +0000)
Differential Revision: http://reviews.llvm.org/D15196

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255028 91177308-0d34-0410-b5e6-96231b3b80d8

.clang-tidy

index 3186da4..97fbe23 100644 (file)
@@ -1 +1,13 @@
-Checks: '-*,clang-diagnostic-*,llvm-*,misc-*'
+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:           lowerCase
+  - key:             readability-identifier-naming.UnionCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.VariableCase
+    value:           CamelCase
+