Commit 9d7d783c authored by Florian Oetke's avatar Florian Oetke
Browse files

force scan-build in travis-ci to use clang++

parent 48eae7d4
......@@ -6,9 +6,9 @@
if [ $ANALYZE = "true" ]; then
if [ "$CC" = "clang" ]; then
docker exec build scan-build cmake -DMIRRAGE_FORCE_LIBCPP=ON -G "Unix Makefiles" -H/repo -B/build
docker exec build scan-build cmake -DMIRRAGE_FORCE_LIBCPP=ON -G "Unix Makefiles" -H/repo -B/build
docker exec build scan-build -enable-checker deadcode.DeadStores \
docker exec build scan-build --use-c++=clang++ cmake -DMIRRAGE_FORCE_LIBCPP=ON -G "Unix Makefiles" -H/repo -B/build
docker exec build scan-build --use-c++=clang++ cmake -DMIRRAGE_FORCE_LIBCPP=ON -G "Unix Makefiles" -H/repo -B/build
docker exec build scan-build --use-c++=clang++ -enable-checker deadcode.DeadStores \
-enable-checker security.insecureAPI.UncheckedReturn \
--status-bugs -v \
cmake --build /build
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment