Lines Matching refs:forget

41   b = a.forget(); // expected-warning {{non-standard move assignment}}  in test_assign_same_type()
48 b = a.forget(); // expected-warning {{non-standard move assignment}} in test_assign_implicit_cast()
55 b = a.forget(); // expected-warning {{non-standard move assignment}} in test_assign_different_template()
60 nsCOMPtr<RefCountedBase> b = a.forget(); // expected-warning {{non-standard move construction}} in test_construct_different_template()
67 b = a.forget(); in test_assign_already_addrefed()
72 already_AddRefed<RefCountedDerived> b = a.forget(); in test_construct_already_addrefed()
77 RefPtr<RefCountedBase> b = a.forget(); // expected-warning {{non-standard move construction}} in test_construct_same_type()
82 RefPtr<RefCountedBase> b = a.forget(); // expected-warning {{non-standard move construction}} in test_construct_implicit_cast()
87 …auto b = RefPtr<RefCountedBase>{a.forget()}; // expected-warning {{non-standard move construction}} in test_construct_brace_same_type()
92 …auto b = RefPtr<RefCountedBase>{a.forget()}; // expected-warning {{non-standard move construction}} in test_construct_brace_implicit_cast()
97 …auto b = RefPtr<RefCountedBase>(a.forget()); // expected-warning {{non-standard move construction}} in test_construct_function_style_same_type()
102 …auto b = RefPtr<RefCountedBase>(a.forget()); // expected-warning {{non-standard move construction… in test_construct_function_style_implicit_cast()
107 already_AddRefed<RefCountedBase> b = a.forget(); in test_construct_result_type()
112 already_AddRefed<RefCountedBase> b = a.forget(); in test_construct_implicitly_cast_result_type()
119 foo(a.forget()); in test_call_with_result_type()
124 foo(a.forget()); in test_call_with_implicitly_cast_result_type()