reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1918 const Type *getTypeForDecl() const { return TypeForDecl; } 1919 void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; }tools/clang/lib/AST/ASTContext.cpp
4846 if (Decl->TypeForDecl) 4847 return QualType(Decl->TypeForDecl, 0); 4850 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); 4851 Decl->TypeForDecl = PrevDecl->TypeForDecl; 4851 Decl->TypeForDecl = PrevDecl->TypeForDecl; 4852 return QualType(PrevDecl->TypeForDecl, 0); 4861 Decl->TypeForDecl = T;tools/clang/lib/AST/DeclObjC.cpp
606 if (TypeForDecl) 607 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this;tools/clang/lib/Serialization/ASTReader.cpp
9981 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl))
tools/clang/lib/Serialization/ASTReaderDecl.cpp 545 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull();