Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp4599 if (Decl->TypeForDecl) { in getInjectedClassNameType()
4603 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
4705 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getRecordType()
4709 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
4718 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getEnumType()
4722 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
4732 if (Decl->TypeForDecl) in getUnresolvedUsingType()
4738 return QualType(Decl->TypeForDecl = CanonicalDecl->TypeForDecl, 0); in getUnresolvedUsingType()
5582 if (Decl->TypeForDecl) in getObjCInterfaceType()
5587 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1575 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1578 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1579 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1580 return QualType(PrevDecl->TypeForDecl, 0);
H A DDeclObjC.h1156 mutable const Type *TypeForDecl = nullptr; variable
1914 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
1915 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
H A DDecl.h3356 mutable const Type *TypeForDecl = nullptr; variable
3373 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
3374 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp571 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
H A DASTReader.cpp9693 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()