Searched refs:RefWrapper (Results 1 – 2 of 2) sorted by relevance
58 struct RefWrapper { struct59 RefWrapper(int *p) : x(*p) {} in RefWrapper() argument60 RefWrapper(int &r) : x(r) {} in RefWrapper() argument66 RefWrapper X(p); // expected-warning@-7 {{Dereference of null pointer}} in testReferenceMember() argument71 RefWrapper X(*p); // expected-warning {{Forming reference to null pointer}} in testReferenceMember2()
63 struct RefWrapper { struct67 void useStruct(RefWrapper &w); argument68 void useConstStruct(const RefWrapper &w);72 RefWrapper w = { x }; in testReferenceStruct()84 RefWrapper w = { x }; in testConstReferenceStruct()