enable running clang-static-analyzer
silenced some clang-analyzer warnings