osrm-backend/third_party/flatbuffers/scripts/clang-format-git.sh
2024-07-10 20:44:36 +02:00

7 lines
280 B
Bash
Executable File

# Running it twice corrects some bugs in clang-format.
for run in {1..2}
do
git clang-format HEAD^ -- include/flatbuffers/* src/*.cpp tests/*.cpp samples/*.cpp grpc/src/compiler/schema_interface.h grpc/tests/*.cpp -f
done
git checkout include/flatbuffers/reflection_generated.h