Disable empty expression check (#2055)

This commit is contained in:
Kevin Lubick 2018-12-27 12:31:07 -05:00 committed by Max Moroz
parent 17e1a02f7b
commit 9fa6d673de
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ export SWIFTSHADER_LIB_PATH=$OUT
popd
# These are any clang warnings we need to silence.
DISABLE="-Wno-zero-as-null-pointer-constant -Wno-unused-template
-Wno-cast-qual -Wno-self-assign -Wno-return-std-move-in-c++11"
-Wno-cast-qual -Wno-self-assign -Wno-return-std-move-in-c++11
-Wno-extra-semi-stmt"
# Disable UBSan vptr since target built with -fno-rtti.
export CFLAGS="$CFLAGS $DISABLE -I$SWIFTSHADER_INCLUDE_PATH -DGR_EGL_TRY_GLES3_THEN_GLES2 -fno-sanitize=vptr"
export CXXFLAGS="$CXXFLAGS $DISABLE -I$SWIFTSHADER_INCLUDE_PATH -DGR_EGL_TRY_GLES3_THEN_GLES2 -fno-sanitize=vptr "-DIS_FUZZING_WITH_LIBFUZZER""