Lines Matching defs:Import

148     /// (Import of a parent can fail in other ways.)
192 auto ToOrErr = Importer.Import(From);
204 auto ToOrErr = Importer.Import(From);
218 return Importer.Import(From);
221 // Import an std::optional<T> by importing the contained T, if any.
397 /// Import the default subset of the definition, which might be
401 /// Import everything.
403 /// Import only the bare bones needed to establish a valid
674 // Import every item from a container structure into an output container.
748 // Import template arguments.
939 IdentifierInfo *ToFieldName = Importer.Import(D.getFieldName());
1057 // Import Types
1324 // Import argument types
1333 // Import exception types
1667 IdentifierInfo *ToName = Importer.Import(T->getIdentifier());
1684 IdentifierInfo *Name = Importer.Import(T->getIdentifier());
1750 IdentifierInfo *ToIdentifier = Importer.Import(T->getMacroIdentifier());
1873 // Import Declarations
1906 // Import the context of this declaration.
1910 // Import the name of this declaration.
1914 // Import the location of this declaration.
1929 // Import the name of this declaration.
1933 // Import the location of this declaration.
2040 // Import everything that might need reordering first.
2085 // call ASTImporter::Import(). This is because the ExternalASTSource
2118 // Import everything else.
2187 "Import implicit methods to or from non-definition");
2202 if (ExpectedDecl ToTypedefOrErr = Importer.Import(FromTypedef))
2258 // constructed. Import of such AST node is possible during import of the
2460 // Import the context of this declaration.
2465 // Import the location of this declaration.
2525 // Import the context of this declaration.
2571 // Import the major distinguishing characteristics of this namespace.
2654 // Import the major distinguishing characteristics of this namespace.
2675 IdentifierInfo *ToIdentifier = Importer.Import(D->getIdentifier());
2691 // Import the major distinguishing characteristics of this typedef.
2787 // Import the DeclContext and set it to the Typedef.
2815 // Import the major distinguishing characteristics of this typedef.
2874 // Import the major distinguishing characteristics of this label.
2913 // Import the major distinguishing characteristics of this enum.
3015 // Import the definition
3032 // Import the major distinguishing characteristics of this record.
3278 // Import the major distinguishing characteristics of this enumerator.
3423 // Import TemplateArgumentListInfo.
3703 // Import the first part of the decl chain. I.e. import all previous
3712 // Import the major distinguishing characteristics of this function.
3817 // Import additional name location/type info.
3872 // Import the function parameters.
4020 // Import the describing template function, if any.
4027 // Import Ctor initializers.
4031 // Import first, then allocate memory and copy if there was no error.
4060 // Import and set the original type in case we used another type.
4076 // Import the rest of the chain. I.e. import all subsequent declarations.
4108 // Import the major distinguishing characteristics of a variable.
4139 // Import of the FromInitializer may result in the setting of
4194 // Import initializer only after the field was created, it may have recursive
4212 // Import the major distinguishing characteristics of a variable.
4253 // Import the type.
4327 // Import the major distinguishing characteristics of a declaration.
4399 // Import the major distinguishing characteristics of an ivar.
4453 // Import the first part of the decl chain. I.e. import all previous
4462 // Import the major distinguishing characteristics of a variable.
4515 // Import the type.
4591 // Import the described template, if any.
4617 // Import the rest of the chain. I.e. import all subsequent declarations.
4723 // Import the major distinguishing characteristics of a method.
4818 // Import the parameters
4855 // Import the major distinguishing characteristics of a category.
4891 // Import the major distinguishing characteristics of a category.
4930 // Import the type parameter list after MapImported, to avoid
4937 // Import protocols
4965 // Import all of the members of this category.
4993 // Import protocols
5019 // Import all of the members of this protocol.
5038 // Import the major distinguishing characteristics of a protocol.
5321 Importer.Import(D->getInstantiatedFromUsingDecl());
5472 // Import protocols
5498 // Import categories. When the categories themselves are imported, they'll
5515 // Import all of the members of this class.
5561 // Import the major distinguishing characteristics of an @interface.
5599 // Import the type parameter list after MapImported, to avoid
5635 Importer.Import(D->getIdentifier()), Category->getClassInterface(),
5658 // Import the superclass, if any.
5727 // Import all of the members of this @implementation.
5735 // Import the major distinguishing characteristics of an @property.
5826 // Import the ivar (for an @synthesize).
5911 D->getDepth(), D->getIndex(), Importer.Import(D->getIdentifier()),
5916 // Import the type-constraint
5973 // Import the name of this declaration.
5978 // Import the location of this declaration.
5983 // Import template parameters.
6021 // Import the major distinguishing characteristics of this class template.
6152 // Import the context of this declaration.
6157 // Import template arguments.
6169 // Import template parameters.
6188 // Import those default field initializers which have been
6196 // Import those methods which have been instantiated in the
6204 // TODO Import instantiated default arguments.
6205 // TODO Import instantiated exception specifications.
6217 // Import the location of this declaration.
6225 // Import TemplateArgumentListInfo.
6295 // Import the qualifier, if any.
6355 // Import the major distinguishing characteristics of this variable template.
6416 // Import the type.
6467 // Import the first part of the decl chain. I.e. import all previous
6480 // Import the context of this declaration.
6485 // Import the location of this declaration.
6494 // Import template arguments.
6618 // Import the rest of the chain. I.e. import all subsequent declarations.
6733 // Import Statements
6748 IdentifierInfo *ToII = Importer.Import(S->getOutputIdentifier(I));
6755 IdentifierInfo *ToII = Importer.Import(S->getInputIdentifier(I));
7248 // Import Expressions
8020 IdentifierInfo *ToII = Importer.Import(FromNode.getFieldName());
8092 // Import the default arg if it was not imported yet.
8423 const IdentifierInfo *ToII = Importer.Import(FromII);
8475 // Import additional name location/type info.
8553 // Import additional name location/type info.
8605 // Import additional name location/type info.
9040 // Import the decl using ASTNodeImporter.
9050 ASTImporter::Import(ExprWithCleanups::CleanupObject From) {
9052 if (Expected<Expr *> R = Import(CLE))
9061 ExpectedTypePtr ASTImporter::Import(const Type *FromT) {
9071 // Import the type.
9083 Expected<QualType> ASTImporter::Import(QualType FromT) {
9087 ExpectedTypePtr ToTyOrErr = Import(FromT.getTypePtr());
9094 Expected<TypeSourceInfo *> ASTImporter::Import(TypeSourceInfo *FromTSI) {
9100 ExpectedType TOrErr = Import(FromTSI->getType());
9103 ExpectedSLoc BeginLocOrErr = Import(FromTSI->getTypeLoc().getBeginLoc());
9198 const IdentifierInfo *ToAttrName = Importer.Import(FromAttr->getAttrName());
9200 Importer.Import(FromAttr->getScopeName());
9234 ToAttr->setAttrName(Importer.Import(FromAttr->getAttrName()));
9247 Expected<Attr *> ASTImporter::Import(const Attr *FromAttr) {
9270 AI.importAttr(From, Import(From->getType()), From->getFormatIdx(),
9408 auto ToAttrOrErr = Import(FromAttr);
9417 Expected<Decl *> ASTImporter::Import(Decl *FromD) {
9449 // Import the declaration.
9456 // Import failed after the object was created.
9562 ASTImporter::Import(const InheritedConstructor &From) {
9570 ExpectedDecl ToDCOrErr = Import(cast<Decl>(FromDC));
9633 Expected<Expr *> ASTImporter::Import(Expr *FromE) {
9634 if (ExpectedStmt ToSOrErr = Import(cast_or_null<Stmt>(FromE)))
9640 Expected<Stmt *> ASTImporter::Import(Stmt *FromS) {
9649 // Import the statement.
9670 ASTImporter::Import(NestedNameSpecifier *FromNNS) {
9682 Import(FromNNS->getAsIdentifier()));
9685 if (ExpectedDecl NSOrErr = Import(FromNNS->getAsNamespace())) {
9692 if (ExpectedDecl NSADOrErr = Import(FromNNS->getAsNamespaceAlias()))
9702 if (ExpectedDecl RDOrErr = Import(FromNNS->getAsRecordDecl()))
9710 if (ExpectedTypePtr TyOrErr = Import(FromNNS->getAsType())) {
9724 ASTImporter::Import(NestedNameSpecifierLoc FromNNS) {
9795 auto ToSourceRangeOrErr = Import(NNS.getSourceRange());
9809 Expected<TemplateName> ASTImporter::Import(TemplateName From) {
9812 if (ExpectedDecl ToTemplateOrErr = Import(From.getAsTemplateDecl()))
9821 if (auto ToOrErr = Import(I))
9832 auto DeclNameOrErr = Import(FromStorage->getDeclName());
9840 auto QualifierOrErr = Import(QTN->getQualifier());
9843 auto TNOrErr = Import(QTN->getUnderlyingTemplate());
9852 auto QualifierOrErr = Import(DTN->getQualifier());
9858 Import(DTN->getIdentifier()));
9868 auto ReplacementOrErr = Import(Subst->getReplacement());
9872 auto AssociatedDeclOrErr = Import(Subst->getAssociatedDecl());
9890 auto AssociatedDeclOrErr = Import(SubstPack->getAssociatedDecl());
9899 auto UsingOrError = Import(From.getAsUsingShadowDecl());
9909 Expected<SourceLocation> ASTImporter::Import(SourceLocation FromLoc) {
9917 Expected<FileID> ToFileIDOrErr = Import(Decomposed.first, IsBuiltin);
9924 Expected<SourceRange> ASTImporter::Import(SourceRange FromRange) {
9934 Expected<FileID> ASTImporter::Import(FileID FromID, bool IsBuiltin) {
9947 ExpectedSLoc ToSpLoc = Import(FromEx.getSpellingLoc());
9950 ExpectedSLoc ToExLocS = Import(FromEx.getExpansionLocStart());
9958 if (ExpectedSLoc ToExLocE = Import(FromEx.getExpansionLocEnd()))
9970 ExpectedSLoc ToIncludeLoc = Import(FromSLoc.getFile().getIncludeLoc());
10021 Expected<CXXCtorInitializer *> ASTImporter::Import(CXXCtorInitializer *From) {
10022 ExpectedExpr ToExprOrErr = Import(From->getInit());
10026 auto LParenLocOrErr = Import(From->getLParenLoc());
10030 auto RParenLocOrErr = Import(From->getRParenLoc());
10035 auto ToTInfoOrErr = Import(From->getTypeSourceInfo());
10048 ExpectedDecl ToFieldOrErr = Import(From->getMember());
10052 auto MemberLocOrErr = Import(From->getMemberLocation());
10060 ExpectedDecl ToIFieldOrErr = Import(From->getIndirectMember());
10064 auto MemberLocOrErr = Import(From->getMemberLocation());
10072 auto ToTInfoOrErr = Import(From->getTypeSourceInfo());
10086 ASTImporter::Import(const CXXBaseSpecifier *BaseSpec) {
10091 Expected<SourceRange> ToSourceRange = Import(BaseSpec->getSourceRange());
10094 Expected<TypeSourceInfo *> ToTSI = Import(BaseSpec->getTypeSourceInfo());
10097 ExpectedSLoc ToEllipsisLoc = Import(BaseSpec->getEllipsisLoc());
10107 llvm::Expected<APValue> ASTImporter::Import(const APValue &FromValue) {
10113 ExpectedDecl ToOrErr = Import(From);
10155 Expected<DeclarationName> ASTImporter::Import(DeclarationName FromName) {
10161 return DeclarationName(Import(FromName.getAsIdentifierInfo()));
10166 if (auto ToSelOrErr = Import(FromName.getObjCSelector()))
10172 if (auto ToTyOrErr = Import(FromName.getCXXNameType()))
10180 if (auto ToTyOrErr = Import(FromName.getCXXNameType()))
10188 if (auto ToTemplateOrErr = Import(FromName.getCXXDeductionGuideTemplate()))
10196 if (auto ToTyOrErr = Import(FromName.getCXXNameType()))
10209 Import(FromName.getCXXLiteralIdentifier()));
10219 IdentifierInfo *ASTImporter::Import(const IdentifierInfo *FromId) {
10231 Expected<Selector> ASTImporter::Import(Selector FromSel) {
10236 Idents.push_back(Import(FromSel.getIdentifierInfoForSlot(0)));
10238 Idents.push_back(Import(FromSel.getIdentifierInfoForSlot(I)));
10492 if (ExpectedType ToFromOrErr = Import(From)) {