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 daysso improving diagnostic in check_GNU_style does not seem to be totally useless.
In general clang-format is probably more capable than simple regexes that we have.
BTW can it format patches (i.e. incomplete pieces of code)? -Y