Searched refs:TypeForDecl (Results 1 – 14 of 14) sorted by relevance
/external/clang/lib/AST/ |
D | ASTContext.cpp | 3172 if (Decl->TypeForDecl) { in getInjectedClassNameType() 3173 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType() 3175 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType() 3176 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType() 3177 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType() 3181 Decl->TypeForDecl = newType; in getInjectedClassNameType() 3184 return QualType(Decl->TypeForDecl, 0); in getInjectedClassNameType() 3191 assert(!Decl->TypeForDecl && "TypeForDecl present in slow case"); in getTypeDeclTypeSlow() 3209 Decl->TypeForDecl = newType; in getTypeDeclTypeSlow() 3214 return QualType(Decl->TypeForDecl, 0); in getTypeDeclTypeSlow() [all …]
|
D | DeclObjC.cpp | 577 if (TypeForDecl) in allocateDefinitionData() 578 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData() 1419 redeclarable_base(C), TypeForDecl(nullptr), TypeParamList(nullptr), in ObjCInterfaceDecl()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1202 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); 1205 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); 1206 Decl->TypeForDecl = PrevDecl->TypeForDecl; 1207 return QualType(PrevDecl->TypeForDecl, 0);
|
D | Decl.h | 2575 mutable const Type *TypeForDecl; variable 2583 : NamedDecl(DK, DC, L, Id), TypeForDecl(nullptr), LocStart(StartL) {} in NamedDecl() 2590 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() 2591 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
|
D | DeclObjC.h | 1097 mutable const Type *TypeForDecl; variable 1819 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() 1820 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
|
/external/llvm-project/clang/lib/AST/ |
D | ASTContext.cpp | 4406 if (Decl->TypeForDecl) { in getInjectedClassNameType() 4407 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType() 4409 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType() 4410 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType() 4411 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType() 4415 Decl->TypeForDecl = newType; in getInjectedClassNameType() 4418 return QualType(Decl->TypeForDecl, 0); in getInjectedClassNameType() 4425 assert(!Decl->TypeForDecl && "TypeForDecl present in slow case"); in getTypeDeclTypeSlow() 4442 Decl->TypeForDecl = newType; in getTypeDeclTypeSlow() 4447 return QualType(Decl->TypeForDecl, 0); in getTypeDeclTypeSlow() [all …]
|
D | DeclObjC.cpp | 608 if (TypeForDecl) in allocateDefinitionData() 609 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTContext.h | 1419 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); 1422 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); 1423 Decl->TypeForDecl = PrevDecl->TypeForDecl; 1424 return QualType(PrevDecl->TypeForDecl, 0);
|
D | DeclObjC.h | 1176 mutable const Type *TypeForDecl = nullptr; variable 1917 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() 1918 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
|
D | Decl.h | 3086 mutable const Type *TypeForDecl = nullptr; variable 3103 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() 3104 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 481 ID->TypeForDecl = Reader.GetType(TypeIDForTypeDecl).getTypePtrOrNull(); in Visit()
|
D | ASTReader.cpp | 8417 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 549 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
|
D | ASTReader.cpp | 9423 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()
|