google / gemmlowp

Low-precision matrix multiplication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document code style/formatting

alexfru opened this issue · comments

If you're using clang-format or something similar, please document the settings, so the contributors can format their code prior to making pull requests.

Very good point. I'm using whatever is default on my Google workstation, and from looking around, it seems that this Google style default is available in standard clang-format,

https://clang.llvm.org/docs/ClangFormatStyleOptions.html

by simply putting

  BasedOnStyle: google

in the appropriate section of the .clang-format file , refer to the above page.

Leaving this bug open until this info is included into documentation... probably just README.