summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/clang_tidy.sh
blob: 56761379a409e58c4da5f74a2a0e204d2a74c1c3 (plain) (blame)
1
2
3
4
5
#!/bin/bash

dir=`pwd`

clang-tidy -checks="$1" "$3" -- -std=c++11 -x c++ -DENABLE_LIBXML -DTMWA_SUPPORT -DDEBUGBUILD $2 -I$dir -I/usr/include -I/usr/include/SDL -I/usr/include/libxml2