[llvm-commits] simple style checker

Reed Kotler rkotler at mips.com
Wed May 30 11:29:46 PDT 2012


I'll take a look at what is going there.

I'd still like to put this tool back and add some more to it.

Otherwise I guess I can put it somewhere in google code.


On 05/30/2012 06:31 AM, Marshall Clow wrote:
> 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