Searched refs:TypeForDecl (Results 1 - 10 of 10) sorted by relevance

/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h1046 if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
1049 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
1050 Decl->TypeForDecl = PrevDecl->TypeForDecl;
1051 return QualType(PrevDecl->TypeForDecl, 0);
H A DDeclObjC.h626 /// TypeForDecl - This indicates the Type object that represents this
628 mutable const Type *TypeForDecl; member in class:clang::ObjCInterfaceDecl
1211 const Type *getTypeForDecl() const { return TypeForDecl; }
1212 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; }
H A DDecl.h2338 /// TypeForDecl - This indicates the Type object that represents
2342 mutable const Type *TypeForDecl;
2355 : NamedDecl(DK, DC, L, Id), TypeForDecl(0), LocStart(StartL) {}
2362 const Type *getTypeForDecl() const { return TypeForDecl; }
2363 void setTypeForDecl(const Type *TD) { TypeForDecl = TD; }
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp2905 if (Decl->TypeForDecl) {
2906 assert(isa<InjectedClassNameType>(Decl->TypeForDecl));
2908 assert(PrevDecl->TypeForDecl && "previous declaration has no type");
2909 Decl->TypeForDecl = PrevDecl->TypeForDecl;
2910 assert(isa<InjectedClassNameType>(Decl->TypeForDecl));
2914 Decl->TypeForDecl = newType;
2917 return QualType(Decl->TypeForDecl, 0);
2924 assert(!Decl->TypeForDecl && "TypeForDecl presen
[all...]
H A DDeclBase.cpp877 assert(isa<TagType>(Tag->TypeForDecl) ||
878 isa<InjectedClassNameType>(Tag->TypeForDecl));
883 if (!isa<InjectedClassNameType>(Tag->TypeForDecl)) {
884 const TagType *TagTy = cast<TagType>(Tag->TypeForDecl);
H A DDeclTemplate.cpp476 TTPDecl->TypeForDecl = TTPType.getTypePtr();
502 return TypeForDecl->getAs<TemplateTypeParmType>()->getDepth();
506 return TypeForDecl->getAs<TemplateTypeParmType>()->getIndex();
510 return TypeForDecl->getAs<TemplateTypeParmType>()->isParameterPack();
H A DDeclObjC.cpp377 if (TypeForDecl)
378 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this;
1080 TypeForDecl(0), Data()
H A DDecl.cpp3183 if (TypeForDecl)
3184 assert(TypeForDecl->isLinkageValid());
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp344 ID->TypeForDecl = Reader.GetType(TypeIDForTypeDecl).getTypePtrOrNull();
H A DASTReader.cpp7478 if (const TagType *TagT = dyn_cast<TagType>(TD->TypeForDecl)) {
7496 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl))

Completed in 285 milliseconds