Lines Matching defs:move

3 // Tests for implicit (non-)declaration of move constructor and
6 // This class, used as a member, allows to distinguish move from copy because
7 // move operations are no-throw, copy operations aren't.
31 HasMoveConstructor(HasMoveConstructor &&) noexcept; // expected-note {{copy assignment operator is implicitly deleted because 'HasMoveConstructor' has a user-declared move constructor}}
194 // longer inhibits the declaration of a move operation.
204 // DR1402: A non-trivially-move-assignable virtual base class no longer
205 // inhibits the declaration of a move assignment (even though it might
206 // move-assign the base class multiple times).
232 MoveOnly(MoveOnly&&); // expected-note {{user-declared move}}
278 template<typename T> void move(T t) { t = static_cast<T&&>(t); }
279 // expected-warning-re@-1 4{{defaulted move assignment operator of {{.*}} will move assign virtual base class '{{[BD]}}' multiple times}}
280 template void move(F<A>);
281 template void move(F<B>); // expected-note {{in instantiation of}}
282 template void move(F<C>);
283 template void move(F<D>); // expected-note {{in instantiation of}}
284 template void move(G<A>);
285 template void move(G<B>);
286 template void move(G<C>);
287 template void move(G<D>);
288 template void move(H<A>);
289 template void move(H<B>);
290 template void move(H<C>);
291 template void move(H<D>);
292 template void move(I<A>);
293 template void move(I<B>);
294 template void move(I<C>);
295 template void move(I<D>);
296 template void move(J<A>);
297 template void move(J<B>); // expected-note {{in instantiation of}}
298 template void move(J<C>);
299 template void move(J<D>); // expected-note {{in instantiation of}}