Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp4491 if (Decl->TypeForDecl) { in getInjectedClassNameType()
4495 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
4539 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getTypedefType()
4546 Decl->TypeForDecl = newType; in getTypedefType()
4552 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getRecordType()
4556 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
4565 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getEnumType()
4569 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
5391 if (Decl->TypeForDecl) in getObjCInterfaceType()
5396 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
[all …]
H A DDeclObjC.cpp608 if (TypeForDecl) in allocateDefinitionData()
609 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1507 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1510 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1511 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1512 return QualType(PrevDecl->TypeForDecl, 0);
H A DDeclObjC.h1154 mutable const Type *TypeForDecl = nullptr; variable
1895 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
1896 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
H A DDecl.h3132 mutable const Type *TypeForDecl = nullptr; variable
3149 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
3150 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp551 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
H A DASTReader.cpp9315 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()