diff options
| author | James Y Knight <jyknight@google.com> | 2019-01-29 16:43:16 +0000 |
|---|---|---|
| committer | James Y Knight <jyknight@google.com> | 2019-01-29 16:43:16 +0000 |
| commit | 149be18dbc4d54328fe33b5ac21dcbbca2b07aa6 (patch) | |
| tree | b7836d73426b77848a352b585130b3d40dd14924 | |
| parent | f044d1884d9819430906e921490cd62530731fb6 (diff) | |
| download | bcm5719-llvm-149be18dbc4d54328fe33b5ac21dcbbca2b07aa6.tar.gz bcm5719-llvm-149be18dbc4d54328fe33b5ac21dcbbca2b07aa6.zip | |
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
| -rw-r--r-- | .clang-format | 1 | ||||
| -rw-r--r-- | .clang-tidy | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000000..9b3aa8b7213 --- /dev/null +++ b/.clang-format @@ -0,0 +1 @@ +BasedOnStyle: LLVM diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 00000000000..2cfcc2ac22b --- /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 + |

