summaryrefslogtreecommitdiff
path: root/rpmio/.lclintrc
blob: f648efd0715ceba84a0af169b2260e15e19279de (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.. -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE

+partial
+forcehints

-warnunixlib
-warnposix

+unixlib

-unrecogcomments	# XXX ignore doxygen markings

+strict			# lclint level

# --- +partial artifacts
-declundef
-exportheadervar
-exportlocal

-enummemuse
-fcnuse
-typeuse
-varuse

# --- 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

-compdestroy
-mustdefine
-shiftimplementation
#-shiftnegative

-strictops
-strictusereleased
-stringliterallen 4096	# redhat*PubKey's are big
-whileblock		# tedious

# --- not-yet at checks level
-ansi-reserved
+enumint
-mustfree
-predboolptr
-usedef

# --- not-yet at standard level
-boolops
-predboolint
+boolint
+charint
+ignorequals
+matchanyintegral