[LLVMdev] sample of running google c++ lint script

Chandler Carruth chandlerc at google.com
Wed Jun 6 12:55:56 PDT 2012


While humorous, let's dial back the trolling at this point. =] This
discussion is a largely serious discussion, and shouldn't get derailed.

On Wed, Jun 6, 2012 at 12:43 PM, Daniel Berlin <dberlin at dberlin.org> wrote:

> >
> > Not wanting to clean up the white space is exactly a simple but good
> > example of technical debt that we are incurring.
>
> I agree, it is a great example of long term technical debt.
>
> >
> > In that case it's very simple to see. We have a rule about that for our
> > style and because we are too
> > busy with other things, then we have allowed the technical debt to rise
> > to a point where we don't
> > want to ever pay it, or so you say.
> >
>
> > When I ran a script over the Target subtree, my simple check showed
> > 20,000 violations of tab, line length and spaces at the end of line
> rules.
> >
>
>
> We should ask the LLVM steering committee to require a balanced
> budget, including detailed plans for both for lines and whitespace, so
> we know what targets we should be hitting.  That way we know if we
> expect to add 10k LOC to TableGen, and where that 10k LOC is going to
> be removed from to make up for it.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120606/97fc899e/attachment.html>


More information about the llvm-dev mailing list