summaryrefslogtreecommitdiff
path: root/.lclintrc
blob: c89fa3812cf6bcbaa30b01d18d0e08c8bd799db8 (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
-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
-includenest 16		# getting deep, sigh

# --- not-yet at strict level
-bitwisesigned		# pita
-elseifcomplete		# 95 occurences
-exportconst		# 839 occurences
-exportfcn
-exporttype
-exportvar
-fielduse		# 1 occurence <bits/sigset.h>
-forblock		# tedious
-ifblock		# tedious
-incondefs		# <bits/{ipc,pthreadtypes}.h> heartburn
-matchfields		# <bits/ipc.h> heartburn
-namechecks		# tedious ANSI compliance checks
-numenummembers 1024	# RPMTAG has 138 members
-numstructfields 256	# Java jni.h has 229 fields
-ptrarith		# tedious
-strictops
-strictusereleased
-stringliterallen 4096	# redhat*PubKey's are big
-whileblock		# tedious

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

# --- not-yet at checks level
-ansi-reserved		# goofy
+enumint		# 93 occurences
-mustfree		# 1612 occurences, _free and alloca are painful
-predboolptr		# 773 occurences
-usedef			# 303 occurences, HGE_t needs work

# --- not-yet at standard level
-boolops		# 1898 occurences
-predboolint		# 1248 occurences
+boolint		# 74 occurences
+charint		# 529 occurences
+ignorequals		# 138 occurences
+matchanyintegral	# 225 occurences