Lines Matching refs:ToContext
5337 ASTImporter::ASTImporter(ASTContext &ToContext, FileManager &ToFileManager, in ASTImporter() argument
5340 : ToContext(ToContext), FromContext(FromContext), in ASTImporter()
5345 = ToContext.getTranslationUnitDecl(); in ASTImporter()
5360 return ToContext.getQualifiedType(Pos->second, FromT.getLocalQualifiers()); in Import()
5371 return ToContext.getQualifiedType(ToT, FromT.getLocalQualifiers()); in Import()
5384 return ToContext.getTrivialTypeSourceInfo(T, in Import()
5537 return NestedNameSpecifier::Create(ToContext, prefix, II); in Import()
5544 return NestedNameSpecifier::Create(ToContext, prefix, NS); in Import()
5551 return NestedNameSpecifier::Create(ToContext, prefix, NSAD); in Import()
5556 return NestedNameSpecifier::GlobalSpecifier(ToContext); in Import()
5561 return NestedNameSpecifier::SuperSpecifier(ToContext, RD); in Import()
5571 return NestedNameSpecifier::Create(ToContext, prefix, in Import()
5606 return ToContext.getOverloadedTemplateName(ToTemplates.begin(), in Import()
5618 return ToContext.getQualifiedTemplateName(Qualifier, in Import()
5632 return ToContext.getDependentTemplateName(Qualifier, in Import()
5636 return ToContext.getDependentTemplateName(Qualifier, DTN->getOperator()); in Import()
5650 return ToContext.getSubstTemplateTemplateParm(param, replacement); in Import()
5668 return ToContext.getSubstTemplateTemplateParmPack(Param, ArgPack); in Import()
5686 SourceManager &ToSM = ToContext.getSourceManager(); in Import()
5706 SourceManager &ToSM = ToContext.getSourceManager(); in Import()
5804 return ToContext.DeclarationNames.getCXXConstructorName( in Import()
5805 ToContext.getCanonicalType(T)); in Import()
5813 return ToContext.DeclarationNames.getCXXDestructorName( in Import()
5814 ToContext.getCanonicalType(T)); in Import()
5822 return ToContext.DeclarationNames.getCXXConversionFunctionName( in Import()
5823 ToContext.getCanonicalType(T)); in Import()
5827 return ToContext.DeclarationNames.getCXXOperatorName( in Import()
5831 return ToContext.DeclarationNames.getCXXLiteralOperatorName( in Import()
5846 return &ToContext.Idents.get(FromId->getName()); in Import()
5857 return ToContext.Selectors.getSelector(FromSel.getNumArgs(), Idents.data()); in Import()
5870 ToContext.getDiagnostics().notePriorDiagnosticFrom( in ToDiag()
5873 return ToContext.getDiagnostics().Report(Loc, DiagID); in ToDiag()
5879 ToContext.getDiagnostics()); in FromDiag()
5913 if (Pos != ImportedTypes.end() && ToContext.hasSameType(Import(From), To)) in IsStructurallyEquivalent()
5916 StructuralEquivalenceContext Ctx(FromContext, ToContext, NonEquivalentDecls, in IsStructurallyEquivalent()