Updated `.travis.yml` to output the clang-format version
before running a clang-format check.
Updated `check_code_format.sh` to include a suggestion
to check the user's clang-format version if an error occures.
Change-Id: I4328350cedb27998bd84a3d675eab51c89fb1a9e
GREEN='\033[0;32m'
NC='\033[0m' # No Color
+clang-format --version
+
FILES_TO_CHECK=$(git diff --name-only master | grep -v -E "^include/vulkan" | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$")
if [ -z "${FILES_TO_CHECK}" ]; then
else
echo -e "${RED}Found formatting errors!${NC}"
echo "${FORMAT_DIFF}"
+ echo "Be sure you are using the following version of clang-format:"
+ clang-format --version
exit 1
fi