summaryrefslogtreecommitdiff
path: root/.lclintrc
blob: 36e9fe1fa1cc52a43a56df7eb6e0496d07a39287 (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
-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

# --- 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		# 102 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
#+loopswitchbreak	# 286 occurences
#+switchswitchbreak	# 32 occurences
#+looploopcontinue	# 86 occurences
#+whileblock
+forempty
#+forblock
#+ifblock
#+noeffectuncon		# 228 occurences
+topuse
#+unusedspecial
#+export-local
+oldstyle
#+sys-dir-errors
#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