Lines Matching refs:getToContext
1477 case BuiltinType::Id: return Importer.getToContext().SingletonId; in VisitBuiltinType()
1490 if (Importer.getToContext().getLangOpts().CharIsSigned) in VisitBuiltinType()
1491 return Importer.getToContext().UnsignedCharTy; in VisitBuiltinType()
1493 return Importer.getToContext().CharTy; in VisitBuiltinType()
1499 if (!Importer.getToContext().getLangOpts().CharIsSigned) in VisitBuiltinType()
1500 return Importer.getToContext().SignedCharTy; in VisitBuiltinType()
1502 return Importer.getToContext().CharTy; in VisitBuiltinType()
1508 return Importer.getToContext().WCharTy; in VisitBuiltinType()
1519 return Importer.getToContext().getComplexType(ToElementType); in VisitComplexType()
1527 return Importer.getToContext().getPointerType(ToPointeeType); in VisitPointerType()
1536 return Importer.getToContext().getBlockPointerType(ToPointeeType); in VisitBlockPointerType()
1546 return Importer.getToContext().getLValueReferenceType(ToPointeeType); in VisitLValueReferenceType()
1556 return Importer.getToContext().getRValueReferenceType(ToPointeeType); in VisitRValueReferenceType()
1566 return Importer.getToContext().getMemberPointerType(ToPointeeType, in VisitMemberPointerType()
1575 return Importer.getToContext().getConstantArrayType(ToElementType, in VisitConstantArrayType()
1587 return Importer.getToContext().getIncompleteArrayType(ToElementType, in VisitIncompleteArrayType()
1602 return Importer.getToContext().getVariableArrayType(ToElementType, Size, in VisitVariableArrayType()
1613 return Importer.getToContext().getVectorType(ToElementType, in VisitVectorType()
1623 return Importer.getToContext().getExtVectorType(ToElementType, in VisitExtVectorType()
1635 return Importer.getToContext().getFunctionNoProtoType(ToResultType, in VisitFunctionNoProtoType()
1679 return Importer.getToContext().getFunctionType(ToResultType, ArgTypes, ToEPI); in VisitFunctionProtoType()
1687 return Importer.getToContext().getParenType(ToInnerType); in VisitParenType()
1696 return Importer.getToContext().getTypeDeclType(ToDecl); in VisitTypedefType()
1704 return Importer.getToContext().getTypeOfExprType(ToExpr); in VisitTypeOfExprType()
1712 return Importer.getToContext().getTypeOfType(ToUnderlyingType); in VisitTypeOfType()
1725 return Importer.getToContext().getDecltypeType(ToExpr, UnderlyingType); in VisitDecltypeType()
1734 return Importer.getToContext().getUnaryTransformType(ToBaseType, in VisitUnaryTransformType()
1749 return Importer.getToContext().getAutoType(ToDeduced, T->getKeyword(), in VisitAutoType()
1759 return Importer.getToContext().getTagDeclType(ToDecl); in VisitRecordType()
1768 return Importer.getToContext().getTagDeclType(ToDecl); in VisitEnumType()
1788 return Importer.getToContext().getAttributedType(T->getAttrKind(), in VisitAttributedType()
1810 return Importer.getToContext().getTemplateSpecializationType(ToTemplate, in VisitTemplateSpecializationType()
1829 return Importer.getToContext().getElaboratedType(T->getKeyword(), in VisitElaboratedType()
1839 return Importer.getToContext().getObjCInterfaceType(Class); in VisitObjCInterfaceType()
1865 return Importer.getToContext().getObjCObjectType(ToBaseType, TypeArgs, in VisitObjCObjectType()
1876 return Importer.getToContext().getObjCObjectPointerType(ToPointeeType); in VisitObjCObjectPointerType()
2067 new (Importer.getToContext()) in ImportDefinition()
2144 return TemplateParameterList::Create(Importer.getToContext(), in ImportTemplateParameterList()
2215 llvm::makeArrayRef(ToPack).copy(Importer.getToContext())); in ImportTemplateArgument()
2257 Importer.getFromContext(), Importer.getToContext(), in IsStructuralMatch()
2264 Importer.getToContext(), in IsStructuralMatch()
2283 Importer.getToContext(), in IsStructuralMatch()
2291 Importer.getToContext(), in IsStructuralMatch()
2304 Importer.getToContext().getTranslationUnitDecl(); in VisitTranslationUnitDecl()
2358 ToNamespace = NamespaceDecl::Create(Importer.getToContext(), DC, in VisitNamespaceDecl()
2433 ToTypedef = TypeAliasDecl::Create(Importer.getToContext(), DC, in VisitTypedefNameDecl()
2438 ToTypedef = TypedefDecl::Create(Importer.getToContext(), DC, in VisitTypedefNameDecl()
2476 } else if (Importer.getToContext().getLangOpts().CPlusPlus) in VisitEnumDecl()
2510 EnumDecl *D2 = EnumDecl::Create(Importer.getToContext(), DC, in VisitEnumDecl()
2564 } else if (Importer.getToContext().getLangOpts().CPlusPlus) in VisitRecordDecl()
2650 CXXRecordDecl *D2CXX = CXXRecordDecl::Create(Importer.getToContext(), in VisitRecordDecl()
2657 D2 = RecordDecl::Create(Importer.getToContext(), D->getTagKind(), in VisitRecordDecl()
2725 = EnumConstantDecl::Create(Importer.getToContext(), cast<EnumDecl>(DC), Loc, in VisitEnumConstantDecl()
2770 if (Importer.getToContext().getLangOpts().CPlusPlus) in VisitFunctionDecl()
2838 ToFunction = CXXConstructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2847 ToFunction = CXXDestructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2855 ToFunction = CXXConversionDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2864 ToFunction = CXXMethodDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2873 ToFunction = FunctionDecl::Create(Importer.getToContext(), DC, in VisitFunctionDecl()
2997 FieldDecl *ToField = FieldDecl::Create(Importer.getToContext(), DC, in VisitFieldDecl()
3058 new (Importer.getToContext())NamedDecl*[D->getChainingSize()]; in VisitIndirectFieldDecl()
3069 Importer.getToContext(), DC, Loc, Name.getAsIdentifierInfo(), T, in VisitIndirectFieldDecl()
3073 ToIndirectField->addAttr(Attr->clone(Importer.getToContext())); in VisitIndirectFieldDecl()
3122 ObjCIvarDecl *ToIvar = ObjCIvarDecl::Create(Importer.getToContext(), in VisitObjCIvarDecl()
3169 = Importer.getToContext().getAsArrayType(FoundVar->getType()); in VisitVarDecl()
3171 = Importer.getToContext().getAsArrayType(D->getType()); in VisitVarDecl()
3241 VarDecl *ToVar = VarDecl::Create(Importer.getToContext(), DC, in VisitVarDecl()
3266 DeclContext *DC = Importer.getToContext().getTranslationUnitDecl(); in VisitImplicitParamDecl()
3283 = ImplicitParamDecl::Create(Importer.getToContext(), DC, in VisitImplicitParamDecl()
3292 DeclContext *DC = Importer.getToContext().getTranslationUnitDecl(); in VisitParmVarDecl()
3309 ParmVarDecl *ToParm = ParmVarDecl::Create(Importer.getToContext(), DC, in VisitParmVarDecl()
3403 Importer.getToContext(), Loc, Importer.Import(D->getLocEnd()), in VisitObjCMethodDecl()
3428 ToMethod->setMethodParams(Importer.getToContext(), ToParams, SelLocs); in VisitObjCMethodDecl()
3452 Importer.getToContext(), DC, in VisitObjCTypeParamDecl()
3486 ToCategory = ObjCCategoryDecl::Create(Importer.getToContext(), DC, in VisitObjCCategoryDecl()
3522 ProtocolLocs.data(), Importer.getToContext()); in VisitObjCCategoryDecl()
3576 ProtocolLocs.data(), Importer.getToContext()); in ImportDefinition()
3621 ToProto = ObjCProtocolDecl::Create(Importer.getToContext(), DC, in VisitObjCProtocolDecl()
3647 LinkageSpecDecl::Create(Importer.getToContext(), in VisitLinkageSpecDecl()
3737 ProtocolLocs.data(), Importer.getToContext()); in ImportDefinition()
3776 return ObjCTypeParamList::create(Importer.getToContext(), in ImportObjCTypeParamList()
3820 ToIface = ObjCInterfaceDecl::Create(Importer.getToContext(), DC, in VisitObjCInterfaceDecl()
3854 ToImpl = ObjCCategoryImplDecl::Create(Importer.getToContext(), DC, in VisitObjCCategoryImplDecl()
3899 Impl = ObjCImplementationDecl::Create(Importer.getToContext(), in VisitObjCImplementationDecl()
3999 = ObjCPropertyDecl::Create(Importer.getToContext(), DC, Loc, in VisitObjCPropertyDecl()
4058 ToImpl = ObjCPropertyImplDecl::Create(Importer.getToContext(), DC, in VisitObjCPropertyImplDecl()
4111 return TemplateTypeParmDecl::Create(Importer.getToContext(), in VisitTemplateTypeParmDecl()
4112 Importer.getToContext().getTranslationUnitDecl(), in VisitTemplateTypeParmDecl()
4144 return NonTypeTemplateParmDecl::Create(Importer.getToContext(), in VisitNonTypeTemplateParmDecl()
4145 Importer.getToContext().getTranslationUnitDecl(), in VisitNonTypeTemplateParmDecl()
4170 return TemplateTemplateParmDecl::Create(Importer.getToContext(), in VisitTemplateTemplateParmDecl()
4171 Importer.getToContext().getTranslationUnitDecl(), in VisitTemplateTemplateParmDecl()
4243 CXXRecordDecl *D2Templated = CXXRecordDecl::Create(Importer.getToContext(), in VisitClassTemplateDecl()
4257 ClassTemplateDecl *D2 = ClassTemplateDecl::Create(Importer.getToContext(), DC, in VisitClassTemplateDecl()
4342 D2 = ClassTemplateSpecializationDecl::Create(Importer.getToContext(), in VisitClassTemplateSpecializationDecl()
4437 VarDecl *D2Templated = VarDecl::Create(Importer.getToContext(), DC, StartLoc, in VisitVarTemplateDecl()
4458 Importer.getToContext(), DC, Loc, Name, TemplateParams, D2Templated); in VisitVarTemplateDecl()
4547 Importer.getToContext(), DC, StartLoc, IdLoc, VarTemplate, T, TInfo, in VisitVarTemplateSpecializationDecl()
4576 return DeclGroupRef::Create(Importer.getToContext(), nullptr, 0); in ImportDeclGroup()
4584 return DeclGroupRef::Create(Importer.getToContext(), in ImportDeclGroup()
4603 return new (Importer.getToContext()) DeclStmt(ToDG, ToStartLoc, ToEndLoc); in VisitDeclStmt()
4608 return new (Importer.getToContext()) NullStmt(ToSemiLoc, in VisitNullStmt()
4625 return new (Importer.getToContext()) CompoundStmt(Importer.getToContext(), in VisitCompoundStmt()
4640 return new (Importer.getToContext()) CaseStmt(ToLHS, ToRHS, in VisitCaseStmt()
4651 return new (Importer.getToContext()) DefaultStmt(ToDefaultLoc, ToColonLoc, in VisitDefaultStmt()
4664 return new (Importer.getToContext()) LabelStmt(ToIdentLoc, ToLabelDecl, in VisitLabelStmt()
4672 ASTContext &_ToContext = Importer.getToContext(); in VisitAttributedStmt()
4684 return AttributedStmt::Create(Importer.getToContext(), ToAttrLoc, in VisitAttributedStmt()
4707 return new (Importer.getToContext()) IfStmt(Importer.getToContext(), in VisitIfStmt()
4724 SwitchStmt *ToStmt = new (Importer.getToContext()) SwitchStmt( in VisitSwitchStmt()
4725 Importer.getToContext(), ToConditionVariable, in VisitSwitchStmt()
4763 return new (Importer.getToContext()) WhileStmt(Importer.getToContext(), in VisitWhileStmt()
4779 return new (Importer.getToContext()) DoStmt(ToBody, ToCondition, in VisitDoStmt()
4807 return new (Importer.getToContext()) ForStmt(Importer.getToContext(), in VisitForStmt()
4824 return new (Importer.getToContext()) GotoStmt(ToLabel, in VisitGotoStmt()
4834 return new (Importer.getToContext()) IndirectGotoStmt(ToGotoLoc, ToStarLoc, in VisitIndirectGotoStmt()
4840 return new (Importer.getToContext()) ContinueStmt(ToContinueLoc); in VisitContinueStmt()
4845 return new (Importer.getToContext()) BreakStmt(ToBreakLoc); in VisitBreakStmt()
4857 return new (Importer.getToContext()) ReturnStmt(ToRetLoc, ToRetExpr, in VisitReturnStmt()
4873 return new (Importer.getToContext()) CXXCatchStmt(ToCatchLoc, in VisitCXXCatchStmt()
4891 return CXXTryStmt::Create(Importer.getToContext(), ToTryLoc, ToTryBlock, in VisitCXXTryStmt()
4921 return new (Importer.getToContext()) CXXForRangeStmt(ToRange, ToBeginEnd, in VisitCXXForRangeStmt()
4940 return new (Importer.getToContext()) ObjCForCollectionStmt(ToElem, in VisitObjCForCollectionStmt()
4959 return new (Importer.getToContext()) ObjCAtCatchStmt(ToAtCatchLoc, in VisitObjCAtCatchStmt()
4970 return new (Importer.getToContext()) ObjCAtFinallyStmt(ToAtFinallyLoc, in VisitObjCAtFinallyStmt()
4990 return ObjCAtTryStmt::Create(Importer.getToContext(), in VisitObjCAtTryStmt()
5006 return new (Importer.getToContext()) ObjCAtSynchronizedStmt( in VisitObjCAtSynchronizedStmt()
5015 return new (Importer.getToContext()) ObjCAtThrowStmt(ToAtThrowLoc, ToThrow); in VisitObjCAtThrowStmt()
5024 return new (Importer.getToContext()) ObjCAutoreleasePoolStmt(ToAtLoc, in VisitObjCAutoreleasePoolStmt()
5053 DeclRefExpr *DRE = DeclRefExpr::Create(Importer.getToContext(), in VisitDeclRefExpr()
5072 return IntegerLiteral::Create(Importer.getToContext(), in VisitIntegerLiteral()
5082 return new (Importer.getToContext()) CharacterLiteral(E->getValue(), in VisitCharacterLiteral()
5092 return new (Importer.getToContext()) in VisitParenExpr()
5107 return new (Importer.getToContext()) UnaryOperator(SubExpr, E->getOpcode(), in VisitUnaryOperator()
5122 return new (Importer.getToContext()) UnaryExprOrTypeTraitExpr(E->getKind(), in VisitUnaryExprOrTypeTraitExpr()
5132 return new (Importer.getToContext()) UnaryExprOrTypeTraitExpr(E->getKind(), in VisitUnaryExprOrTypeTraitExpr()
5151 return new (Importer.getToContext()) BinaryOperator(LHS, RHS, E->getOpcode(), in VisitBinaryOperator()
5179 return new (Importer.getToContext()) in VisitCompoundAssignOperator()
5208 return ImplicitCastExpr::Create(Importer.getToContext(), T, E->getCastKind(), in VisitImplicitCastExpr()
5229 return CStyleCastExpr::Create(Importer.getToContext(), T, in VisitCStyleCastExpr()
5258 return CXXConstructExpr::Create(Importer.getToContext(), T, in VisitCXXConstructExpr()
5294 return MemberExpr::Create(Importer.getToContext(), ToBase, in VisitMemberExpr()
5325 Expr **ToArgs_Copied = new (Importer.getToContext()) in VisitCallExpr()
5331 return new (Importer.getToContext()) in VisitCallExpr()
5332 CallExpr(Importer.getToContext(), ToCallee, in VisitCallExpr()