diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-25 00:38:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 00:38:44 +0200 |
commit | 92a2380d967d5a99ad3942529b50c933aed07f54 (patch) | |
tree | b61c1059ad0ee3bf78d6d6284fa64b7e3a7f5b64 /misc/scripts/clang_format.sh | |
parent | ccf07f47adf10f1d8bcfd5fc005024d107c2ff7e (diff) | |
parent | 55d05565d038c39d4b4e008db02bd728fd7dee7a (diff) |
Merge pull request #54206 from akien-mga/clang-format-no-error-unknown
Diffstat (limited to 'misc/scripts/clang_format.sh')
-rwxr-xr-x | misc/scripts/clang_format.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/scripts/clang_format.sh b/misc/scripts/clang_format.sh index bcd63aa73b..b0020da597 100755 --- a/misc/scripts/clang_format.sh +++ b/misc/scripts/clang_format.sh @@ -23,7 +23,7 @@ while IFS= read -rd '' f; do for extension in ${CLANG_FORMAT_FILE_EXTS[@]}; do if [[ "$f" == *"$extension" ]]; then # Run clang-format. - clang-format -i "$f" + clang-format --Wno-error=unknown -i "$f" # Fix copyright headers, but not all files get them. if [[ "$f" == *"inc" ]]; then continue 2 |