• Home
  • Raw
  • Download

Lines Matching refs:NonVirtual

9 struct NonVirtual {  struct
10 ~NonVirtual() {} in ~NonVirtual() argument
13 struct NVDerived : public NonVirtual {};
35 NonVirtual *create() { in create()
36 NonVirtual *x = new NVDerived(); // expected-note{{Conversion from derived to base happened here}} in create()
40 void sink(NonVirtual *x) { in sink()
45 void sinkCast(NonVirtual *y) { in sinkCast()
54 NonVirtual *sd; in singleDerived()
61NonVirtual *sda = new NVDerived[5]; // expected-note{{Conversion from derived to base happened her… in singleDerivedArr()
67NonVirtual *dd = new NVDoubleDerived(); // expected-note{{Conversion from derived to base happened… in doubleDerived()
73 NonVirtual *atf = get(); // expected-note{{Conversion from derived to base happened here}} in assignThroughFunction()
79 NonVirtual *atf2; in assignThroughFunction2()
86 NonVirtual *ctf = create(); // expected-note{{Calling 'create'}} in createThroughFunction()
93NonVirtual *dtf = new NVDerived(); // expected-note{{Conversion from derived to base happened here… in deleteThroughFunction()
99NonVirtual *sccs2 = (NonVirtual*)sccs; // expected-note{{Conversion from derived to base happened … in singleCastCStyle()
105 NonVirtual *dccs = new NVDerived(); in doubleCastCStyle()
107 dccs = (NonVirtual*)dccs2; // expected-note{{Conversion from derived to base happened here}} in doubleCastCStyle()
114NonVirtual *sc2 = reinterpret_cast<NonVirtual*>(sc); // expected-note{{Conversion from derived to … in singleCast()
120 NonVirtual *dd = new NVDerived(); in doubleCast()
122 …dd = reinterpret_cast<NonVirtual*>(dd2); // expected-note {{Conversion from derived to base happen… in doubleCast()
146 NonVirtual *nd = new NonVirtual(); in notDerived()
151 NonVirtual *nda = new NonVirtual[3]; in notDerivedArr()
156 NonVirtual *c = new NVDerived(); in cast()
161 NonVirtual *dtf2 = new NVDerived(); in deleteThroughFunction2()
172 NonVirtual sv2; in stackVar()