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 <[email protected]>wrote: > On Sun, Nov 3, 2013 at 11:40 PM, Chris Wailes <[email protected]> > 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 >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
