[PATCH] Add a clang-tidy flag to support temporary destructor-aware analysis (workaround for bug 15599).

Manuel Klimek klimek at google.com
Sat May 3 08:20:23 PDT 2014


On Wed, Apr 30, 2014 at 11:45 PM, David Blaikie <dblaikie at gmail.com> wrote:

> On Wed, Apr 30, 2014 at 10:17 AM, Manuel Klimek <klimek at google.com> wrote:
> > On Wed, Apr 30, 2014 at 6:03 PM, Alex McCarthy <alexmc at google.com>
> wrote:
> >>
> >> Thanks, I'll do that next time. Should I use that instead of git svn
> >> dcommit to push the change?
> >
> >
> > I usually just commit with git svn dcommit (I find the commit message
> from
> > arc commit a bit too wordy for my taste).
>
> Could we get that fixed?
>
> Just taking Alexey's recent commit:
>
> "Summary: No functionality change.
>
> Test Plan: llvm regression test suite.
>
> Reviewers: dblaikie
>
> Reviewed By: dblaikie
>
> Subscribers: echristo, llvm-commits"
>
> All seems fairly unnecessary - except maybe the "Reviewed By" field.
> (it'd be nice to phrase that as "Approved By" to make it clear that
> there was actual sign off)
>

Yes, I'd love to; Unfortunately, priorities; currently my 20% time is
filled up fixing the static analyzer for C++ code. If you want to get your
hands dirty with a few lines of PHP (or know somebody who does), I'm happy
to point them at the right repository ...


>
> >
> >>
> >> -Alex
> >>
> >>
> >> On Wed, Apr 30, 2014 at 7:58 AM, Alexander Kornienko <alexfh at google.com
> >
> >> wrote:
> >>>
> >>> On Wed, Apr 30, 2014 at 4:26 PM, Alex McCarthy <alexmc at google.com>
> wrote:
> >>>>
> >>>> ================
> >>>> Comment at: test/clang-tidy/temporaries.cpp:3
> >>>> @@ +2,3 @@
> >>>> +// FileCheck complains if the input file is empty, so add a dummy
> line.
> >>>> +// RUN: echo foo >> %t.log
> >>>> +// RUN: FileCheck %s < %t.log
> >>>> ----------------
> >>>> Alexander Kornienko wrote:
> >>>> > You don't need this now as the correct output is guaranteed to be
> >>>> > non-empty. And you can now just pipe clang-tidy output to FileCheck
> >>>> Good catch: fixed in llvm-reviews.chandlerc.com/rL207653
> >>>>
> >>>> http://reviews.llvm.org/D3556
> >>>>
> >>>
> >>> BTW, if you use Phabricator's arc tool, you can also use "arc commit",
> >>> which automatically closes the Differential revision in Phab.
> >>
> >>
> >
> >
> > _______________________________________________
> > cfe-commits mailing list
> > cfe-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140503/cea6e433/attachment.html>


More information about the cfe-commits mailing list