summaryrefslogtreecommitdiff
path: root/.lclintrc
blob: 7c6b2081b4be9218d76bbfa66805752631c49d37 (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
-I. -I./build -I./lib -I./rpmdb -I./rpmio -I./beecrypt -I./popt -I/usr/lib/gcc-lib/i386-redhat-linux/2.96/include -DHAVE_CONFIG_H -D_GNU_SOURCE -D_REENTRANT -DHAVE_DEV_DSP -DHAVE_SYS_SOUNDCARD

#+partial
+forcehints

-warnunixlib
-warnposix

+unixlib

-unrecogcomments	# XXX ignore doxygen markings

#-deepbreak		# shortcut 485 occurences

+strict			# lclint level

# --- not-yet at strict level
-bitwisesigned		# pita
-elseifcomplete		# 95 occurences
-evalorderuncon		# 32 occurences
-exportconst		# 839 occurences
-exportfcn
-exporttype
-exportvar
-fielduse		# 1 occurence <bits/sigset.h>
-forblock		# tedious
-globs
-globstate
-ifblock		# tedious
-incondefs		# <sys/{select,mman}.h> tedium
-internalglobs		# lots of global annotations needed
-matchfields		# <bits/ipc.h> heartburn
-modfilesys		# 153 occurences
-modnomods		# 927 occurences
-modobserveruncon	# 192 occurences
-mods			# 281 occurences, errno will be a pita
-namechecks		# tedious ANSI compliance checks
-noeffectuncon		# 228 occurences, HGE_t needs special annotations
-numenummembers 1024	# RPMTAG has 138 members
-numstructfields 256	# Java jni.h has 229 fields
-ptrarith		# tedious
-sizeoftype		# ~240 occurences, <sys/select.h> tedium, more
-strictops
-strictusereleased
-stringliterallen 4096	# redhat*PubKey's are big
-usedef			# 303 occurences, HGE_t needs special annotations
-warnmissingglobs	# lots of global annotations needed
-whileblock		# tedious

# --- random anal-retentive parameters
#+mod-internal-strict
#+globnoglobs		# 1 occurence
#+internalglobnoglobs		# ???
#+modglobsunchecked	# 73 occurences
#+warnmissingglobsnomods	# ???
#+impcheckedstrictglobs	# 358 occurences
#+impcheckedstrictstatics # 1057 occurences
#+strictbranchstate
#+strictdestroy
#+ansi-reserved-internal
#+sys-dir-errors	# 749
#controlnestdepth 15

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

-proto-param-match	# 51 occurences

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

# --- not-yet at standard level
-boolops		# 1898 occurences
-predboolint		# 1248 occurences
-type			# 3019 occurences