[llvm-commits] simple style checker

Marshall Clow mclow.lists at gmail.com
Wed May 30 06:31:08 PDT 2012


On May 30, 2012, at 1:44 AM, Reed Kotler wrote:

> On 05/30/2012 12:45 AM, Anton Korobeynikov wrote:
>> Reed,
>> 
>>> I made this simple python script to check for long lines and lines with
>>> tabs.
>> Grep is not easy enough to do this?
>> 
>>> Default is 80 character maximum lines and checking for tabs.
>> "make check-for-tabs" and "make check-line-length" will do this for
>> LLVM codebase
>> 
> It's possible to extend the python script to do a lot more checking from 
> the style guide, though it seems that Manuel Klimek is working on a more 
> complete solution. I don't know when his work will be ready.

Yes.
Discussion thread here:

> From: 	Manuel Klimek <klimek at google.com>
> Subject: 	[cfe-dev] Design: clang-format
> Date: 	May 11, 2012 9:27:27 AM PDT



-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki





More information about the llvm-commits mailing list