summaryrefslogtreecommitdiff
path: root/misc/scripts/clang_format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/scripts/clang_format.sh')
-rwxr-xr-xmisc/scripts/clang_format.sh2
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