summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/opentracing-cpp/scripts/run_clang_format.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/jaegertracing/opentracing-cpp/scripts/run_clang_format.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jaegertracing/opentracing-cpp/scripts/run_clang_format.sh b/src/jaegertracing/opentracing-cpp/scripts/run_clang_format.sh
new file mode 100755
index 000000000..9a2d39728
--- /dev/null
+++ b/src/jaegertracing/opentracing-cpp/scripts/run_clang_format.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+find . -path ./3rd_party -prune -o \( -name '*.h' -or -name '*.cpp' \) \
+ -exec clang-format -i {} \;