diff --git a/util/clang_format_all.sh b/util/clang_format_all.sh index 310d64aa3..14389907e 100755 --- a/util/clang_format_all.sh +++ b/util/clang_format_all.sh @@ -57,4 +57,4 @@ if ! valid_clang_format; then fi; # Search through the code that should be formatted, exclude any non-renderdoc code. -find qrenderdoc/ renderdoc/ renderdoccmd/ renderdocshim/ util/test/demos/ -type f -regex '.*\(/3rdparty/\|/official/\|resource.h\).*' -prune -o -regex '.*\.\(c\|cpp\|h\|inl\|vert\|frag\|geom\|comp\|hlsl\)$' -print0 | xargs -0 -n1 $CLANG_FORMAT -i -style=file +find qrenderdoc/ renderdoc/ renderdoccmd/ renderdocshim/ util/test/demos/ -type f -regex '.*\(/3rdparty/\|/official/\|resource.h\).*' -prune -o -regex '.*\.\(m\|mm\|c\|cpp\|h\|inl\|vert\|frag\|geom\|comp\|hlsl\)$' -print0 | xargs -0 -n1 $CLANG_FORMAT -i -style=file