rpm-build/.lclintrc

130 lines
2.4 KiB
Plaintext

-I. -I./build -I./lib -I./rpmdb -I./rpmio -I./popt -DHAVE_CONFIG_H -D_GNU_SOURCE
#+partial
#+forcehints
-warnunixlib
-warnposix
+unixlib
-unrecogcomments # XXX ignore doxygen markings
#-deepbreak # shortcut 485 occurences
+checks # lclint level
# --- splint is pickier yet
-compdestroy
-mustdefine
-shiftimplementation # <ctype.h> pain
# --- lclint-3.0.0.15 is pickier than lclint-2.5r
#-formatconst
#-compdef
#-nullstate
-usedef # 296 occurences wtfo?
#-unsignedcompare
#-compmempass
#-multithreaded
#-nullderef # 6 occurences in getdate.y
#-nullpass
#-unrecog
#-portability
#-readonlytrans # 128 occurences in getdate.y
#-noparams
-usereleased # 3 occurences wtfo?
#-firstcase
#-shadow
#-bufferoverflowhigh
#-superuser
#-retvalint
#-incondefs
#-nullptrarith
#-fcnuse
-fielduse # noisy in 3.0.0.15
#-varuse
#-exportlocal
#-exportheadervar
# --- not-yet at strict level
#+ptrarith
#+bitwisesigned
#+strictops
#+sizeoftype
#+mod-uncon # shortcut alloca is painful
#+mod-nomods # 927 occurences
+modglobsnomods
+modstrictglobsnomods
#+mod-uncon-nomods # ~118 occurences
#+mod-internal-strict
#+mod-file-sys # 153 occurences
#+globnoglobs # 1 occurence
#+internalglobs # 38 occurences
#+internalglobnoglobs # ???
#+modglobsunchecked # 73 occurences
+warnmissingglobs
#+warnmissingglobsnomods # ???
#+impcheckedstrictglobs # 358 occurences
#+impcheckedstrictstatics # 1057 occurences
#+strictusereleas
#+strictbranchstate
#+strictdestroy
#+modobserveruncon # 192 occurences
+macroempty
#+ansi-reserved-internal
#+evalorderuncon # 32 occurences
#+elseifcomplete # 95 occurences
#+loopswitchbreak # 286 occurences
#+switchswitchbreak # 32 occurences
#+looploopcontinue # 86 occurences
+forempty
#+whileblock
#+forblock
#+ifblock
#+noeffectuncon # 228 occurences
+topuse
#+unusedspecial
+oldstyle
#+sys-dir-errors # 749
#controlnestdepth 15
#stringliterallen 509
#numstructfields 127
#numenummembers 127
# --- not-yet at checks level
-predboolptr # 773 occurences
+enumint # 93 occurences
-allglobs # 131 occurrences
-ansi-reserved # goofy
-infloopsuncon # goofy
-proto-param-match # 59 occurences
# don't-bother-me-yet parameters
-branchstate # painful
-mustfree # alloca is painful
# --- not-yet at standard level
-boolops # w->n
-predboolint # w->n
-type #
# -weak paramaters
#+boolint
#-boolops
#+ignorequals
#+ignoresigns
#-mustfree
#+longintegral
#+matchanyintegral
#-nullpass
#-observertrans
#-predboolint
#-predboolothers
#-retvalint
#-retvalother
#-shiftsigned