Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:s2

767   Status s2 = doSomething();
768 handleStatusRef(s2);
822 Status s2 = s1;
823 } // expected-warning {{invalid invocation of method '~Status' on object 's2' while it is in the 'unconsumed' state}}
827 Status s2(s1);
828 s2.check();
834 Status s2 = static_cast<Status&&>(s1);
835 } // expected-warning {{invalid invocation of method '~Status' on object 's2' while it is in the 'unconsumed' state}}
840 Status s2 = static_cast<Status&&>(s1);
841 s2.check();
847 Status s2;
848 s2 = s1;
849 } // expected-warning {{invalid invocation of method '~Status' on object 's2' while it is in the 'unconsumed' state}}
854 Status s2;
855 s2 = s1;
856 s2.check();
862 Status s2;
863 s2 = static_cast<Status&&>(s1);
864 } // expected-warning {{invalid invocation of method '~Status' on object 's2' while it is in the 'unconsumed' state}}
869 Status s2;
870 s2 = static_cast<Status&&>(s1);
871 s2.check();
876 Status s2 = doSomething();
877 s1 = s2; // expected-warning {{invalid invocation of method 'operator=' on object 's1' while it is in the 'unconsumed' state}}
879 s2.check();