Lines Matching refs:Stored
40 /// BuiltinType, etc.). The type stored within @c CanQual<T> will be of that
55 QualType Stored;
59 CanQual() : Stored() { }
71 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); }
77 return cast_or_null<T>(Stored.getTypePtrOrNull());
81 operator QualType() const { return Stored; }
87 return Stored.isNull();
90 SplitQualType split() const { return Stored.split(); }
118 Qualifiers getQualifiers() const { return Stored.getLocalQualifiers(); }
121 unsigned getCVRQualifiers() const { return Stored.getLocalCVRQualifiers(); }
124 bool hasQualifiers() const { return Stored.hasLocalQualifiers(); }
127 return Stored.isLocalConstQualified();
130 return Stored.isLocalVolatileQualified();
133 return Stored.isLocalRestrictQualified();
140 return Stored.isCanonicalAsParam();
149 return Stored.withConst();
155 return Stored.isMoreQualifiedThan(Other.Stored);
161 return Stored.isAtLeastAsQualifiedAs(Other.Stored);
169 void *getAsOpaquePtr() const { return Stored.getAsOpaquePtr(); }
181 void dump() const { Stored.dump(); }
228 CanQual<T> Stored;
232 const T *getTypePtr() const { return Stored.getTypePtr(); }
241 operator const T*() const { return this->Stored.getTypePtrOrNull(); }
246 return this->Stored.template getAs<U>();
339 CanProxy(CanQual<T> Stored) { this->Stored = Stored; }
341 /// \brief Implicit conversion to the stored canonical type.
342 operator CanQual<T>() const { return this->Stored; }
715 return CanQual<T>::CreateUnsafe(Stored.getLocalUnqualifiedType());
729 Result.Stored = QualType::getFromOpaquePtr(Ptr);
730 assert((!Result || Result.Stored.getAsOpaquePtr() == (void*)-1 ||
731 Result.Stored.isCanonical()) && "Type is not canonical!");
741 Result.Stored = Other;
748 if (Stored.isNull())
751 if (isa<U>(Stored.getTypePtr()))
752 return CanQual<U>::CreateUnsafe(Stored);
760 assert(!Stored.isNull() && isa<U>(Stored.getTypePtr()));
761 return CanQual<U>::CreateUnsafe(Stored);