Lines Matching refs:getToContext

1434   case BuiltinType::Id: return Importer.getToContext().SingletonId;  in VisitBuiltinType()
1447 if (Importer.getToContext().getLangOpts().CharIsSigned) in VisitBuiltinType()
1448 return Importer.getToContext().UnsignedCharTy; in VisitBuiltinType()
1450 return Importer.getToContext().CharTy; in VisitBuiltinType()
1456 if (!Importer.getToContext().getLangOpts().CharIsSigned) in VisitBuiltinType()
1457 return Importer.getToContext().SignedCharTy; in VisitBuiltinType()
1459 return Importer.getToContext().CharTy; in VisitBuiltinType()
1465 return Importer.getToContext().WCharTy; in VisitBuiltinType()
1476 return Importer.getToContext().getComplexType(ToElementType); in VisitComplexType()
1484 return Importer.getToContext().getPointerType(ToPointeeType); in VisitPointerType()
1493 return Importer.getToContext().getBlockPointerType(ToPointeeType); in VisitBlockPointerType()
1503 return Importer.getToContext().getLValueReferenceType(ToPointeeType); in VisitLValueReferenceType()
1513 return Importer.getToContext().getRValueReferenceType(ToPointeeType); in VisitRValueReferenceType()
1523 return Importer.getToContext().getMemberPointerType(ToPointeeType, in VisitMemberPointerType()
1532 return Importer.getToContext().getConstantArrayType(ToElementType, in VisitConstantArrayType()
1544 return Importer.getToContext().getIncompleteArrayType(ToElementType, in VisitIncompleteArrayType()
1559 return Importer.getToContext().getVariableArrayType(ToElementType, Size, in VisitVariableArrayType()
1570 return Importer.getToContext().getVectorType(ToElementType, in VisitVectorType()
1580 return Importer.getToContext().getExtVectorType(ToElementType, in VisitExtVectorType()
1592 return Importer.getToContext().getFunctionNoProtoType(ToResultType, in VisitFunctionNoProtoType()
1636 return Importer.getToContext().getFunctionType(ToResultType, ArgTypes, ToEPI); in VisitFunctionProtoType()
1644 return Importer.getToContext().getParenType(ToInnerType); in VisitParenType()
1653 return Importer.getToContext().getTypeDeclType(ToDecl); in VisitTypedefType()
1661 return Importer.getToContext().getTypeOfExprType(ToExpr); in VisitTypeOfExprType()
1669 return Importer.getToContext().getTypeOfType(ToUnderlyingType); in VisitTypeOfType()
1682 return Importer.getToContext().getDecltypeType(ToExpr, UnderlyingType); in VisitDecltypeType()
1691 return Importer.getToContext().getUnaryTransformType(ToBaseType, in VisitUnaryTransformType()
1706 return Importer.getToContext().getAutoType(ToDeduced, T->isDecltypeAuto(), in VisitAutoType()
1716 return Importer.getToContext().getTagDeclType(ToDecl); in VisitRecordType()
1725 return Importer.getToContext().getTagDeclType(ToDecl); in VisitEnumType()
1745 return Importer.getToContext().getAttributedType(T->getAttrKind(), in VisitAttributedType()
1767 return Importer.getToContext().getTemplateSpecializationType(ToTemplate, in VisitTemplateSpecializationType()
1786 return Importer.getToContext().getElaboratedType(T->getKeyword(), in VisitElaboratedType()
1796 return Importer.getToContext().getObjCInterfaceType(Class); in VisitObjCInterfaceType()
1813 return Importer.getToContext().getObjCObjectType(ToBaseType, in VisitObjCObjectType()
1824 return Importer.getToContext().getObjCObjectPointerType(ToPointeeType); in VisitObjCObjectPointerType()
2013 new (Importer.getToContext()) in ImportDefinition()
2090 return TemplateParameterList::Create(Importer.getToContext(), in ImportTemplateParameterList()
2161 = new (Importer.getToContext()) TemplateArgument[ToPack.size()]; in ImportTemplateArgument()
2205 Importer.getFromContext(), Importer.getToContext(), in IsStructuralMatch()
2212 Importer.getToContext(), in IsStructuralMatch()
2231 Importer.getToContext(), in IsStructuralMatch()
2239 Importer.getToContext(), in IsStructuralMatch()
2252 Importer.getToContext().getTranslationUnitDecl(); in VisitTranslationUnitDecl()
2303 ToNamespace = NamespaceDecl::Create(Importer.getToContext(), DC, in VisitNamespaceDecl()
2375 ToTypedef = TypeAliasDecl::Create(Importer.getToContext(), DC, in VisitTypedefNameDecl()
2380 ToTypedef = TypedefDecl::Create(Importer.getToContext(), DC, in VisitTypedefNameDecl()
2415 } else if (Importer.getToContext().getLangOpts().CPlusPlus) in VisitEnumDecl()
2449 EnumDecl *D2 = EnumDecl::Create(Importer.getToContext(), DC, in VisitEnumDecl()
2500 } else if (Importer.getToContext().getLangOpts().CPlusPlus) in VisitRecordDecl()
2586 CXXRecordDecl *D2CXX = CXXRecordDecl::Create(Importer.getToContext(), in VisitRecordDecl()
2593 D2 = RecordDecl::Create(Importer.getToContext(), D->getTagKind(), in VisitRecordDecl()
2658 = EnumConstantDecl::Create(Importer.getToContext(), cast<EnumDecl>(DC), Loc, in VisitEnumConstantDecl()
2700 if (Importer.getToContext().getLangOpts().CPlusPlus) in VisitFunctionDecl()
2767 ToFunction = CXXConstructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2776 ToFunction = CXXDestructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2784 ToFunction = CXXConversionDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2793 ToFunction = CXXMethodDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2802 ToFunction = FunctionDecl::Create(Importer.getToContext(), DC, in VisitFunctionDecl()
2916 FieldDecl *ToField = FieldDecl::Create(Importer.getToContext(), DC, in VisitFieldDecl()
2974 new (Importer.getToContext())NamedDecl*[D->getChainingSize()]; in VisitIndirectFieldDecl()
2985 Importer.getToContext(), DC, Loc, Name.getAsIdentifierInfo(), T, in VisitIndirectFieldDecl()
2989 ToIndirectField->addAttr(Attr->clone(Importer.getToContext())); in VisitIndirectFieldDecl()
3035 ObjCIvarDecl *ToIvar = ObjCIvarDecl::Create(Importer.getToContext(), in VisitObjCIvarDecl()
3079 = Importer.getToContext().getAsArrayType(FoundVar->getType()); in VisitVarDecl()
3081 = Importer.getToContext().getAsArrayType(D->getType()); in VisitVarDecl()
3151 VarDecl *ToVar = VarDecl::Create(Importer.getToContext(), DC, in VisitVarDecl()
3172 DeclContext *DC = Importer.getToContext().getTranslationUnitDecl(); in VisitImplicitParamDecl()
3189 = ImplicitParamDecl::Create(Importer.getToContext(), DC, in VisitImplicitParamDecl()
3198 DeclContext *DC = Importer.getToContext().getTranslationUnitDecl(); in VisitParmVarDecl()
3215 ParmVarDecl *ToParm = ParmVarDecl::Create(Importer.getToContext(), DC, in VisitParmVarDecl()
3302 Importer.getToContext(), Loc, Importer.Import(D->getLocEnd()), in VisitObjCMethodDecl()
3327 ToMethod->setMethodParams(Importer.getToContext(), ToParams, SelLocs); in VisitObjCMethodDecl()
3353 ToCategory = ObjCCategoryDecl::Create(Importer.getToContext(), DC, in VisitObjCCategoryDecl()
3384 ProtocolLocs.data(), Importer.getToContext()); in VisitObjCCategoryDecl()
3438 ProtocolLocs.data(), Importer.getToContext()); in ImportDefinition()
3480 ToProto = ObjCProtocolDecl::Create(Importer.getToContext(), DC, in VisitObjCProtocolDecl()
3506 LinkageSpecDecl::Create(Importer.getToContext(), in VisitLinkageSpecDecl()
3598 ProtocolLocs.data(), Importer.getToContext()); in ImportDefinition()
3657 ToIface = ObjCInterfaceDecl::Create(Importer.getToContext(), DC, in VisitObjCInterfaceDecl()
3686 ToImpl = ObjCCategoryImplDecl::Create(Importer.getToContext(), DC, in VisitObjCCategoryImplDecl()
3731 Impl = ObjCImplementationDecl::Create(Importer.getToContext(), in VisitObjCImplementationDecl()
3828 = ObjCPropertyDecl::Create(Importer.getToContext(), DC, Loc, in VisitObjCPropertyDecl()
3886 ToImpl = ObjCPropertyImplDecl::Create(Importer.getToContext(), DC, in VisitObjCPropertyImplDecl()
3939 return TemplateTypeParmDecl::Create(Importer.getToContext(), in VisitTemplateTypeParmDecl()
3940 Importer.getToContext().getTranslationUnitDecl(), in VisitTemplateTypeParmDecl()
3972 return NonTypeTemplateParmDecl::Create(Importer.getToContext(), in VisitNonTypeTemplateParmDecl()
3973 Importer.getToContext().getTranslationUnitDecl(), in VisitNonTypeTemplateParmDecl()
3998 return TemplateTemplateParmDecl::Create(Importer.getToContext(), in VisitTemplateTemplateParmDecl()
3999 Importer.getToContext().getTranslationUnitDecl(), in VisitTemplateTemplateParmDecl()
4068 CXXRecordDecl *D2Templated = CXXRecordDecl::Create(Importer.getToContext(), in VisitClassTemplateDecl()
4082 ClassTemplateDecl *D2 = ClassTemplateDecl::Create(Importer.getToContext(), DC, in VisitClassTemplateDecl()
4167 D2 = ClassTemplateSpecializationDecl::Create(Importer.getToContext(), in VisitClassTemplateSpecializationDecl()
4259 VarDecl *D2Templated = VarDecl::Create(Importer.getToContext(), DC, StartLoc, in VisitVarTemplateDecl()
4280 Importer.getToContext(), DC, Loc, Name, TemplateParams, D2Templated); in VisitVarTemplateDecl()
4369 Importer.getToContext(), DC, StartLoc, IdLoc, VarTemplate, T, TInfo, in VisitVarTemplateSpecializationDecl()
4427 DeclRefExpr *DRE = DeclRefExpr::Create(Importer.getToContext(), in VisitDeclRefExpr()
4446 return IntegerLiteral::Create(Importer.getToContext(), in VisitIntegerLiteral()
4456 return new (Importer.getToContext()) CharacterLiteral(E->getValue(), in VisitCharacterLiteral()
4466 return new (Importer.getToContext()) in VisitParenExpr()
4481 return new (Importer.getToContext()) UnaryOperator(SubExpr, E->getOpcode(), in VisitUnaryOperator()
4496 return new (Importer.getToContext()) UnaryExprOrTypeTraitExpr(E->getKind(), in VisitUnaryExprOrTypeTraitExpr()
4506 return new (Importer.getToContext()) UnaryExprOrTypeTraitExpr(E->getKind(), in VisitUnaryExprOrTypeTraitExpr()
4525 return new (Importer.getToContext()) BinaryOperator(LHS, RHS, E->getOpcode(), in VisitBinaryOperator()
4553 return new (Importer.getToContext()) in VisitCompoundAssignOperator()
4582 return ImplicitCastExpr::Create(Importer.getToContext(), T, E->getCastKind(), in VisitImplicitCastExpr()
4603 return CStyleCastExpr::Create(Importer.getToContext(), T, in VisitCStyleCastExpr()