Searched refs:MyIntPointer (Results 1 – 2 of 2) sorted by relevance
7 struct [[gsl::Pointer(int)]] MyIntPointer { struct8 MyIntPointer(int *p = nullptr);12 MyIntPointer(const MyIntOwner &);17 struct MySpecialIntPointer : MyIntPointer {22 struct [[gsl::Owner(int)]] MyOwnerIntPointer : MyIntPointer {34 MyIntPointer releaseAsMyPointer();40 …new MyIntPointer(MyIntOwner{}); // expected-warning {{object backing the pointer will be destroyed… in danglingHeapObject()45 MyIntPointer p{&i}; in intentionalFalseNegative()48 new MyIntPointer(p); in intentionalFalseNegative()49 new MyIntPointer(MyIntPointer{p}); in intentionalFalseNegative()[all …]
8 struct [[gsl::Pointer(int)]] MyIntPointer { struct9 MyIntPointer(int *p = nullptr);10 MyIntPointer(const MyIntOwner &);20 MyIntPointer g() { in g()