-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
55 lines (55 loc) · 1.82 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
---
Checks: '*,-altera-*,-bugprone-easily-swappable-parameters,-cppcoreguidelines-avoid-c-arrays,-cppcoreguidelines-avoid-magic-numbers,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-vararg,-hicpp-avoid-c-arrays,-hicpp-vararg,-fuchsia-*,-google-runtime-references,-hicpp-no-array-decay,-llvm-header-guard,-llvmlibc-*,-modernize-avoid-c-arrays,-modernize-use-trailing-return-type,-readability-identifier-length,-readability-implicit-bool-conversion,-readability-magic-numbers'
#
# For a list of check options, see:
# https://clang.llvm.org/extra/clang-tidy/checks/list.html
#
# Disabled checks:
#
# altera-*
# Doesn't apply.
#
# bugprone-easily-swappable-parameters
# Interesting test, but not something we can do much about in many places.
#
# cppcoreguidelines-avoid-magic-numbers
# readability-magic-numbers
# Sometimes givings things a name doesn't make it better.
#
# cppcoreguidelines-avoid-c-arrays
# cppcoreguidelines-pro-bounds-array-to-pointer-decay
# cppcoreguidelines-pro-bounds-constant-array-index
# cppcoreguidelines-pro-bounds-pointer-arithmetic
# hicpp-avoid-c-arrays
# hicpp-no-array-decay
# modernize-avoid-c-arrays
# Still needed too often.
#
# cppcoreguidelines-pro-type-vararg
# hicpp-vararg
# Sometimes still needed.
#
# fuchsia-*
# Much too strict.
#
# google-runtime-references
# Different style.
#
# llvm-header-guard
# We are using "#pragma once" instead
#
# llvmlibc-*
# Not applicable
#
# modernize-use-trailing-return-type
# We are not that modern
#
# readability-identifier-length
# Too strict.
#
# readability-implicit-bool-conversion
# I don't think this makes the code more readable.
#
#WarningsAsErrors: '*'
HeaderFilterRegex: '\/src\/'
...