Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp5014 if (Decl->TypeForDecl) { in getInjectedClassNameType()
5015 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType()
5017 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
5018 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
5019 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType()
5023 Decl->TypeForDecl = newType; in getInjectedClassNameType()
5026 return QualType(Decl->TypeForDecl, 0); in getInjectedClassNameType()
5033 assert(!Decl->TypeForDecl && "TypeForDecl present in slow case"); in getTypeDeclTypeSlow()
5053 return QualType(Decl->TypeForDecl, 0); in getTypeDeclTypeSlow()
5060 if (!Decl->TypeForDecl) { in getTypedefType()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1637 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1640 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1641 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1642 return QualType(PrevDecl->TypeForDecl, 0);
H A DDeclObjC.h1159 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()
H A DDecl.h3370 mutable const Type *TypeForDecl = nullptr; variable
3387 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
3388 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp565 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
H A DASTReader.cpp9833 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()