mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-14 15:37:10 +03:00
move to new cspot
This commit is contained in:
16
components/spotify/cspot/bell/external/nanopb/tests/splint/SConscript
vendored
Normal file
16
components/spotify/cspot/bell/external/nanopb/tests/splint/SConscript
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# Check the nanopb core using splint
|
||||
|
||||
Import('env')
|
||||
|
||||
p = env.WhereIs('splint')
|
||||
|
||||
if p:
|
||||
env.Command('pb_decode.splint', '$NANOPB/pb_decode.c',
|
||||
'splint -f splint/splint.rc $SOURCE 2> $TARGET')
|
||||
|
||||
env.Command('pb_encode.splint', '$NANOPB/pb_encode.c',
|
||||
'splint -f splint/splint.rc $SOURCE 2> $TARGET')
|
||||
|
||||
env.Command('pb_common.splint', '$NANOPB/pb_common.c',
|
||||
'splint -f splint/splint.rc $SOURCE 2> $TARGET')
|
||||
|
||||
38
components/spotify/cspot/bell/external/nanopb/tests/splint/splint.rc
vendored
Normal file
38
components/spotify/cspot/bell/external/nanopb/tests/splint/splint.rc
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
+checks
|
||||
+partial
|
||||
+matchanyintegral
|
||||
+strictlib
|
||||
-nullassign
|
||||
-predboolint
|
||||
-predboolptr
|
||||
+ptrnegate
|
||||
-switchloopbreak
|
||||
+ignoresigns
|
||||
-infloopsuncon
|
||||
-type
|
||||
|
||||
# splint's memory checks don't quite work without annotations
|
||||
-mustfreeonly
|
||||
-compmempass
|
||||
-nullret
|
||||
-observertrans
|
||||
-statictrans
|
||||
-compdestroy
|
||||
-nullpass
|
||||
-nullstate
|
||||
-compdef
|
||||
-usereleased
|
||||
-temptrans
|
||||
-dependenttrans
|
||||
-kepttrans
|
||||
-branchstate
|
||||
-immediatetrans
|
||||
-mustfreefresh
|
||||
-allimponly
|
||||
|
||||
# These tests give false positives, compiler typically has
|
||||
# better warnings for these.
|
||||
-noret
|
||||
-noeffect
|
||||
-usedef
|
||||
|
||||
Reference in New Issue
Block a user