summaryrefslogtreecommitdiff
path: root/libelf/lib/.lclintrc
blob: de98e04812f0a464c682f348e1e3a5f44ea8574a (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
-DHAVE_CONFIG_H -I.. -I.

+partial
+forcehints

-warnunixlib
-warnposix

+unixlib

-unrecogcomments	# XXX ignore doxygen markings

+strict			# lclint level

# --- in progress
+boundsread		# 0
+boundswrite		# 0

-branchstate		# 77
-compdef		# 85
-compmempass		# 79
-globstate		# 93
-incondefs		# 4
-matchfields		# 24
-mods			# 259
-nullderef		# 10
-redef			# 42
-retalias		# 21
-retvalint		# 9
-shadow			# 9
-shiftimplementation	# 35
-sizeoftype		# 325
-unsignedcompare	# 11
-usereleased		# 50

-immediatetrans		# 18
-kepttrans		# 11
-temptrans		# 20

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

-enummemuse
-fcnuse
-typeuse
-varuse

# --- not-yet at strict level
-bitwisesigned
-elseifcomplete
-exportconst
-exportfcn
-exporttype
-exportvar
-fielduse
-forblock		# tedious
-ifblock		# tedious
-namechecks		# tedious ANSI compliance checks
-ptrarith

-compdestroy
-mustdefine
-sys-dir-errors

-strictops
-whileblock		# tedious

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

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