]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentracing-cpp/scripts/run_clang_format.sh
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / opentracing-cpp / scripts / run_clang_format.sh
diff --git a/ceph/src/jaegertracing/opentracing-cpp/scripts/run_clang_format.sh b/ceph/src/jaegertracing/opentracing-cpp/scripts/run_clang_format.sh
new file mode 100755 (executable)
index 0000000..9a2d397
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+find . -path ./3rd_party -prune -o \( -name '*.h' -or -name '*.cpp' \) \
+  -exec clang-format -i {} \;