Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp4587 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
4629 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getTypedefType()
4663 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getRecordType()
4667 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
4676 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getEnumType()
4680 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
4690 if (Decl->TypeForDecl) in getUnresolvedUsingType()
4696 return QualType(Decl->TypeForDecl = CanonicalDecl->TypeForDecl, 0); in getUnresolvedUsingType()
5543 if (Decl->TypeForDecl) in getObjCInterfaceType()
5548 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTContext.h1582 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1585 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1586 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1587 return QualType(PrevDecl->TypeForDecl, 0);
H A DDeclObjC.h1156 mutable const Type *TypeForDecl = nullptr; variable
1897 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
1898 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
H A DDecl.h3183 mutable const Type *TypeForDecl = nullptr; variable
3200 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
3201 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp553 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
H A DASTReader.cpp9400 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()