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
This commit is contained in:
James Y Knight 2019-01-29 16:43:16 +00:00
parent f044d1884d
commit 149be18dbc
2 changed files with 18 additions and 0 deletions

1
.clang-format Normal file
View File

@ -0,0 +1 @@
BasedOnStyle: LLVM

17
.clang-tidy Normal file
View File

@ -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