Try to use readability-identifier-naming check on Clang.
authorAlexander Kornienko <alexfh@google.com>
Wed, 13 Apr 2016 08:59:49 +0000 (08:59 +0000)
committerAlexander Kornienko <alexfh@google.com>
Wed, 13 Apr 2016 08:59:49 +0000 (08:59 +0000)
llvm-svn: 266184

clang/.clang-tidy

index 12ef5b9..d10f688 100644 (file)
@@ -1 +1,12 @@
-Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters'
+Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,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