Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp4621 if (Decl->TypeForDecl) { in getInjectedClassNameType()
4622 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType()
4624 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
4625 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
4626 assert(isa<InjectedClassNameType>(Decl->TypeForDecl)); in getInjectedClassNameType()
4630 Decl->TypeForDecl = newType; in getInjectedClassNameType()
4633 return QualType(Decl->TypeForDecl, 0); in getInjectedClassNameType()
4640 assert(!Decl->TypeForDecl && "TypeForDecl present in slow case"); in getTypeDeclTypeSlow()
4660 return QualType(Decl->TypeForDecl, 0); in getTypeDeclTypeSlow()
4667 if (!Decl->TypeForDecl) { in getTypedefType()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h1556 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1559 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1560 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1561 return QualType(PrevDecl->TypeForDecl, 0);
H A DDeclObjC.h1153 mutable const Type *TypeForDecl = nullptr; variable
1906 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
1907 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; } in setTypeForDecl()
H A DDecl.h3253 mutable const Type *TypeForDecl = nullptr; variable
3270 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl()
3271 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; } in setTypeForDecl()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp558 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
H A DASTReader.cpp9425 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl)) in finishPendingActions()