What about getting clang-format to GNU format instead of improving this ad-hoc script? http://clang.llvm.org/docs/ClangFormatStyleOptions.html http://reviews.llvm.org/D2371
Thanks, Sebastian PS: Please do not use my @codeaurora.org email address: I do not have access to that email anymore. You can use either my gmail address or the one @samsung.com On Mon, Jul 21, 2014 at 1:25 AM, Yury Gribov <y.gri...@samsung.com> wrote: > Hi all, > > Attached patch adds new check (all blocks of 8 spaces are replaced with > tabs) to contrib/check_GNU_style.sh. It also changes the script to allow > reading patches from stdin and improves the "Dot, space, space, new > sentence." check. > > -Y