summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2019-01-29 16:43:16 +0000
committerJames Y Knight <jyknight@google.com>2019-01-29 16:43:16 +0000
commit149be18dbc4d54328fe33b5ac21dcbbca2b07aa6 (patch)
treeb7836d73426b77848a352b585130b3d40dd14924 /.clang-tidy
parentf044d1884d9819430906e921490cd62530731fb6 (diff)
downloadllvm-149be18dbc4d54328fe33b5ac21dcbbca2b07aa6.tar.gz
Add .clang-tidy and .clang-format files to the toplevel of the
repository (the same content as those in llvm/ and clang/). llvm-svn: 352516
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy17
1 files changed, 17 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 000000000000..2cfcc2ac22b6
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,17 @@
+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: camelBack
+ - key: readability-identifier-naming.MemberCase
+ value: CamelCase
+ - key: readability-identifier-naming.ParameterCase
+ value: CamelCase
+ - key: readability-identifier-naming.UnionCase
+ value: CamelCase
+ - key: readability-identifier-naming.VariableCase
+ value: CamelCase
+