Skip to content
Snippets Groups Projects
Commit e2f05c73 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'clang-format'


574d6943 clang-format.bash: minor fixes to support MacOS

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1339
parents 0e1ef0ca 574d6943
No related branches found
Tags v3.10.0-rc1
No related merge requests found
......@@ -111,7 +111,9 @@ $git_ls |
# Select sources with our attribute.
git check-attr --stdin format.clang-format |
sed -n '/: format\.clang-format: set$/ {s/:[^:]*:[^:]*$//p}' |
grep -e ': format\.clang-format: set$' |
sed -n 's/:[^:]*:[^:]*$//p' |
# Update sources in-place.
xargs -d '\n' "$clang_format" -i
tr '\n' '\0' |
xargs -0 "$clang_format" -i
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment