Skip to content

Use standard format to improve readability

Olly Betts requested to merge sanmai-NL:clang_format into master

Created by: sanmai-NL

Apply default style of clang-format version 5.0.1.

find -type f \( -iname '*.cc' -or -iname '*.h' \) -print -exec clang-format -i '{}' +

I advise to add some sort of CI that gates new commits on being formatted as expected.

Merge request reports