Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DASTContext.cpp2985 if (Decl->TypeForDecl) { in getInjectedClassNameType()
2989 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
3035 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getTypedefType()
3041 Decl->TypeForDecl = newType; in getTypedefType()
3047 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getRecordType()
3051 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
3060 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0); in getEnumType()
3064 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
3686 if (Decl->TypeForDecl) in getObjCInterfaceType()
3691 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
[all …]
H A DDeclObjC.cpp469 if (TypeForDecl) in allocateDefinitionData()
470 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this; in allocateDefinitionData()
1176 redeclarable_base(C), TypeForDecl(nullptr), Data() { in ObjCInterfaceDecl()
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DASTContext.h1087 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1090 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1091 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1092 return QualType(PrevDecl->TypeForDecl, 0);
H A DDeclObjC.h671 mutable const Type *TypeForDecl; variable
1363 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
1364 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
H A DDecl.h2450 mutable const Type *TypeForDecl; variable
2458 : NamedDecl(DK, DC, L, Id), TypeForDecl(nullptr), LocStart(StartL) {} in NamedDecl()
2465 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
2466 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp388 ID->TypeForDecl = Reader.GetType(TypeIDForTypeDecl).getTypePtrOrNull(); in Visit()
H A DASTReader.cpp8326 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()