Searched refs:ToInstOrErr (Results 1 – 1 of 1) sorted by relevance
3005 if (Expected<EnumDecl *> ToInstOrErr = import(FromInst)) in VisitEnumDecl() local3006 D2->setInstantiationOfMemberEnum(*ToInstOrErr, SK); in VisitEnumDecl()3008 return ToInstOrErr.takeError(); in VisitEnumDecl()3236 if (Expected<CXXRecordDecl *> ToInstOrErr = import(FromInst)) in VisitRecordDecl() local3237 D2CXX->setInstantiationOfMemberClass(*ToInstOrErr, SK); in VisitRecordDecl()3239 return ToInstOrErr.takeError(); in VisitRecordDecl()4599 if (Expected<VarDecl *> ToInstOrErr = import(FromInst)) in VisitVarDecl() local4600 ToVar->setInstantiationOfStaticDataMember(*ToInstOrErr, SK); in VisitVarDecl()4602 return ToInstOrErr.takeError(); in VisitVarDecl()6256 if (Expected<ClassTemplatePartialSpecializationDecl *> ToInstOrErr = in VisitClassTemplateSpecializationDecl() local[all …]