[compiler-rt] r287268 - [sanitizers] specifying style for global constant
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 17 13:57:43 PST 2016
Author: aizatsky
Date: Thu Nov 17 15:57:43 2016
New Revision: 287268
URL: http://llvm.org/viewvc/llvm-project?rev=287268&view=rev
Log:
[sanitizers] specifying style for global constant
Subscribers: kubabrecka
Differential Revision: https://reviews.llvm.org/D26755
Modified:
compiler-rt/trunk/lib/sanitizer_common/.clang-tidy
Modified: compiler-rt/trunk/lib/sanitizer_common/.clang-tidy
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/.clang-tidy?rev=287268&r1=287267&r2=287268&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/.clang-tidy (original)
+++ compiler-rt/trunk/lib/sanitizer_common/.clang-tidy Thu Nov 17 15:57:43 2016
@@ -8,5 +8,9 @@ CheckOptions:
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
More information about the llvm-commits
mailing list