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.cpp5240 if (Decl->TypeForDecl) { in getInjectedClassNameType()
5241 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType()
5243 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
5244 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
5245 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType()
5249 Decl->TypeForDecl = newType; in getInjectedClassNameType()
5252 return QualType(Decl->TypeForDecl, 0); in getInjectedClassNameType()
5259 assert(!Decl->TypeForDecl && "TypeForDecl present in slow case"); in getTypeDeclTypeSlow()
5279 return QualType(Decl->TypeForDecl, 0); in getTypeDeclTypeSlow()
5286 if (!Decl->TypeForDecl) { in getTypedefType()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1756 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1759 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1760 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1761 return QualType(PrevDecl->TypeForDecl, 0);
H A DDeclObjC.h1157 mutable const Type *TypeForDecl = nullptr; variable
1916 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
1917 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
H A DDecl.h3489 mutable const Type *TypeForDecl = nullptr; variable
3506 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
3507 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp9469 const_cast<QualType &>(Lambda->TypeForDecl->CanonicalType) = in AssignedLambdaNumbering()
9470 Previous->TypeForDecl->CanonicalType; in AssignedLambdaNumbering()
10443 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()
H A DASTReaderDecl.cpp550 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()