lint_clang_format.sh: Un-skip tests and examples

These were previously skipped because clang-format was messing up our
builder-pattern code. But we got rid of the builder pattern long ago.

The actual files will be autoformatted in the next CL.

Bug: none
Change-Id: Ia01a2cabc2daa9d94a15bf44687bc2e5801b49bd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24621
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
Kai Ninomiya 2020-07-10 19:41:38 +00:00 committed by Commit Bot service account
parent 6328356129
commit 3d80b5c378
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ clang_format=$1
base_commit=$2
echo
skipped_directories="(examples|generator|src/tests/(unittests|end2end)|third_party)"
skipped_directories="(generator|third_party)"
# Find the files modified that need formatting
files_to_check=$(git diff --diff-filter=ACMR --name-only $base_commit | grep -E "*\.(c|cpp|mm|h)$" | grep -vE "^$skipped_directories/*")
if [ -z "$files_to_check" ]; then