forked from google/orbit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
62 lines (60 loc) · 2.21 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
57
58
59
60
61
62
# Copyright (c) 2020 The Orbit Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
---
Checks: >
-*,
abseil-*,
bugprone-*,
cert-*,
-cert-err58-cpp,
cppcoreguidelines-*,
-cppcoreguidelines-special-member-functions,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-avoid-non-const-global-variables,
misc-*,
-misc-non-private-member-variables-in-classes,
google-*,
-google-default-arguments,
-google-runtime-references,
modernize-*,
-modernize-use-noexcept,
-modernize-use-trailing-return-type,
performance-*,
-performance-noexcept-move-constructor,
readability-*,
-readability-function-cognitive-complexity,
-readability-magic-numbers,
-readability-non-const-parameter,
-readability-uppercase-literal-suffix,
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
CheckOptions:
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '2'
- key: readability-identifier-naming.ClassCase
value: 'CamelCase'
- key: readability-identifier-naming.ConstexprVariableCase
value: 'CamelCase'
- key: readability-identifier-naming.ConstexprVariablePrefix
value: 'k'
- key: readability-identifier-naming.EnumCase
value: 'CamelCase'
- key: readability-identifier-naming.EnumConstantCase
value: 'CamelCase'
- key: readability-identifier-naming.EnumConstantPrefix
value: 'k'
- key: readability-identifier-naming.FunctionCase
value: 'CamelCase'
- key: readability-identifier-naming.LocalVariableCase
value: 'lower_case'
- key: readability-identifier-naming.ParameterCase
value: 'lower_case'
- key: readability-identifier-naming.StructCase
value: 'CamelCase'
- key: readability-braces-around-statements.ShortStatementLines
value: '1'
...