Lines Matching defs:d

108 Derived ok1() { Derived d; return d; }  in ok1()  local
109 Base ok2() { Derived d; return static_cast<Derived&&>(d); } in ok2() local
110 ConstructFromDerived ok3() { Derived d; return static_cast<Derived&&>(d); } in ok3() local
111 ConstructFromBase ok4() { Derived d; return static_cast<Derived&&>(d); } in ok4() local
112 ConvertFromDerived ok5() { Derived d; return static_cast<Derived&&>(d); } in ok5() local
113 ConvertFromBase ok6() { Derived d; return static_cast<Derived&&>(d); } in ok6() local
116 Derived ok_plvalue1(Derived& d) { return d; } in ok_plvalue1()
117 Base ok_plvalue2(Derived& d) { return d; } in ok_plvalue2()
118 ConstructFromDerived ok_plvalue3(const Derived& d) { return d; } in ok_plvalue3()
119 ConstructFromBase ok_plvalue4(Derived& d) { return d; } in ok_plvalue4()
120 ConvertFromDerived ok_plvalue5(Derived& d) { return d; } in ok_plvalue5()
121 ConvertFromBase ok_plvalue6(Derived& d) { return d; } in ok_plvalue6()
123 Derived ok_lvalue1(Derived *p) { Derived& d = *p; return d; } in ok_lvalue1() local
124 Base ok_lvalue2(Derived *p) { Derived& d = *p; return d; } in ok_lvalue2() local
125 ConstructFromDerived ok_lvalue3(Derived *p) { const Derived& d = *p; return d; } in ok_lvalue3() local
126 ConstructFromBase ok_lvalue4(Derived *p) { Derived& d = *p; return d; } in ok_lvalue4() local
127 ConvertFromDerived ok_lvalue5(Derived *p) { Derived& d = *p; return d; } in ok_lvalue5() local
128 ConvertFromBase ok_lvalue6(Derived *p) { Derived& d = *p; return d; } in ok_lvalue6() local
140 TrivialDerived ok_trivial1(TrivialDerived d) { return d; } in ok_trivial1()
141 TrivialBase ok_trivial2(TrivialDerived d) { return d; } in ok_trivial2()
142 ConstructFromTrivialDerived ok_trivial3(TrivialDerived d) { return d; } in ok_trivial3()
143 ConstructFromTrivialBase ok_trivial4(TrivialDerived d) { return d; } in ok_trivial4()
144 ConvertFromTrivialDerived ok_trivial5(TrivialDerived d) { return d; } in ok_trivial5()
145 ConvertFromTrivialBase ok_trivial6(TrivialDerived d) { return d; } in ok_trivial6()
148 Derived testParam1(Derived d) { return d; } in testParam1()
149 Base testParam2(Derived d) { in testParam2()
155 ConstructFromDerived testParam3(Derived d) { in testParam3()
161 ConstructFromBase testParam4(Derived d) { in testParam4()
167 ConvertFromDerived testParam5(Derived d) { in testParam5()
173 ConvertFromBase testParam6(Derived d) { in testParam6()
181 Derived testRParam1(Derived&& d) { in testRParam1()
187 Base testRParam2(Derived&& d) { in testRParam2()
193 ConstructFromDerived testRParam3(Derived&& d) { in testRParam3()
199 ConstructFromBase testRParam4(Derived&& d) { in testRParam4()
205 ConvertFromDerived testRParam5(Derived&& d) { in testRParam5()
211 ConvertFromBase testRParam6(Derived&& d) { in testRParam6()
219 Derived& testRetRef1(Derived&& d) { return d; } in testRetRef1()
220 Base& testRetRef2(Derived&& d) { return d; } in testRetRef2()
221 auto&& testRetRef3(Derived&& d) { return d; } in testRetRef3()
222 decltype(auto) testRetRef4(Derived&& d) { return (d); } in testRetRef4()
226 Derived d; in testParens1() local
233 Derived d; in testParens2() local
244 try { throw_derived(); } catch (Derived d) { return d; } // e19 in testEParam1() local
251 try { throw_derived(); } catch (Derived d) { return d; } // e20 in testEParam2() local
258 try { throw_derived(); } catch (Derived d) { return d; } // e21 in testEParam3() local
265 try { throw_derived(); } catch (Derived d) { return d; } // e22 in testEParam4() local
272 try { throw_derived(); } catch (Derived d) { return d; } // e23 in testEParam5() local
279 try { throw_derived(); } catch (Derived d) { return d; } // e24 in testEParam6() local
293 Derived ok_REParam1() { try { throw_derived(); } catch (Derived& d) { return d; } __builtin_unreach… in ok_REParam1() local
294 Base ok_REParam2() { try { throw_derived(); } catch (Derived& d) { return d; } __builtin_unreachabl… in ok_REParam2() local
295 ConstructFromDerived ok_REParam3() { try { throw_derived(); } catch (Derived& d) { return d; } __bu… in ok_REParam3() local
296 ConstructFromBase ok_REParam4() { try { throw_derived(); } catch (Derived& d) { return d; } __built… in ok_REParam4() local
297 ConvertFromDerived ok_REParam5() { try { throw_derived(); } catch (Derived& d) { return d; } __buil… in ok_REParam5() local
298 ConvertFromBase ok_REParam6() { try { throw_derived(); } catch (Derived& d) { return d; } __builtin… in ok_REParam6() local
300 Derived ok_CEParam1() { try { throw_derived(); } catch (const Derived& d) { return d; } __builtin_u… in ok_CEParam1() local
301 Base ok_CEParam2() { try { throw_derived(); } catch (const Derived& d) { return d; } __builtin_unre… in ok_CEParam2() local
302 ConstructFromDerived ok_CEParam3() { try { throw_derived(); } catch (const Derived& d) { return d; … in ok_CEParam3() local
303 ConstructFromBase ok_CEParam4() { try { throw_derived(); } catch (const Derived& d) { return d; } _… in ok_CEParam4() local
304 ConvertFromDerived ok_CEParam5() { try { throw_derived(); } catch (const Derived& d) { return d; } … in ok_CEParam5() local
305 ConvertFromBase ok_CEParam6() { try { throw_derived(); } catch (const Derived& d) { return d; } __b… in ok_CEParam6() local
320 void test_throw1(Derived&& d) { in test_throw1()
327 void ok_throw1() { Derived d; throw d; } in ok_throw1() local
328 void ok_throw2(Derived d) { throw d; } in ok_throw2()
329 void ok_throw3(Derived& d) { throw d; } in ok_throw3()
330 void ok_throw4(Derived d) { throw std::move(d); } in ok_throw4()
331 void ok_throw5(Derived& d) { throw std::move(d); } in ok_throw5()
332 void ok_throw6(Derived& d) { throw static_cast<Derived&&>(d); } in ok_throw6()
333 void ok_throw7(TriviallyCopyable d) { throw d; } in ok_throw7()
334 void ok_throw8(OnlyCopyable d) { throw d; } in ok_throw8()