Home | History | Annotate | Download | only in AST

Lines Matching defs:Ty

42   // The correctness of this relies on the property that, for Type *Ty,
43 // QualType(Ty, 0).getAsOpaquePtr() == (void*) Ty
44 const void *Ty;
91 TypeLoc() : Ty(nullptr), Data(nullptr) { }
92 TypeLoc(QualType ty, void *opaqueData)
93 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { }
94 TypeLoc(const Type *ty, void *opaqueData)
95 : Ty(ty), Data(opaqueData) { }
102 bool isNull() const { return !Ty; }
103 explicit operator bool() const { return Ty; }
106 static unsigned getFullDataSizeForType(QualType Ty);
110 static unsigned getLocalAlignmentForType(QualType Ty);
115 return QualType::getFromOpaquePtr(Ty);
119 return QualType::getFromOpaquePtr(Ty).getTypePtr();
198 return LHS.Ty == RHS.Ty && LHS.Data == RHS.Data;
224 return TypeLoc(Ty, const_cast<void*>(static_cast<const void*>(this + 1)));
232 UnqualTypeLoc(const Type *Ty, void *Data) : TypeLoc(Ty, Data) {}
235 return reinterpret_cast<const Type*>(Ty);
351 static bool classofType(const Type *Ty) {
352 return TypeClass::classof(Ty);
467 static bool classofType(const Type *Ty) {
468 return TypeClass::classof(Ty);