rpm/.lclintrc

97 lines
1.9 KiB
Plaintext
Raw Normal View History

-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
# --- 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
#+whileblock
+forempty
#+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