summaryrefslogtreecommitdiff
path: root/.lclintrc
blob: d58dc131dfd7f20c6129a6ef7c0a4b28c4465fb2 (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
-I. -I./build -I./lib -I./rpmdb -I./rpmio -I./popt -DHAVE_CONFIG_H -D_GNU_SOURCE

#+partial
#+forcehints

-warnunixlib
-warnposix

+unixlib

-unrecogcomments	# XXX ignore doxygen markings

#-deepbreak		# shortcut 485 occurences

+checks			# lclint level

# --- lclint-3.0.0.15 is pickier than lclint-2.5r
#-formatconst
#-compdef
#-nullstate
-usedef			# 296 occurences wtfo?
#-unsignedcompare
#-compmempass
#-multithreaded
#-nullderef		# 6 occurences in getdate.y
#-nullpass
#-unrecog
#-portability
#-readonlytrans		# 128 occurences in getdate.y
#-noparams
-usereleased		# 3 occurences wtfo?
#-firstcase
#-shadow
#-bufferoverflowhigh
#-superuser
#-retvalint
#-incondefs
#-nullptrarith
#-fcnuse
-fielduse		# noisy in 3.0.0.15
#-varuse
#-exportlocal
#-exportheadervar

# --- not-yet at strict level
#+ptrarith
#+bitwisesigned
#+strictops
#+sizeoftype

#+mod-uncon		# shortcut alloca is painful
#+mod-nomods		# 927 occurences
+modglobsnomods
+modstrictglobsnomods

#+mod-uncon-nomods	# ~118 occurences
#+mod-internal-strict
#+mod-file-sys		# 153 occurences
#+globnoglobs		# 1 occurence
#+internalglobs		# 38 occurences
#+internalglobnoglobs		# ???
#+modglobsunchecked	# 73 occurences
+warnmissingglobs
#+warnmissingglobsnomods	# ???
#+impcheckedstrictglobs	# 358 occurences
#+impcheckedstrictstatics # 1057 occurences
#+strictusereleas
#+strictbranchstate
#+strictdestroy
#+modobserveruncon	# 192 occurences
+macroempty
#+ansi-reserved-internal
#+evalorderuncon	# 32 occurences
#+elseifcomplete	# 95 occurences
#+loopswitchbreak	# 286 occurences
#+switchswitchbreak	# 32 occurences
#+looploopcontinue	# 86 occurences
+forempty
#+whileblock
#+forblock
#+ifblock
#+noeffectuncon		# 228 occurences
+topuse
#+unusedspecial
+oldstyle
#+sys-dir-errors	# 749
#controlnestdepth 15
#stringliterallen 509
#numstructfields 127
#numenummembers 127

# --- not-yet at checks level
-predboolptr		# 773 occurences
+enumint		# 93 occurences
-allglobs		# 131 occurrences
-ansi-reserved		# goofy
-infloopsuncon		# goofy

-proto-param-match	# 59 occurences

# don't-bother-me-yet parameters
-branchstate		# painful
-mustfree		# alloca is painful

# --- not-yet at standard level
-boolops		# w->n
-predboolint		# w->n
-type			#

# -weak paramaters
#+boolint
#-boolops
#+ignorequals
#+ignoresigns
#-mustfree
#+longintegral
#+matchanyintegral
#-nullpass
#-observertrans
#-predboolint
#-predboolothers
#-retvalint
#-retvalother
#-shiftsigned