-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
56 lines (54 loc) · 2.85 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright (c) Christopher Di Bella.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Checks: "abseil-*,boost-*,bugprone-*,-bugprone-exception-escape,-bugprone-forwarding-reference-overload,cert-*,-cert-dcl21-cpp,-cert-dcl59-cpp,-cert-msc32-c,-cert-msc51-cpp,clang-analyzer-*,-clang-diagnostic-missing-prototypes,-clang-diagnostic-unused-command-line-argument,cppcoreguildelines-*,google-*,-google-runtime-int,-google-runtime-references,misc-*,-misc-no-recursion,-misc-non-private-member-variables-in-classes,modernize-*,performance-*,portability-*,readability-*,-readability-function-size,-readability-qualified-auto,-readability-named-parameter,-bugprone-reserved-identifier,-cert-dcl37-c,-cert-dcl51-cpp,-readability-magic-numbers"
WarningsAsErrors: "*"
CheckOptions:
- key: bugprone-assert-side-effect
value: CJDB_EXPECTS,CJDB_ENSURES,CJDB_ASSERT
- key: bugprone-dangling-handle.HandleClasses
value: "::std::basic_string_view;::std::ranges::subrange;::std::ranges::all_view;::std::ranges::common_view;::std::ranges::keys_view;::std::ranges::values_view"
- key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression
value: 1
- key: performance-faster-string-find.StringLikeClasses
value: "::std::basic_string,::std::basic_string_view"
- key: readability-simplify-boolean-expr.ChainedConditionalReturn
value: "1"
- key: readability-simplify-boolean-expr.ChainedConditionalAssignment
value: "1"
- key: readability-simplify-subscript-expr.Types
value: "::std::basic_string;::std::basic_string_view;::std::vector;::std::array,::std::span"
- key: readability-identifier-naming.ClassCase
value: "lower_case"
- key: readability-identifier-naming.ClassMemberSuffix
value: "_"
- key: readability-identifier-naming.ConstantCase
value: "lower_case"
- key: readability-identifier-naming.ConstexprVariableCase
value: "lower_case"
- key: readability-identifier-naming.EnumCase
value: "lower_case"
- key: readability-identifier-naming.EnumConstantCase
value: "lower_case"
- key: readability-identifier-naming.FunctionCase
value: "lower_case"
- key: readability-identifier-naming.GlobalCase
value: "lower_case"
- key: readability-identifier-naming.MemberCase
value: "lower_case"
- key: readability-identifier-naming.NamespaceCase
value: "lower_case"
- key: readability-identifier-naming.ParameterCase
value: "lower_case"
- key: readability-identifier-naming.PrivateMemberSuffix
value: "_"
- key: readability-identifier-naming.PrivateMethodCase
value: "lower_case"
- key: readability-identifier-naming.TypeTemplateParameterCase
value: "CamelCase"
- key: readability-identifier-naming.TypeAliasCase
value: "lower_case"
- key: readability-identifier-naming.ValueTemplateParameterCase
value: "lower_case"
- key: readability-identifier-naming.VariableCase
value: "lower_case"