Lines Matching refs:HasRef
183 struct HasRef { struct
185 HasRef(int &a) : a(a) {} in HasRef() argument
189 void maybeInitialize(const HasRef &&pA) { in maybeInitialize()
197 maybeInitialize(HasRef(z)); // expected-note{{Calling constructor for 'HasRef'}} in useMaybeInitializerWritingIntoField()
231 void maybeInitialize(const HasRef *pA) { in maybeInitialize()
239 HasRef wrapper(z); // expected-note{{Calling constructor for 'HasRef'}} in useMaybeInitializerStructByPointer()
249 struct HasParentWithRef : public HasRef {
250 HasParentWithRef(int &a) : HasRef(a) {} // expected-note{{Calling constructor for 'HasRef'}} in HasParentWithRef()
273 HasRef &Ref;
274 HasIndirectRef(HasRef &Ref) : Ref(Ref) {} in HasIndirectRef()
285 HasRef r(z); // expected-note{{Calling constructor for 'HasRef'}} in useMaybeInitializeIndirectly()
296 HasRef Ref;
297 HasIndirectRefByValue(HasRef Ref) : Ref(Ref) {} in HasIndirectRefByValue()
308 HasRef r(z); // expected-note{{Calling constructor for 'HasRef'}} in useMaybeInitializeIndirectlyIndirectRefByValue()
319 HasRef *Ref;
320 HasIndirectPointerRef(HasRef *Ref) : Ref(Ref) {} in HasIndirectPointerRef()
331 HasRef r(z); // expected-note{{Calling constructor for 'HasRef'}} in useMaybeInitializeIndirectlyWithPointer()