Searched refs:MyIntOwner (Results 1 – 2 of 2) sorted by relevance
3 struct [[gsl::Owner(int)]] MyIntOwner { struct4 MyIntOwner();10 MyIntPointer(const MyIntOwner &);12 MyIntOwner toOwner();21 MyIntOwner o; in g()
2 struct [[gsl::Owner(int)]] MyIntOwner { struct3 MyIntOwner();12 MyIntPointer(const MyIntOwner &);14 MyIntOwner toOwner();40 …new MyIntPointer(MyIntOwner{}); // expected-warning {{object backing the pointer will be destroyed… in danglingHeapObject()76 …DanglingGslPtrField(double) : p(MyIntOwner{}) {} // expected-warning {{initializing pointer member… in DanglingGslPtrField()90 MyIntOwner localOwner; in daglingGslPtrFromLocalOwner()100 return MyIntOwner{}; // expected-warning {{returning address of local temporary object}} in danglingGslPtrFromTemporary()103 MyIntOwner makeTempOwner();113 int *noFalsePositive(MyIntOwner &o) { in noFalsePositive()[all …]