Lines Matching +full:clang +full:- +full:tidy
8 # http://www.apache.org/licenses/LICENSE-2.0
16 echo "NOTE: to automagically apply fixes, invoke with --fix"
18 set -ex
26 export MANUAL_TARGETS=$(bazel query 'attr("tags", "manual", tests(//test/cpp/...))' | grep -v _on_i…
28 # generate a clang compilation database for all C/C++ sources in the repo.
30 --include_headers \
31 --ignore_system_headers \
32 --dedup_targets \
42 # build clang-tidy docker image
43 docker build -t grpc_clang_tidy tools/dockerfile/grpc_clang_tidy
45 # run clang-tidy against the checked out codebase
46 # when modifying the checked-out files, the current user will be impersonated
49 -e TEST="$TEST" \
50 -e CHANGED_FILES="$CHANGED_FILES" \
51 -e CLANG_TIDY_ROOT="/local-code" \
52 --rm=true \
53 -v "${REPO_ROOT}":/local-code \
54 -v "${HOME/.cache/bazel}":"${HOME/.cache/bazel}" \
55 --user "$(id -u):$(id -g)" \
56 -t grpc_clang_tidy /clang_tidy_all_the_things.sh "$@"