Lines Matching defs:Import
147 /// (Import of a parent can fail in other ways.)
191 auto ToOrErr = Importer.Import(From);
203 auto ToOrErr = Importer.Import(From);
217 return Importer.Import(From);
220 // Import an std::optional<T> by importing the contained T, if any.
435 /// Import the default subset of the definition, which might be
439 /// Import everything.
441 /// Import only the bare bones needed to establish a valid
712 // Import every item from a container structure into an output container.
786 // Import template arguments.
977 IdentifierInfo *ToFieldName = Importer.Import(D.getFieldName());
1095 // Import Types
1366 // Import argument types
1375 // Import exception types
1710 IdentifierInfo *ToName = Importer.Import(T->getIdentifier());
1727 IdentifierInfo *Name = Importer.Import(T->getIdentifier());
1793 IdentifierInfo *ToIdentifier = Importer.Import(T->getMacroIdentifier());
1929 // Import Declarations
1962 // Import the context of this declaration.
1966 // Import the name of this declaration.
1970 // Import the location of this declaration.
1985 // Import the name of this declaration.
1989 // Import the location of this declaration.
2096 // Import everything that might need reordering first.
2141 // call ASTImporter::Import(). This is because the ExternalASTSource
2174 // Import everything else.
2243 "Import implicit methods to or from non-definition");
2258 if (ExpectedDecl ToTypedefOrErr = Importer.Import(FromTypedef))
2314 // constructed. Import of such AST node is possible during import of the
2516 // Import the context of this declaration.
2521 // Import the location of this declaration.
2581 // Import the context of this declaration.
2627 // Import the major distinguishing characteristics of this namespace.
2710 // Import the major distinguishing characteristics of this namespace.
2731 IdentifierInfo *ToIdentifier = Importer.Import(D->getIdentifier());
2747 // Import the major distinguishing characteristics of this typedef.
2843 // Import the DeclContext and set it to the Typedef.
2871 // Import the major distinguishing characteristics of this typedef.
2930 // Import the major distinguishing characteristics of this label.
2969 // Import the major distinguishing characteristics of this enum.
3071 // Import the definition
3088 // Import the major distinguishing characteristics of this record.
3335 // Import the major distinguishing characteristics of this enumerator.
3480 // Import TemplateArgumentListInfo.
3758 // Import the first part of the decl chain. I.e. import all previous
3767 // Import the major distinguishing characteristics of this function.
3872 // Import additional name location/type info.
3927 // Import the function parameters.
4077 // Import the describing template function, if any.
4084 // Import Ctor initializers.
4088 // Import first, then allocate memory and copy if there was no error.
4117 // Import and set the original type in case we used another type.
4133 // Import the rest of the chain. I.e. import all subsequent declarations.
4165 // Import the major distinguishing characteristics of a variable.
4196 // Import of the FromInitializer may result in the setting of
4245 // Import initializer only after the field was created, it may have recursive
4263 // Import the major distinguishing characteristics of a variable.
4304 // Import the type.
4378 // Import the major distinguishing characteristics of a declaration.
4453 // Import the major distinguishing characteristics of an ivar.
4507 // Import the first part of the decl chain. I.e. import all previous
4516 // Import the major distinguishing characteristics of a variable.
4569 // Import the type.
4645 // Import the described template, if any.
4671 // Import the rest of the chain. I.e. import all subsequent declarations.
4781 // Import the major distinguishing characteristics of a method.
4876 // Import the parameters
4913 // Import the major distinguishing characteristics of a category.
4949 // Import the major distinguishing characteristics of a category.
4988 // Import the type parameter list after MapImported, to avoid
4995 // Import protocols
5023 // Import all of the members of this category.
5051 // Import protocols
5077 // Import all of the members of this protocol.
5096 // Import the major distinguishing characteristics of a protocol.
5379 Importer.Import(D->getInstantiatedFromUsingDecl());
5533 // Import protocols
5559 // Import categories. When the categories themselves are imported, they'll
5576 // Import all of the members of this class.
5622 // Import the major distinguishing characteristics of an @interface.
5660 // Import the type parameter list after MapImported, to avoid
5696 Importer.Import(D->getIdentifier()), Category->getClassInterface(),
5719 // Import the superclass, if any.
5788 // Import all of the members of this @implementation.
5796 // Import the major distinguishing characteristics of an @property.
5887 // Import the ivar (for an @synthesize).
5972 D->getDepth(), D->getIndex(), Importer.Import(D->getIdentifier()),
5977 // Import the type-constraint
6025 // Import the name of this declaration.
6030 // Import the location of this declaration.
6035 // Import template parameters.
6068 // Import the major distinguishing characteristics of this class template.
6211 // Import the context of this declaration.
6216 // Import template arguments.
6228 // Import template parameters.
6247 // Import those default field initializers which have been
6255 // Import those methods which have been instantiated in the
6263 // TODO Import instantiated default arguments.
6264 // TODO Import instantiated exception specifications.
6276 // Import the location of this declaration.
6284 // Import TemplateArgumentListInfo.
6354 // Import the qualifier, if any.
6414 // Import the major distinguishing characteristics of this variable template.
6475 // Import the type.
6526 // Import the first part of the decl chain. I.e. import all previous
6539 // Import the context of this declaration.
6544 // Import the location of this declaration.
6553 // Import template arguments.
6677 // Import the rest of the chain. I.e. import all subsequent declarations.
6800 // Import Statements
6815 IdentifierInfo *ToII = Importer.Import(S->getOutputIdentifier(I));
6822 IdentifierInfo *ToII = Importer.Import(S->getInputIdentifier(I));
7315 // Import Expressions
8087 IdentifierInfo *ToII = Importer.Import(FromNode.getFieldName());
8159 // Import the default arg if it was not imported yet.
8490 const IdentifierInfo *ToII = Importer.Import(FromII);
8542 // Import additional name location/type info.
8620 // Import additional name location/type info.
8672 // Import additional name location/type info.
9124 // Import the decl using ASTNodeImporter.
9134 ASTImporter::Import(ExprWithCleanups::CleanupObject From) {
9136 if (Expected<Expr *> R = Import(CLE))
9145 ExpectedTypePtr ASTImporter::Import(const Type *FromT) {
9155 // Import the type.
9167 Expected<QualType> ASTImporter::Import(QualType FromT) {
9171 ExpectedTypePtr ToTyOrErr = Import(FromT.getTypePtr());
9178 Expected<TypeSourceInfo *> ASTImporter::Import(TypeSourceInfo *FromTSI) {
9184 ExpectedType TOrErr = Import(FromTSI->getType());
9187 ExpectedSLoc BeginLocOrErr = Import(FromTSI->getTypeLoc().getBeginLoc());
9282 const IdentifierInfo *ToAttrName = Importer.Import(FromAttr->getAttrName());
9284 Importer.Import(FromAttr->getScopeName());
9318 ToAttr->setAttrName(Importer.Import(FromAttr->getAttrName()));
9331 Expected<Attr *> ASTImporter::Import(const Attr *FromAttr) {
9354 AI.importAttr(From, Import(From->getType()), From->getFormatIdx(),
9488 Expected<Decl *> ASTImporter::Import(Decl *FromD) {
9520 // Import the declaration.
9527 // Import failed after the object was created.
9624 auto ToAttrOrErr = Import(FromAttr);
9640 ASTImporter::Import(const InheritedConstructor &From) {
9648 ExpectedDecl ToDCOrErr = Import(cast<Decl>(FromDC));
9711 Expected<Expr *> ASTImporter::Import(Expr *FromE) {
9712 if (ExpectedStmt ToSOrErr = Import(cast_or_null<Stmt>(FromE)))
9718 Expected<Stmt *> ASTImporter::Import(Stmt *FromS) {
9727 // Import the statement.
9748 ASTImporter::Import(NestedNameSpecifier *FromNNS) {
9760 Import(FromNNS->getAsIdentifier()));
9763 if (ExpectedDecl NSOrErr = Import(FromNNS->getAsNamespace())) {
9770 if (ExpectedDecl NSADOrErr = Import(FromNNS->getAsNamespaceAlias()))
9780 if (ExpectedDecl RDOrErr = Import(FromNNS->getAsRecordDecl()))
9788 if (ExpectedTypePtr TyOrErr = Import(FromNNS->getAsType())) {
9802 ASTImporter::Import(NestedNameSpecifierLoc FromNNS) {
9873 auto ToSourceRangeOrErr = Import(NNS.getSourceRange());
9887 Expected<TemplateName> ASTImporter::Import(TemplateName From) {
9890 if (ExpectedDecl ToTemplateOrErr = Import(From.getAsTemplateDecl()))
9899 if (auto ToOrErr = Import(I))
9910 auto DeclNameOrErr = Import(FromStorage->getDeclName());
9918 auto QualifierOrErr = Import(QTN->getQualifier());
9921 auto TNOrErr = Import(QTN->getUnderlyingTemplate());
9930 auto QualifierOrErr = Import(DTN->getQualifier());
9936 Import(DTN->getIdentifier()));
9946 auto ReplacementOrErr = Import(Subst->getReplacement());
9950 auto AssociatedDeclOrErr = Import(Subst->getAssociatedDecl());
9968 auto AssociatedDeclOrErr = Import(SubstPack->getAssociatedDecl());
9977 auto UsingOrError = Import(From.getAsUsingShadowDecl());
9989 Expected<SourceLocation> ASTImporter::Import(SourceLocation FromLoc) {
9997 Expected<FileID> ToFileIDOrErr = Import(Decomposed.first, IsBuiltin);
10004 Expected<SourceRange> ASTImporter::Import(SourceRange FromRange) {
10014 Expected<FileID> ASTImporter::Import(FileID FromID, bool IsBuiltin) {
10027 ExpectedSLoc ToSpLoc = Import(FromEx.getSpellingLoc());
10030 ExpectedSLoc ToExLocS = Import(FromEx.getExpansionLocStart());
10038 if (ExpectedSLoc ToExLocE = Import(FromEx.getExpansionLocEnd()))
10050 ExpectedSLoc ToIncludeLoc = Import(FromSLoc.getFile().getIncludeLoc());
10101 Expected<CXXCtorInitializer *> ASTImporter::Import(CXXCtorInitializer *From) {
10102 ExpectedExpr ToExprOrErr = Import(From->getInit());
10106 auto LParenLocOrErr = Import(From->getLParenLoc());
10110 auto RParenLocOrErr = Import(From->getRParenLoc());
10115 auto ToTInfoOrErr = Import(From->getTypeSourceInfo());
10128 ExpectedDecl ToFieldOrErr = Import(From->getMember());
10132 auto MemberLocOrErr = Import(From->getMemberLocation());
10140 ExpectedDecl ToIFieldOrErr = Import(From->getIndirectMember());
10144 auto MemberLocOrErr = Import(From->getMemberLocation());
10152 auto ToTInfoOrErr = Import(From->getTypeSourceInfo());
10166 ASTImporter::Import(const CXXBaseSpecifier *BaseSpec) {
10171 Expected<SourceRange> ToSourceRange = Import(BaseSpec->getSourceRange());
10174 Expected<TypeSourceInfo *> ToTSI = Import(BaseSpec->getTypeSourceInfo());
10177 ExpectedSLoc ToEllipsisLoc = Import(BaseSpec->getEllipsisLoc());
10187 llvm::Expected<APValue> ASTImporter::Import(const APValue &FromValue) {
10193 ExpectedDecl ToOrErr = Import(From);
10235 Expected<DeclarationName> ASTImporter::Import(DeclarationName FromName) {
10241 return DeclarationName(Import(FromName.getAsIdentifierInfo()));
10246 if (auto ToSelOrErr = Import(FromName.getObjCSelector()))
10252 if (auto ToTyOrErr = Import(FromName.getCXXNameType()))
10260 if (auto ToTyOrErr = Import(FromName.getCXXNameType()))
10268 if (auto ToTemplateOrErr = Import(FromName.getCXXDeductionGuideTemplate()))
10276 if (auto ToTyOrErr = Import(FromName.getCXXNameType()))
10289 Import(FromName.getCXXLiteralIdentifier()));
10299 IdentifierInfo *ASTImporter::Import(const IdentifierInfo *FromId) {
10311 Expected<Selector> ASTImporter::Import(Selector FromSel) {
10316 Idents.push_back(Import(FromSel.getIdentifierInfoForSlot(0)));
10318 Idents.push_back(Import(FromSel.getIdentifierInfoForSlot(I)));
10572 if (ExpectedType ToFromOrErr = Import(From)) {