Searched refs:TypeForDecl (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/AST/ |
D | ASTContext.cpp | 3129 if (Decl->TypeForDecl) { in getInjectedClassNameType() 3130 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType() 3132 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType() 3133 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType() 3134 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType() 3138 Decl->TypeForDecl = newType; in getInjectedClassNameType() 3141 return QualType(Decl->TypeForDecl, 0); in getInjectedClassNameType() 3148 assert(!Decl->TypeForDecl && "TypeForDecl present in slow case"); in getTypeDeclTypeSlow() 3166 Decl->TypeForDecl = newType; in getTypeDeclTypeSlow() 3171 return QualType(Decl->TypeForDecl, 0); in getTypeDeclTypeSlow() [all …]
|
D | DeclObjC.cpp | 549 if (TypeForDecl) in allocateDefinitionData() 550 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData() 1385 redeclarable_base(C), TypeForDecl(nullptr), TypeParamList(nullptr), in ObjCInterfaceDecl()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1189 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); 1192 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); 1193 Decl->TypeForDecl = PrevDecl->TypeForDecl; 1194 return QualType(PrevDecl->TypeForDecl, 0);
|
D | DeclObjC.h | 857 mutable const Type *TypeForDecl; variable 1577 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() 1578 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
|
D | Decl.h | 2558 mutable const Type *TypeForDecl; variable 2566 : NamedDecl(DK, DC, L, Id), TypeForDecl(nullptr), LocStart(StartL) {} in NamedDecl() 2573 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() 2574 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 449 ID->TypeForDecl = Reader.GetType(TypeIDForTypeDecl).getTypePtrOrNull(); in Visit()
|
D | ASTReader.cpp | 8361 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()
|