[PATCH] Test case for r193751

Chris Wailes chris.wailes at gmail.com
Mon Nov 4 08:19:25 PST 2013


Are you talking about the function name
testIsRValueRefishAndCanonicalType?  The function it is testing in
Consumed.cpp is called isRValueRefish.  It tests for RValue references and
LValue references that are written as RValue references.

- Chris


On Mon, Nov 4, 2013 at 7:45 AM, Aaron Ballman <aaron.ballman at gmail.com>wrote:

> On Sun, Nov 3, 2013 at 11:40 PM, Chris Wailes <chris.wailes at gmail.com>
> wrote:
> > Hi delesley, aaron.ballman, silvas,
> >
> > Added a test case for the fix to bug 17632 in r193751
> >
> > http://llvm-reviews.chandlerc.com/D2094
> >
> > Files:
> >   test/SemaCXX/warn-consumed-analysis.cpp
> >
> > Index: test/SemaCXX/warn-consumed-analysis.cpp
> > ===================================================================
> > --- test/SemaCXX/warn-consumed-analysis.cpp
> > +++ test/SemaCXX/warn-consumed-analysis.cpp
> > @@ -608,6 +608,8 @@
> >    *var0; // expected-warning {{invalid invocation of method 'operator*'
> on object 'var0' while it is in the 'consumed' state}}
> >  }
> >
> > +typedef const int*& IntegerPointerReference;
> > +void testIsRValueRefishAndCanonicalType(IntegerPointerReference a) {}
>
> Typo?
>
> ~Aaron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131104/b14bcd2e/attachment.html>


More information about the cfe-commits mailing list