2019-11-07 22:35:42 +00:00
|
|
|
# Running it twice corrects some bugs in clang-format.
|
|
|
|
for run in {1..2}
|
|
|
|
do
|
2021-05-15 19:54:08 +00:00
|
|
|
git clang-format HEAD^ -- include/flatbuffers/* src/*.cpp tests/*.cpp samples/*.cpp grpc/src/compiler/schema_interface.h grpc/tests/*.cpp -f
|
2019-11-07 22:35:42 +00:00
|
|
|
done
|
|
|
|
git checkout include/flatbuffers/reflection_generated.h
|