Skip to content

Add clang-format to core/lib/encoding

Fabian Boemer requested to merge fboemer/clang-format into master
  • Add .clang-format tile to core/lib/encoding with BasedOnStyle: 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

Merge request reports