-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
51 lines (51 loc) · 1.67 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
# Copyright (C) 2024 Roberto Rossini <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0
#
# This library is free software: you can redistribute it and/or
# modify it under the terms of the GNU Public License as published
# by the Free Software Foundation; either version 3 of the License,
# or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Public License along
# with this library. If not, see
# <https://www.gnu.org/licenses/>.
---
Checks: >
*,
-abseil-*,
-fuchsia-*,
-google-*,
-zircon-*,
-llvm-*,
-llvmlibc-*,
-altera-*,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-hicpp-no-array-decay,
-misc-include-cleaner,
-misc-no-recursion,
-misc-use-anonymous-namespace,
-modernize-use-trailing-return-type,
-readability-identifier-length,
-readability-magic-numbers,
-readability-static-definition-in-anonymous-namespace
WarningsAsErrors: ""
HeaderFilterRegex: ""
FormatStyle: none
CheckOptions:
- key: cppcoreguidelines-macro-usage.AllowedRegexp
value: "DISABLE_WARNING_.*"
- key: misc-include-cleaner.IgnoreHeaders
value: "fmt/.*"
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: "1"
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: "1"