Add clang-format to core/lib/encoding
- Add
.clang-format
tile tocore/lib/encoding
withBasedOnStyle: Google
- Run
clang-format --style=google -i ./src/core/lib/encoding/*
- Run
clang-format --style=google -i ./src/core/include/encoding/*
I'm hoping to use this PR to help agree on a clang-format style, and then apply this style to the rest of the repo.
Updated the PR to apply code-format to whole repo (except third-party code), via
find ./src -type f -and \( -name '*.cpp' -or -name '*.h' \) | xargs clang-format -i -style=google --sort-includes=false
find ./test -type f -and \( -name '*.cpp' -or -name '*.h' \) | xargs clang-format -i -style=google --sort-includes=false
Edited by Fabian Boemer