summaryrefslogtreecommitdiff
path: root/clang-tidy-diff.sh
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tidy-diff.sh')
-rwxr-xr-xclang-tidy-diff.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang-tidy-diff.sh b/clang-tidy-diff.sh
index 086dab6f9..ac9de4007 100755
--- a/clang-tidy-diff.sh
+++ b/clang-tidy-diff.sh
@@ -1,14 +1,4 @@
#!/bin/bash
-
-# In some Travis CI settings in which the build directory is a subdirectory of
-# binaryen/, we don't have the compilation database file in binaryen/. We skip
-# the test in this case.
-if [ ! -f compile_commands.json ]
-then
- echo "Compilation database file does not exist. Skipping clang-tidy test."
- exit 0
-fi
-
CLANG_DIR=$(dirname $(dirname $(which clang-tidy)))
CLANG_TIDY_DIFF=$CLANG_DIR/share/clang/clang-tidy-diff.py
MERGE_BASE=$(git merge-base master HEAD)