Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp3843 if (Decl->TypeForDecl) { in getInjectedClassNameType()
3847 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
3892 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getTypedefType()
3898 Decl->TypeForDecl = newType; in getTypedefType()
3904 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getRecordType()
3908 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
3917 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getEnumType()
3921 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
4719 if (Decl->TypeForDecl) in getObjCInterfaceType()
4724 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
[all …]
H A DDeclObjC.cpp607 if (TypeForDecl) in allocateDefinitionData()
608 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h1399 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1402 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1403 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1404 return QualType(PrevDecl->TypeForDecl, 0);
H A DDeclObjC.h1178 mutable const Type *TypeForDecl = nullptr; variable
1919 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
1920 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
H A DDecl.h2881 mutable const Type *TypeForDecl = nullptr; variable
2898 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
2899 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp543 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
H A DASTReader.cpp9371 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()