- fix: db1 end-of-file not detected in legacy compatible way.
[tools/librpm-tizen.git] / .lclintrc
1 -I. -I./build -I./lib -I./rpmdb -I./rpmio -I./popt -DHAVE_CONFIG_H -D_GNU_SOURCE
2
3 #+partial
4 #+forcehints
5
6 -warnunixlib
7 -warnposix
8
9 +unixlib
10
11 -unrecogcomments        # XXX ignore doxygen markings
12
13 #-deepbreak             # shortcut 485 occurences
14
15 +checks                 # lclint level
16
17 # --- not-yet at strict level
18 #+ptrarith
19 #+bitwisesigned
20 #+strictops
21 #+sizeoftype
22
23 #+mod-uncon             # shortcut alloca is painful
24 #+mod-nomods            # 927 occurences
25 +modglobsnomods
26 +modstrictglobsnomods
27
28 #+mod-uncon-nomods      # ~118 occurences
29 #+mod-internal-strict
30 #+mod-file-sys          # 153 occurences
31 #+globnoglobs           # 1 occurence
32 #+internalglobs         # 38 occurences
33 #+internalglobnoglobs           # ???
34 #+modglobsunchecked     # 73 occurences
35 +warnmissingglobs
36 #+warnmissingglobsnomods        # ???
37 #+impcheckedstrictglobs # 358 occurences
38 #+impcheckedstrictstatics # 1057 occurences
39 #+strictusereleas
40 #+strictbranchstate
41 #+strictdestroy
42 #+modobserveruncon      # 192 occurences
43 +macroempty
44 #+ansi-reserved-internal
45 #+evalorderuncon        # 32 occurences
46 #+elseifcomplete        # 95 occurences
47 #+loopswitchbreak       # 286 occurences
48 #+switchswitchbreak     # 32 occurences
49 #+looploopcontinue      # 86 occurences
50 #+whileblock
51 +forempty
52 #+forblock
53 #+ifblock
54 #+noeffectuncon         # 228 occurences
55 +topuse
56 #+unusedspecial
57 +oldstyle
58 #+sys-dir-errors        # 749
59 #controlnestdepth 15
60 #stringliterallen 509
61 #numstructfields 127
62 #numenummembers 127
63
64 # --- not-yet at checks level
65 -predboolptr            # 773 occurences
66 +enumint                # 93 occurences
67 -allglobs               # 131 occurrences
68 -ansi-reserved          # goofy
69 -infloopsuncon          # goofy
70
71 -proto-param-match      # 59 occurences
72
73 # don't-bother-me-yet parameters
74 -branchstate            # painful
75 -mustfree               # alloca is painful
76
77 # --- not-yet at standard level
78 -boolops                # w->n
79 -predboolint            # w->n
80 -type                   #
81
82 # -weak paramaters
83 #+boolint
84 #-boolops
85 #+ignorequals
86 #+ignoresigns
87 #-mustfree
88 #+longintegral
89 #+matchanyintegral
90 #-nullpass
91 #-observertrans
92 #-predboolint
93 #-predboolothers
94 #-retvalint
95 #-retvalother
96 #-shiftsigned