Lines Matching refs:NVDerived
13 struct NVDerived : public NonVirtual {}; struct
14 struct NVDoubleDerived : public NVDerived {};
33 NVDerived *get();
36 NonVirtual *x = new NVDerived(); // expected-note{{Conversion from derived to base happened here}} in create()
46 delete reinterpret_cast<NVDerived*>(y); in sinkCast()
49 void sinkParamCast(NVDerived *z) { in sinkParamCast()
55 sd = new NVDerived(); // expected-note{{Conversion from derived to base happened here}} in singleDerived()
61 …NonVirtual *sda = new NVDerived[5]; // expected-note{{Conversion from derived to base happened her… in singleDerivedArr()
93 …NonVirtual *dtf = new NVDerived(); // expected-note{{Conversion from derived to base happened here… in deleteThroughFunction()
98 NVDerived *sccs = new NVDerived(); in singleCastCStyle()
105 NonVirtual *dccs = new NVDerived(); in doubleCastCStyle()
106 NVDerived *dccs2 = (NVDerived*)dccs; in doubleCastCStyle()
113 NVDerived *sc = new NVDerived(); in singleCast()
120 NonVirtual *dd = new NVDerived(); in doubleCast()
121 NVDerived *dd2 = reinterpret_cast<NVDerived*>(dd); in doubleCast()
156 NonVirtual *c = new NVDerived(); in cast()
157 delete reinterpret_cast<NVDerived*>(c); // no-warning in cast()
161 NonVirtual *dtf2 = new NVDerived(); in deleteThroughFunction2()
166 NVDerived *dtf3; in deleteThroughFunction3()
167 dtf3 = new NVDerived(); in deleteThroughFunction3()
180 NVDerived *pt = new NVDerived(); in preciseType()