-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.lintflags
56 lines (42 loc) · 1.64 KB
/
.lintflags
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
# ---------------------------------------------------------------------------- #
# FILE FORMAT #
# ---------------------------------------------------------------------------- #
# Available checks can be found at http://clang.llvm.org/extra/clang-tidy/ #
# To add a new check add it normally #
# To PREVENT the linter from using a check, prefix with '-' #
# Extra links: https://clang.llvm.org/extra/clang-tidy/checks/list.html #
# Clang-tidy docs: https://clang.llvm.org/docs/ClangFormat.html #
# ---------------------------------------------------------------------------- #
# Enforce google standard
google-*
# Use High Integrity C++ Coding Standard
hicpp-*
# Use LLVM Coding Standard
llvm-*
# Use all miscellaneous flags
misc-*
# Apply readability constraints
readability-*
# Apply bugprone checks
bugprone-*
# ---------------------------------------------------------------------------- #
# The following are check DISABLES for certain behaviours
# Allow un-use of use auto
-hicpp-use-auto
# Allow string comparison .compare and not only via == or !=
-misc-string-compare
# Allow warnings for signed bitwise operators
-hicpp-signed-bitwise
# Allow printfs calls in C style
-hicpp-vararg
# Allow implicit bool casts and conversions
-readability-implicit-bool-cast
-readability-implicit-bool-conversion
# Prevent conflicting standards
-llvm-include-order
# Deprecated checks
-hicpp-special-member-functions
-hicpp-use-equals-delete
-hicpp-no-array-decay
-readability-delete-null-pointer
-hicpp-member-init