Transformation of contrib/check_GNU_style.sh to a python script

Martin Liška mliska@suse.cz
Tue May 16 11:43:00 GMT 2017


On 05/15/2017 09:31 PM, Florian Weimer wrote:
> * Martin Liška:
> 
>>                 validate(pfile.target_file.lstrip('b/'), line.target_line_no, line.value)
> 
> Violates line length constraint. :)

Yep, fixed in another email in this thread.

> 
> My own egrep script also checks for/switch/if/while/do on the same
> line as "{", and "(" not preceded by whitespace (currently has false
> positves with the definition of function-like macros, among other
> things).
> 

Can be easily extended to support also these keywords.

Martin



More information about the Gcc mailing list