Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp4476 if (Decl->TypeForDecl) { in getInjectedClassNameType()
4480 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
4524 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getTypedefType()
4531 Decl->TypeForDecl = newType; in getTypedefType()
4537 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getRecordType()
4541 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
4550 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getEnumType()
4554 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
5376 if (Decl->TypeForDecl) in getObjCInterfaceType()
5381 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
[all …]
H A DDeclObjC.cpp608 if (TypeForDecl) in allocateDefinitionData()
609 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTContext.h1462 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1465 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1466 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1467 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.h3106 mutable const Type *TypeForDecl = nullptr; variable
3123 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
3124 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/netbsd/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp549 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
H A DASTReader.cpp9286 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()