Re: [PATCH] New check and updates in check_GNU_style script

2014-07-22 Thread Sebastian Pop
Yes, clang-format knows how to format patches, and it also has a vi and emacs mode able to format a region of code. On Tue, Jul 22, 2014 at 12:46 AM, Yury Gribov wrote: > On 07/22/2014 02:24 AM, Sebastian Pop wrote: >> >> What about getting clang-format to GNU format instead of improving >> this

Re: [PATCH] New check and updates in check_GNU_style script

2014-07-21 Thread Yury Gribov
On 07/22/2014 02:24 AM, Sebastian Pop wrote: What about getting clang-format to GNU format instead of improving this ad-hoc script? Well, GNU support in clang-format seems to be at it's early days so improving diagnostic in check_GNU_style does not seem to be totally useless. In general clan

Re: [PATCH] New check and updates in check_GNU_style script

2014-07-21 Thread Sebastian Pop
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 ca