From 04d74bf05bb1c16f50cfb6cbdd18d0effbfcf7c3 Mon Sep 17 00:00:00 2001 From: Pierre Moreau Date: Fri, 13 Apr 2018 17:57:52 +0200 Subject: Use LLVM’s own clang-tidy configuration file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .clang-tidy | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 3186da4..aff99a0 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1 +1,17 @@ -Checks: '-*,clang-diagnostic-*,llvm-*,misc-*' +Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,readability-identifier-naming,-llvm-header-guard' +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 + -- cgit v1.2.3