Searched refs:TypeForDecl (Results 1 – 7 of 7) sorted by relevance
4109 if (Decl->TypeForDecl) { in getInjectedClassNameType()4110 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType()4112 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()4113 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()4114 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType()4118 Decl->TypeForDecl = newType; in getInjectedClassNameType()4121 return QualType(Decl->TypeForDecl, 0); in getInjectedClassNameType()4128 assert(!Decl->TypeForDecl && "TypeForDecl present in slow case"); in getTypeDeclTypeSlow()4145 Decl->TypeForDecl = newType; in getTypeDeclTypeSlow()4150 return QualType(Decl->TypeForDecl, 0); in getTypeDeclTypeSlow()[all …]
606 if (TypeForDecl) in allocateDefinitionData()607 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData()
1420 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);1423 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");1424 Decl->TypeForDecl = PrevDecl->TypeForDecl;1425 return QualType(PrevDecl->TypeForDecl, 0);
1192 mutable const Type *TypeForDecl = nullptr; variable1933 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()1934 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
3036 mutable const Type *TypeForDecl = nullptr; variable3053 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()3054 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
541 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
9197 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()