r266184 - Try to use readability-identifier-naming check on Clang.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 13 01:59:49 PDT 2016
Author: alexfh
Date: Wed Apr 13 03:59:49 2016
New Revision: 266184
URL: http://llvm.org/viewvc/llvm-project?rev=266184&view=rev
Log:
Try to use readability-identifier-naming check on Clang.
Modified:
cfe/trunk/.clang-tidy
Modified: cfe/trunk/.clang-tidy
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/.clang-tidy?rev=266184&r1=266183&r2=266184&view=diff
==============================================================================
--- cfe/trunk/.clang-tidy (original)
+++ cfe/trunk/.clang-tidy Wed Apr 13 03:59:49 2016
@@ -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
More information about the cfe-commits
mailing list