Skip to content

Commit 0dc0ef4

Browse files
author
Alexander Korotkov
committed
Disable deadcode.DeadStores in clang analyzer test
deadcode.DeadStores errors seems to be inevitable when using Bison.
1 parent 10650ec commit 0dc0ef4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: travis/pg-travis-test.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ if [ $CHECK_CODE = "true" ]; then
3636
if [ "$CC" = "clang" ]; then
3737
sudo apt-get -y install -qq clang-$LLVM_VER
3838

39-
scan-build-$LLVM_VER --status-bugs make USE_PGXS=1 USE_ASSERT_CHECKING=1 PG_CONFIG=$config_path || status=$?
39+
scan-build-$LLVM_VER --status-bugs \
40+
-disable-checker deadcode.DeadStores \
41+
make USE_PGXS=1 USE_ASSERT_CHECKING=1 PG_CONFIG=$config_path || status=$?
4042
exit $status
4143

4244
elif [ "$CC" = "gcc" ]; then

0 commit comments

Comments
 (0)