Add precise annotations to improve scanbuild (#3170)

This enables `noreturn` attributes which should improve static analysis results.
This commit is contained in:
Paulo Matos 2020-05-09 23:00:10 +02:00 committed by GitHub
parent b476f39f67
commit 7fc0dc36d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,7 @@ jobs:
run: >
./configure
CFLAGS="-O0 -g"
CPPFLAGS="-DMZ_PRECISE_RETURN_SPEC"
--disable-strip
--prefix=${{ runner.temp }}/racketcgc
--enable-werror
@ -77,6 +78,7 @@ jobs:
run: >
./configure
CFLAGS="-O0 -g"
CPPFLAGS="-DMZ_PRECISE_RETURN_SPEC"
--disable-strip
--enable-racket=/usr/bin/racket
--enable-werror
@ -133,6 +135,7 @@ jobs:
run: >
./configure
CFLAGS="-O0 -g"
CPPFLAGS="-DMZ_PRECISE_RETURN_SPEC"
--enable-racket=/usr/bin/racket
--enable-compress
--disable-docs