diff options
author | Mike Aizatsky <aizatsky@chromium.org> | 2016-01-21 23:21:31 +0000 |
---|---|---|
committer | Mike Aizatsky <aizatsky@chromium.org> | 2016-01-21 23:21:31 +0000 |
commit | 76720429ce45a4b87d7aef94555fddad1555d56c (patch) | |
tree | d1020ac4c5c123bfdbce921914e4f20e3bf0af32 | |
parent | fc4200bce890fd4b8a7d74fdd3c76f1a8809c79f (diff) |
.clang-tidy for sanitizer package to override root llvm style
Summary:
sanitizer-common follows Google code style, override
clang-tidy config.
Differential Revision: http://reviews.llvm.org/D16373
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@258449 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/sanitizer_common/.clang-tidy | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/sanitizer_common/.clang-tidy b/lib/sanitizer_common/.clang-tidy new file mode 100644 index 000000000..d41d0ddd0 --- /dev/null +++ b/lib/sanitizer_common/.clang-tidy @@ -0,0 +1,12 @@ +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.VariableCase + value: lowerCase |