Lines Matching refs:ToPatternOrErr
1536 ExpectedType ToPatternOrErr = import(T->getPattern()); in VisitPackExpansionType() local
1537 if (!ToPatternOrErr) in VisitPackExpansionType()
1538 return ToPatternOrErr.takeError(); in VisitPackExpansionType()
1540 return Importer.getToContext().getPackExpansionType(*ToPatternOrErr, in VisitPackExpansionType()
4673 if (Expected<NamedDecl *> ToPatternOrErr = import(FromPattern)) in VisitUsingDecl() local
4675 ToUsing, *ToPatternOrErr); in VisitUsingDecl()
4677 return ToPatternOrErr.takeError(); in VisitUsingDecl()
4710 if (Expected<UsingEnumDecl *> ToPatternOrErr = import(FromPattern)) in VisitUsingEnumDecl() local
4712 *ToPatternOrErr); in VisitUsingEnumDecl()
4714 return ToPatternOrErr.takeError(); in VisitUsingEnumDecl()
4748 if (Expected<UsingShadowDecl *> ToPatternOrErr = import(FromPattern)) in VisitUsingShadowDecl() local
4750 ToShadow, *ToPatternOrErr); in VisitUsingShadowDecl()
4754 return ToPatternOrErr.takeError(); in VisitUsingShadowDecl()