Home
last modified time | relevance | path

Searched refs:TypeForDecl (Results 1 – 7 of 7) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDASTContext.cpp4109 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 …]
HDDeclObjC.cpp606 if (TypeForDecl) in allocateDefinitionData()
607 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDASTContext.h1420 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);
HDDeclObjC.h1192 mutable const Type *TypeForDecl = nullptr; variable
1933 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
1934 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
HDDecl.h3036 mutable const Type *TypeForDecl = nullptr; variable
3053 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
3054 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTReaderDecl.cpp541 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
HDASTReader.cpp9197 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()