Lines Matching defs:Reference
33 struct Reference { struct
35 virtual ~Reference() {} in ~Reference() argument
37 Reference(const FQName& fqName, const Location& location) in Reference() argument
40 Reference(T* type, const Location& location) : mResolved(type), mLocation(location) { in Reference() argument
45 Reference(const Reference<OtherT>& ref) in Reference() function
49 Reference(const Reference<OtherT>& ref, const Location& location) in Reference() argument
54 bool isResolved() const { return mResolved != nullptr; } in isResolved()
61 T* get() { in get()
65 const T* get() const { in get()
89 bool isEmptyReference() const { return !isResolved() && !hasLookupFqName(); } in isEmptyReference() argument
106 /* Reference name for lookup */ argument
108 /* Reference location is mainly used for printing errors argument
120 friend struct Reference; argument