Searched refs:TypeForDecl (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/AST/ |
D | ASTContext.cpp | 3006 if (Decl->TypeForDecl) { in getInjectedClassNameType() 3007 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType() 3009 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType() 3010 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType() 3011 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType() 3015 Decl->TypeForDecl = newType; in getInjectedClassNameType() 3018 return QualType(Decl->TypeForDecl, 0); in getInjectedClassNameType() 3025 assert(!Decl->TypeForDecl && "TypeForDecl present in slow case"); in getTypeDeclTypeSlow() 3043 Decl->TypeForDecl = newType; in getTypeDeclTypeSlow() 3048 return QualType(Decl->TypeForDecl, 0); in getTypeDeclTypeSlow() [all …]
|
D | DeclObjC.cpp | 468 if (TypeForDecl) in allocateDefinitionData() 469 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData() 1174 redeclarable_base(C), TypeForDecl(nullptr), Data() { in ObjCInterfaceDecl()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1089 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); 1092 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); 1093 Decl->TypeForDecl = PrevDecl->TypeForDecl; 1094 return QualType(PrevDecl->TypeForDecl, 0);
|
D | DeclObjC.h | 671 mutable const Type *TypeForDecl; variable 1363 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() 1364 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
|
D | Decl.h | 2499 mutable const Type *TypeForDecl; variable 2507 : NamedDecl(DK, DC, L, Id), TypeForDecl(nullptr), LocStart(StartL) {} in NamedDecl() 2514 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() 2515 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 401 ID->TypeForDecl = Reader.GetType(TypeIDForTypeDecl).getTypePtrOrNull(); in Visit()
|
D | ASTReader.cpp | 8440 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()
|