clang 17.0.0git
Classes | Public Types | Public Member Functions | List of all members
clang::ASTNodeImporter Class Reference
Inheritance diagram for clang::ASTNodeImporter:
Inheritance graph
[legend]
Collaboration diagram for clang::ASTNodeImporter:
Collaboration graph
[legend]

Public Types

enum  ImportDefinitionKind { IDK_Default , IDK_Everything , IDK_Basic }
 What we should import from the definition. More...
 
using Designator = DesignatedInitExpr::Designator
 
using TemplateArgsTy = SmallVector< TemplateArgument, 8 >
 
using FunctionTemplateAndArgsTy = std::tuple< FunctionTemplateDecl *, TemplateArgsTy >
 

Public Member Functions

 ASTNodeImporter (ASTImporter &Importer)
 
ExpectedType VisitType (const Type *T)
 
ExpectedType VisitAtomicType (const AtomicType *T)
 
ExpectedType VisitBuiltinType (const BuiltinType *T)
 
ExpectedType VisitDecayedType (const DecayedType *T)
 
ExpectedType VisitComplexType (const ComplexType *T)
 
ExpectedType VisitPointerType (const PointerType *T)
 
ExpectedType VisitBlockPointerType (const BlockPointerType *T)
 
ExpectedType VisitLValueReferenceType (const LValueReferenceType *T)
 
ExpectedType VisitRValueReferenceType (const RValueReferenceType *T)
 
ExpectedType VisitMemberPointerType (const MemberPointerType *T)
 
ExpectedType VisitConstantArrayType (const ConstantArrayType *T)
 
ExpectedType VisitIncompleteArrayType (const IncompleteArrayType *T)
 
ExpectedType VisitVariableArrayType (const VariableArrayType *T)
 
ExpectedType VisitDependentSizedArrayType (const DependentSizedArrayType *T)
 
ExpectedType VisitVectorType (const VectorType *T)
 
ExpectedType VisitExtVectorType (const ExtVectorType *T)
 
ExpectedType VisitFunctionNoProtoType (const FunctionNoProtoType *T)
 
ExpectedType VisitFunctionProtoType (const FunctionProtoType *T)
 
ExpectedType VisitUnresolvedUsingType (const UnresolvedUsingType *T)
 
ExpectedType VisitParenType (const ParenType *T)
 
ExpectedType VisitTypedefType (const TypedefType *T)
 
ExpectedType VisitTypeOfExprType (const TypeOfExprType *T)
 
ExpectedType VisitTypeOfType (const TypeOfType *T)
 
ExpectedType VisitUsingType (const UsingType *T)
 
ExpectedType VisitDecltypeType (const DecltypeType *T)
 
ExpectedType VisitUnaryTransformType (const UnaryTransformType *T)
 
ExpectedType VisitAutoType (const AutoType *T)
 
ExpectedType VisitDeducedTemplateSpecializationType (const DeducedTemplateSpecializationType *T)
 
ExpectedType VisitInjectedClassNameType (const InjectedClassNameType *T)
 
ExpectedType VisitRecordType (const RecordType *T)
 
ExpectedType VisitEnumType (const EnumType *T)
 
ExpectedType VisitAttributedType (const AttributedType *T)
 
ExpectedType VisitTemplateTypeParmType (const TemplateTypeParmType *T)
 
ExpectedType VisitSubstTemplateTypeParmType (const SubstTemplateTypeParmType *T)
 
ExpectedType VisitSubstTemplateTypeParmPackType (const SubstTemplateTypeParmPackType *T)
 
ExpectedType VisitTemplateSpecializationType (const TemplateSpecializationType *T)
 
ExpectedType VisitElaboratedType (const ElaboratedType *T)
 
ExpectedType VisitDependentNameType (const DependentNameType *T)
 
ExpectedType VisitPackExpansionType (const PackExpansionType *T)
 
ExpectedType VisitDependentTemplateSpecializationType (const DependentTemplateSpecializationType *T)
 
ExpectedType VisitObjCInterfaceType (const ObjCInterfaceType *T)
 
ExpectedType VisitObjCObjectType (const ObjCObjectType *T)
 
ExpectedType VisitObjCObjectPointerType (const ObjCObjectPointerType *T)
 
Error ImportDeclParts (NamedDecl *D, DeclarationName &Name, NamedDecl *&ToD, SourceLocation &Loc)
 
Error ImportDeclParts (NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC, DeclarationName &Name, NamedDecl *&ToD, SourceLocation &Loc)
 
Error ImportDefinitionIfNeeded (Decl *FromD, Decl *ToD=nullptr)
 
Error ImportDeclarationNameLoc (const DeclarationNameInfo &From, DeclarationNameInfo &To)
 
Error ImportDeclContext (DeclContext *FromDC, bool ForceImport=false)
 
Error ImportDeclContext (Decl *From, DeclContext *&ToDC, DeclContext *&ToLexicalDC)
 
Error ImportImplicitMethods (const CXXRecordDecl *From, CXXRecordDecl *To)
 
Expected< CXXCastPathImportCastPath (CastExpr *E)
 
Expected< APValueImportAPValue (const APValue &FromValue)
 
bool shouldForceImportDeclContext (ImportDefinitionKind IDK)
 
Error ImportInitializer (VarDecl *From, VarDecl *To)
 
Error ImportDefinition (RecordDecl *From, RecordDecl *To, ImportDefinitionKind Kind=IDK_Default)
 
Error ImportDefinition (EnumDecl *From, EnumDecl *To, ImportDefinitionKind Kind=IDK_Default)
 
Error ImportDefinition (ObjCInterfaceDecl *From, ObjCInterfaceDecl *To, ImportDefinitionKind Kind=IDK_Default)
 
Error ImportDefinition (ObjCProtocolDecl *From, ObjCProtocolDecl *To, ImportDefinitionKind Kind=IDK_Default)
 
Error ImportTemplateArguments (ArrayRef< TemplateArgument > FromArgs, SmallVectorImpl< TemplateArgument > &ToArgs)
 
Expected< TemplateArgumentImportTemplateArgument (const TemplateArgument &From)
 
template<typename InContainerTy >
Error ImportTemplateArgumentListInfo (const InContainerTy &Container, TemplateArgumentListInfo &ToTAInfo)
 
template<typename InContainerTy >
Error ImportTemplateArgumentListInfo (SourceLocation FromLAngleLoc, SourceLocation FromRAngleLoc, const InContainerTy &Container, TemplateArgumentListInfo &Result)
 
Expected< FunctionTemplateAndArgsTyImportFunctionTemplateWithTemplateArgsFromSpecialization (FunctionDecl *FromFD)
 
Error ImportTemplateParameterLists (const DeclaratorDecl *FromD, DeclaratorDecl *ToD)
 
Error ImportTemplateInformation (FunctionDecl *FromFD, FunctionDecl *ToFD)
 
Error ImportFunctionDeclBody (FunctionDecl *FromFD, FunctionDecl *ToFD)
 
Error ImportDefaultArgOfParmVarDecl (const ParmVarDecl *FromParam, ParmVarDecl *ToParam)
 
Expected< InheritedConstructorImportInheritedConstructor (const InheritedConstructor &From)
 
template<typename T >
bool hasSameVisibilityContextAndLinkage (T *Found, T *From)
 
bool IsStructuralMatch (Decl *From, Decl *To, bool Complain=true)
 
ExpectedDecl VisitDecl (Decl *D)
 
ExpectedDecl VisitImportDecl (ImportDecl *D)
 
ExpectedDecl VisitEmptyDecl (EmptyDecl *D)
 
ExpectedDecl VisitAccessSpecDecl (AccessSpecDecl *D)
 
ExpectedDecl VisitStaticAssertDecl (StaticAssertDecl *D)
 
ExpectedDecl VisitTranslationUnitDecl (TranslationUnitDecl *D)
 
ExpectedDecl VisitBindingDecl (BindingDecl *D)
 
ExpectedDecl VisitNamespaceDecl (NamespaceDecl *D)
 
ExpectedDecl VisitNamespaceAliasDecl (NamespaceAliasDecl *D)
 
ExpectedDecl VisitTypedefNameDecl (TypedefNameDecl *D, bool IsAlias)
 
ExpectedDecl VisitTypedefDecl (TypedefDecl *D)
 
ExpectedDecl VisitTypeAliasDecl (TypeAliasDecl *D)
 
ExpectedDecl VisitTypeAliasTemplateDecl (TypeAliasTemplateDecl *D)
 
ExpectedDecl VisitLabelDecl (LabelDecl *D)
 
ExpectedDecl VisitEnumDecl (EnumDecl *D)
 
ExpectedDecl VisitRecordDecl (RecordDecl *D)
 
ExpectedDecl VisitEnumConstantDecl (EnumConstantDecl *D)
 
ExpectedDecl VisitFunctionDecl (FunctionDecl *D)
 
ExpectedDecl VisitCXXMethodDecl (CXXMethodDecl *D)
 
ExpectedDecl VisitCXXConstructorDecl (CXXConstructorDecl *D)
 
ExpectedDecl VisitCXXDestructorDecl (CXXDestructorDecl *D)
 
ExpectedDecl VisitCXXConversionDecl (CXXConversionDecl *D)
 
ExpectedDecl VisitCXXDeductionGuideDecl (CXXDeductionGuideDecl *D)
 
ExpectedDecl VisitFieldDecl (FieldDecl *D)
 
ExpectedDecl VisitIndirectFieldDecl (IndirectFieldDecl *D)
 
ExpectedDecl VisitFriendDecl (FriendDecl *D)
 
ExpectedDecl VisitObjCIvarDecl (ObjCIvarDecl *D)
 
ExpectedDecl VisitVarDecl (VarDecl *D)
 
ExpectedDecl VisitImplicitParamDecl (ImplicitParamDecl *D)
 
ExpectedDecl VisitParmVarDecl (ParmVarDecl *D)
 
ExpectedDecl VisitObjCMethodDecl (ObjCMethodDecl *D)
 
ExpectedDecl VisitObjCTypeParamDecl (ObjCTypeParamDecl *D)
 
ExpectedDecl VisitObjCCategoryDecl (ObjCCategoryDecl *D)
 
ExpectedDecl VisitObjCProtocolDecl (ObjCProtocolDecl *D)
 
ExpectedDecl VisitLinkageSpecDecl (LinkageSpecDecl *D)
 
ExpectedDecl VisitUsingDecl (UsingDecl *D)
 
ExpectedDecl VisitUsingShadowDecl (UsingShadowDecl *D)
 
ExpectedDecl VisitUsingDirectiveDecl (UsingDirectiveDecl *D)
 
ExpectedDecl VisitUsingPackDecl (UsingPackDecl *D)
 
ExpectedDecl ImportUsingShadowDecls (BaseUsingDecl *D, BaseUsingDecl *ToSI)
 
ExpectedDecl VisitUsingEnumDecl (UsingEnumDecl *D)
 
ExpectedDecl VisitUnresolvedUsingValueDecl (UnresolvedUsingValueDecl *D)
 
ExpectedDecl VisitUnresolvedUsingTypenameDecl (UnresolvedUsingTypenameDecl *D)
 
ExpectedDecl VisitBuiltinTemplateDecl (BuiltinTemplateDecl *D)
 
ExpectedDecl VisitLifetimeExtendedTemporaryDecl (LifetimeExtendedTemporaryDecl *D)
 
Expected< ObjCTypeParamList * > ImportObjCTypeParamList (ObjCTypeParamList *list)
 
ExpectedDecl VisitObjCInterfaceDecl (ObjCInterfaceDecl *D)
 
ExpectedDecl VisitObjCCategoryImplDecl (ObjCCategoryImplDecl *D)
 
ExpectedDecl VisitObjCImplementationDecl (ObjCImplementationDecl *D)
 
ExpectedDecl VisitObjCPropertyDecl (ObjCPropertyDecl *D)
 
ExpectedDecl VisitObjCPropertyImplDecl (ObjCPropertyImplDecl *D)
 
ExpectedDecl VisitTemplateTypeParmDecl (TemplateTypeParmDecl *D)
 
ExpectedDecl VisitNonTypeTemplateParmDecl (NonTypeTemplateParmDecl *D)
 
ExpectedDecl VisitTemplateTemplateParmDecl (TemplateTemplateParmDecl *D)
 
ExpectedDecl VisitClassTemplateDecl (ClassTemplateDecl *D)
 
ExpectedDecl VisitClassTemplateSpecializationDecl (ClassTemplateSpecializationDecl *D)
 
ExpectedDecl VisitVarTemplateDecl (VarTemplateDecl *D)
 
ExpectedDecl VisitVarTemplateSpecializationDecl (VarTemplateSpecializationDecl *D)
 
ExpectedDecl VisitFunctionTemplateDecl (FunctionTemplateDecl *D)
 
ExpectedStmt VisitStmt (Stmt *S)
 
ExpectedStmt VisitGCCAsmStmt (GCCAsmStmt *S)
 
ExpectedStmt VisitDeclStmt (DeclStmt *S)
 
ExpectedStmt VisitNullStmt (NullStmt *S)
 
ExpectedStmt VisitCompoundStmt (CompoundStmt *S)
 
ExpectedStmt VisitCaseStmt (CaseStmt *S)
 
ExpectedStmt VisitDefaultStmt (DefaultStmt *S)
 
ExpectedStmt VisitLabelStmt (LabelStmt *S)
 
ExpectedStmt VisitAttributedStmt (AttributedStmt *S)
 
ExpectedStmt VisitIfStmt (IfStmt *S)
 
ExpectedStmt VisitSwitchStmt (SwitchStmt *S)
 
ExpectedStmt VisitWhileStmt (WhileStmt *S)
 
ExpectedStmt VisitDoStmt (DoStmt *S)
 
ExpectedStmt VisitForStmt (ForStmt *S)
 
ExpectedStmt VisitGotoStmt (GotoStmt *S)
 
ExpectedStmt VisitIndirectGotoStmt (IndirectGotoStmt *S)
 
ExpectedStmt VisitContinueStmt (ContinueStmt *S)
 
ExpectedStmt VisitBreakStmt (BreakStmt *S)
 
ExpectedStmt VisitReturnStmt (ReturnStmt *S)
 
ExpectedStmt VisitCXXCatchStmt (CXXCatchStmt *S)
 
ExpectedStmt VisitCXXTryStmt (CXXTryStmt *S)
 
ExpectedStmt VisitCXXForRangeStmt (CXXForRangeStmt *S)
 
ExpectedStmt VisitObjCForCollectionStmt (ObjCForCollectionStmt *S)
 
ExpectedStmt VisitObjCAtCatchStmt (ObjCAtCatchStmt *S)
 
ExpectedStmt VisitObjCAtFinallyStmt (ObjCAtFinallyStmt *S)
 
ExpectedStmt VisitObjCAtTryStmt (ObjCAtTryStmt *S)
 
ExpectedStmt VisitObjCAtSynchronizedStmt (ObjCAtSynchronizedStmt *S)
 
ExpectedStmt VisitObjCAtThrowStmt (ObjCAtThrowStmt *S)
 
ExpectedStmt VisitObjCAutoreleasePoolStmt (ObjCAutoreleasePoolStmt *S)
 
ExpectedStmt VisitExpr (Expr *E)
 
ExpectedStmt VisitSourceLocExpr (SourceLocExpr *E)
 
ExpectedStmt VisitVAArgExpr (VAArgExpr *E)
 
ExpectedStmt VisitChooseExpr (ChooseExpr *E)
 
ExpectedStmt VisitShuffleVectorExpr (ShuffleVectorExpr *E)
 
ExpectedStmt VisitGNUNullExpr (GNUNullExpr *E)
 
ExpectedStmt VisitGenericSelectionExpr (GenericSelectionExpr *E)
 
ExpectedStmt VisitPredefinedExpr (PredefinedExpr *E)
 
ExpectedStmt VisitDeclRefExpr (DeclRefExpr *E)
 
ExpectedStmt VisitImplicitValueInitExpr (ImplicitValueInitExpr *E)
 
ExpectedStmt VisitDesignatedInitExpr (DesignatedInitExpr *E)
 
ExpectedStmt VisitCXXNullPtrLiteralExpr (CXXNullPtrLiteralExpr *E)
 
ExpectedStmt VisitIntegerLiteral (IntegerLiteral *E)
 
ExpectedStmt VisitFloatingLiteral (FloatingLiteral *E)
 
ExpectedStmt VisitImaginaryLiteral (ImaginaryLiteral *E)
 
ExpectedStmt VisitFixedPointLiteral (FixedPointLiteral *E)
 
ExpectedStmt VisitCharacterLiteral (CharacterLiteral *E)
 
ExpectedStmt VisitStringLiteral (StringLiteral *E)
 
ExpectedStmt VisitCompoundLiteralExpr (CompoundLiteralExpr *E)
 
ExpectedStmt VisitAtomicExpr (AtomicExpr *E)
 
ExpectedStmt VisitAddrLabelExpr (AddrLabelExpr *E)
 
ExpectedStmt VisitConstantExpr (ConstantExpr *E)
 
ExpectedStmt VisitParenExpr (ParenExpr *E)
 
ExpectedStmt VisitParenListExpr (ParenListExpr *E)
 
ExpectedStmt VisitStmtExpr (StmtExpr *E)
 
ExpectedStmt VisitUnaryOperator (UnaryOperator *E)
 
ExpectedStmt VisitUnaryExprOrTypeTraitExpr (UnaryExprOrTypeTraitExpr *E)
 
ExpectedStmt VisitBinaryOperator (BinaryOperator *E)
 
ExpectedStmt VisitConditionalOperator (ConditionalOperator *E)
 
ExpectedStmt VisitBinaryConditionalOperator (BinaryConditionalOperator *E)
 
ExpectedStmt VisitOpaqueValueExpr (OpaqueValueExpr *E)
 
ExpectedStmt VisitArrayTypeTraitExpr (ArrayTypeTraitExpr *E)
 
ExpectedStmt VisitExpressionTraitExpr (ExpressionTraitExpr *E)
 
ExpectedStmt VisitArraySubscriptExpr (ArraySubscriptExpr *E)
 
ExpectedStmt VisitCompoundAssignOperator (CompoundAssignOperator *E)
 
ExpectedStmt VisitImplicitCastExpr (ImplicitCastExpr *E)
 
ExpectedStmt VisitExplicitCastExpr (ExplicitCastExpr *E)
 
ExpectedStmt VisitOffsetOfExpr (OffsetOfExpr *OE)
 
ExpectedStmt VisitCXXThrowExpr (CXXThrowExpr *E)
 
ExpectedStmt VisitCXXNoexceptExpr (CXXNoexceptExpr *E)
 
ExpectedStmt VisitCXXDefaultArgExpr (CXXDefaultArgExpr *E)
 
ExpectedStmt VisitCXXScalarValueInitExpr (CXXScalarValueInitExpr *E)
 
ExpectedStmt VisitCXXBindTemporaryExpr (CXXBindTemporaryExpr *E)
 
ExpectedStmt VisitCXXTemporaryObjectExpr (CXXTemporaryObjectExpr *E)
 
ExpectedStmt VisitMaterializeTemporaryExpr (MaterializeTemporaryExpr *E)
 
ExpectedStmt VisitPackExpansionExpr (PackExpansionExpr *E)
 
ExpectedStmt VisitSizeOfPackExpr (SizeOfPackExpr *E)
 
ExpectedStmt VisitCXXNewExpr (CXXNewExpr *E)
 
ExpectedStmt VisitCXXDeleteExpr (CXXDeleteExpr *E)
 
ExpectedStmt VisitCXXConstructExpr (CXXConstructExpr *E)
 
ExpectedStmt VisitCXXMemberCallExpr (CXXMemberCallExpr *E)
 
ExpectedStmt VisitCXXDependentScopeMemberExpr (CXXDependentScopeMemberExpr *E)
 
ExpectedStmt VisitDependentScopeDeclRefExpr (DependentScopeDeclRefExpr *E)
 
ExpectedStmt VisitCXXUnresolvedConstructExpr (CXXUnresolvedConstructExpr *E)
 
ExpectedStmt VisitUnresolvedLookupExpr (UnresolvedLookupExpr *E)
 
ExpectedStmt VisitUnresolvedMemberExpr (UnresolvedMemberExpr *E)
 
ExpectedStmt VisitExprWithCleanups (ExprWithCleanups *E)
 
ExpectedStmt VisitCXXThisExpr (CXXThisExpr *E)
 
ExpectedStmt VisitCXXBoolLiteralExpr (CXXBoolLiteralExpr *E)
 
ExpectedStmt VisitCXXPseudoDestructorExpr (CXXPseudoDestructorExpr *E)
 
ExpectedStmt VisitMemberExpr (MemberExpr *E)
 
ExpectedStmt VisitCallExpr (CallExpr *E)
 
ExpectedStmt VisitLambdaExpr (LambdaExpr *LE)
 
ExpectedStmt VisitInitListExpr (InitListExpr *E)
 
ExpectedStmt VisitCXXStdInitializerListExpr (CXXStdInitializerListExpr *E)
 
ExpectedStmt VisitCXXInheritedCtorInitExpr (CXXInheritedCtorInitExpr *E)
 
ExpectedStmt VisitArrayInitLoopExpr (ArrayInitLoopExpr *E)
 
ExpectedStmt VisitArrayInitIndexExpr (ArrayInitIndexExpr *E)
 
ExpectedStmt VisitCXXDefaultInitExpr (CXXDefaultInitExpr *E)
 
ExpectedStmt VisitCXXNamedCastExpr (CXXNamedCastExpr *E)
 
ExpectedStmt VisitSubstNonTypeTemplateParmExpr (SubstNonTypeTemplateParmExpr *E)
 
ExpectedStmt VisitTypeTraitExpr (TypeTraitExpr *E)
 
ExpectedStmt VisitCXXTypeidExpr (CXXTypeidExpr *E)
 
ExpectedStmt VisitCXXFoldExpr (CXXFoldExpr *E)
 
template<typename T >
importChecked (Error &Err, const T &From)
 
template<typename IIter , typename OIter >
Error ImportArrayChecked (IIter Ibegin, IIter Iend, OIter Obegin)
 
template<typename InContainerTy , typename OutContainerTy >
Error ImportContainerChecked (const InContainerTy &InContainer, OutContainerTy &OutContainer)
 
template<typename InContainerTy , typename OIter >
Error ImportArrayChecked (const InContainerTy &InContainer, OIter Obegin)
 
Error ImportOverriddenMethods (CXXMethodDecl *ToMethod, CXXMethodDecl *FromMethod)
 
Expected< FunctionDecl * > FindFunctionTemplateSpecialization (FunctionDecl *FromFD)
 
bool hasAutoReturnTypeDeclaredInside (FunctionDecl *D)
 
template<>
Error ImportTemplateArgumentListInfo (const TemplateArgumentListInfo &From, TemplateArgumentListInfo &Result)
 
template<>
Error ImportTemplateArgumentListInfo (const ASTTemplateArgumentListInfo &From, TemplateArgumentListInfo &Result)
 
template<>
Expected< TemplateParameterList * > import (TemplateParameterList *From)
 
template<>
Expected< TemplateArgumentimport (const TemplateArgument &From)
 
template<>
Expected< TemplateArgumentLocimport (const TemplateArgumentLoc &TALoc)
 
template<>
Expected< DeclGroupRefimport (const DeclGroupRef &DG)
 
template<>
Expected< ASTNodeImporter::Designatorimport (const Designator &D)
 
template<>
Expected< LambdaCaptureimport (const LambdaCapture &From)
 
template<>
bool hasSameVisibilityContextAndLinkage (TypedefNameDecl *Found, TypedefNameDecl *From)
 
- Public Member Functions inherited from clang::TypeVisitor< ASTNodeImporter, ExpectedType >
ExpectedType Visit (const Type *T)
 Performs the operation associated with this visitor object.
 
ExpectedType VisitType (const Type *)
 Method called if ImpClass doesn't provide specific handler for some type class.
 
- Public Member Functions inherited from clang::declvisitor::Base< Ptr, ImplClass, RetTy >
RetTy Visit (PTR(Decl) D)
 
RetTy VisitDecl (PTR(Decl) D)
 
- Public Member Functions inherited from clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >
RetTy Visit (PTR(Stmt) S, ParamTys... P)
 
 BINOP_FALLBACK (PtrMemD) BINOP_FALLBACK(PtrMemI) BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl) BINOP_FALLBACK(LT) BINOP_FALLBACK(GT) BINOP_FALLBACK(LE) BINOP_FALLBACK(GE) BINOP_FALLBACK(EQ) BINOP_FALLBACK(NE) BINOP_FALLBACK(And) BINOP_FALLBACK(Xor) BINOP_FALLBACK(Or) BINOP_FALLBACK(LAnd) BINOP_FALLBACK(LOr) CAO_FALLBACK(MulAssign) CAO_FALLBACK(DivAssign) CAO_FALLBACK(RemAssign) CAO_FALLBACK(AddAssign) CAO_FALLBACK(SubAssign) CAO_FALLBACK(ShlAssign) CAO_FALLBACK(ShrAssign) CAO_FALLBACK(AndAssign) CAO_FALLBACK(OrAssign) UNARYOP_FALLBACK(PostInc) UNARYOP_FALLBACK(PostDec) UNARYOP_FALLBACK(PreInc) UNARYOP_FALLBACK(PreDec) UNARYOP_FALLBACK(AddrOf) UNARYOP_FALLBACK(Deref) UNARYOP_FALLBACK(Plus) UNARYOP_FALLBACK(Minus) UNARYOP_FALLBACK(Not) UNARYOP_FALLBACK(LNot) UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag) UNARYOP_FALLBACK(Extension) UNARYOP_FALLBACK(Coawait) RetTy VisitStmt(PTR(Stmt) Node
 

Additional Inherited Members

- Public Attributes inherited from clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >
ParamTys P { return RetTy()
 

Detailed Description

Definition at line 178 of file ASTImporter.cpp.

Member Typedef Documentation

◆ Designator

Definition at line 439 of file ASTImporter.cpp.

◆ FunctionTemplateAndArgsTy

Definition at line 487 of file ASTImporter.cpp.

◆ TemplateArgsTy

Definition at line 486 of file ASTImporter.cpp.

Member Enumeration Documentation

◆ ImportDefinitionKind

What we should import from the definition.

Enumerator
IDK_Default 

Import the default subset of the definition, which might be nothing (if minimal import is set) or might be everything (if minimal import is not set).

IDK_Everything 

Import everything.

IDK_Basic 

Import only the bare bones needed to establish a valid DeclContext.

Definition at line 442 of file ASTImporter.cpp.

Constructor & Destructor Documentation

◆ ASTNodeImporter()

clang::ASTNodeImporter::ASTNodeImporter ( ASTImporter Importer)
inlineexplicit

Definition at line 363 of file ASTImporter.cpp.

Member Function Documentation

◆ FindFunctionTemplateSpecialization()

Expected< FunctionDecl * > ASTNodeImporter::FindFunctionTemplateSpecialization ( FunctionDecl FromFD)

◆ hasAutoReturnTypeDeclaredInside()

bool ASTNodeImporter::hasAutoReturnTypeDeclaredInside ( FunctionDecl D)

◆ hasSameVisibilityContextAndLinkage() [1/2]

template<typename T >
bool clang::ASTNodeImporter::hasSameVisibilityContextAndLinkage ( T *  Found,
T *  From 
)

◆ hasSameVisibilityContextAndLinkage() [2/2]

template<>
bool clang::ASTNodeImporter::hasSameVisibilityContextAndLinkage ( TypedefNameDecl Found,
TypedefNameDecl From 
)

◆ import() [1/6]

template<>
Expected< DeclGroupRef > clang::ASTNodeImporter::import ( const DeclGroupRef DG)

◆ import() [2/6]

template<>
Expected< ASTNodeImporter::Designator > clang::ASTNodeImporter::import ( const Designator D)

◆ import() [3/6]

template<>
Expected< LambdaCapture > clang::ASTNodeImporter::import ( const LambdaCapture From)

◆ import() [4/6]

template<>
Expected< TemplateArgument > clang::ASTNodeImporter::import ( const TemplateArgument From)

◆ import() [5/6]

template<>
Expected< TemplateArgumentLoc > clang::ASTNodeImporter::import ( const TemplateArgumentLoc TALoc)

◆ import() [6/6]

template<>
Expected< TemplateParameterList * > clang::ASTNodeImporter::import ( TemplateParameterList From)

◆ ImportAPValue()

llvm::Expected< APValue > ASTNodeImporter::ImportAPValue ( const APValue FromValue)

Definition at line 9830 of file ASTImporter.cpp.

References clang::APValue::AddrLabelDiff, clang::APValue::Array, clang::APValue::LValuePathEntry::ArrayIndex(), clang::APValue::ComplexFloat, clang::APValue::ComplexInt, clang::APValue::LValueBase::dyn_cast(), clang::APValue::FixedPoint, clang::APValue::Float, FromDecl, clang::APValue::LValueBase::get(), clang::APValue::getAddrLabelDiffLHS(), clang::APValue::getAddrLabelDiffRHS(), clang::APValue::getArrayInitializedElts(), clang::APValue::getArraySize(), clang::ASTContext::getAsArrayType(), clang::APValue::LValueBase::getCallIndex(), clang::Decl::getCanonicalDecl(), clang::ArrayType::getElementType(), clang::APValue::getKind(), clang::APValue::getLValueBase(), clang::APValue::getLValueOffset(), clang::APValue::getLValuePath(), clang::APValue::getMemberPointerDecl(), clang::APValue::getMemberPointerPath(), clang::ASTContext::getRecordType(), clang::APValue::getStructNumBases(), clang::APValue::getStructNumFields(), clang::TypeInfoLValue::getType(), clang::APValue::LValueBase::getTypeInfo(), clang::APValue::LValueBase::getTypeInfoType(), clang::APValue::getUnionField(), clang::APValue::getUnionValue(), clang::APValue::getVectorLength(), clang::APValue::LValueBase::getVersion(), clang::APValue::hasLValuePath(), importChecked(), clang::APValue::Indeterminate, clang::APValue::Int, clang::APValue::LValueBase::is(), clang::APValue::isLValueOnePastTheEnd(), clang::APValue::isMemberPointerToDerivedMember(), clang::APValue::isNullPointer(), clang::Type::isRecordType(), clang::APValue::LValue, clang::APValue::MemberPointer, clang::APValue::None, Offset, clang::Result, clang::APValue::Struct, clang::APValue::Union, and clang::APValue::Vector.

Referenced by clang::ASTImporter::Import().

◆ ImportArrayChecked() [1/2]

template<typename InContainerTy , typename OIter >
Error clang::ASTNodeImporter::ImportArrayChecked ( const InContainerTy &  InContainer,
OIter  Obegin 
)
inline

Definition at line 728 of file ASTImporter.cpp.

References ImportArrayChecked().

◆ ImportArrayChecked() [2/2]

template<typename IIter , typename OIter >
Error clang::ASTNodeImporter::ImportArrayChecked ( IIter  Ibegin,
IIter  Iend,
OIter  Obegin 
)
inline

◆ ImportCastPath()

Expected< CXXCastPath > ASTNodeImporter::ImportCastPath ( CastExpr E)

◆ importChecked()

template<typename T >
T clang::ASTNodeImporter::importChecked ( Error &  Err,
const T &  From 
)
inline

Definition at line 692 of file ASTImporter.cpp.

Referenced by ImportAPValue(), ImportInheritedConstructor(), VisitAddrLabelExpr(), VisitArrayInitLoopExpr(), VisitArraySubscriptExpr(), VisitArrayTypeTraitExpr(), VisitAtomicExpr(), VisitBinaryConditionalOperator(), VisitBinaryOperator(), VisitBindingDecl(), VisitCallExpr(), VisitCaseStmt(), VisitChooseExpr(), VisitCompoundAssignOperator(), VisitCompoundLiteralExpr(), VisitConditionalOperator(), VisitConstantArrayType(), VisitConstantExpr(), VisitCXXCatchStmt(), VisitCXXConstructExpr(), VisitCXXDeleteExpr(), VisitCXXDependentScopeMemberExpr(), VisitCXXFoldExpr(), VisitCXXForRangeStmt(), VisitCXXInheritedCtorInitExpr(), VisitCXXMemberCallExpr(), VisitCXXNamedCastExpr(), VisitCXXNewExpr(), VisitCXXNoexceptExpr(), VisitCXXPseudoDestructorExpr(), VisitCXXScalarValueInitExpr(), VisitCXXTemporaryObjectExpr(), VisitCXXThrowExpr(), VisitCXXUnresolvedConstructExpr(), VisitDeclRefExpr(), VisitDeclStmt(), VisitDefaultStmt(), VisitDependentScopeDeclRefExpr(), VisitDependentSizedArrayType(), VisitDoStmt(), VisitEnumDecl(), VisitExplicitCastExpr(), VisitExpressionTraitExpr(), VisitFieldDecl(), VisitForStmt(), VisitFunctionDecl(), VisitFunctionProtoType(), VisitGenericSelectionExpr(), VisitGotoStmt(), VisitIfStmt(), VisitImplicitParamDecl(), VisitIndirectGotoStmt(), VisitInitListExpr(), VisitLabelStmt(), VisitLambdaExpr(), VisitLifetimeExtendedTemporaryDecl(), VisitMaterializeTemporaryExpr(), VisitMemberExpr(), VisitNamespaceAliasDecl(), VisitNonTypeTemplateParmDecl(), VisitObjCAtCatchStmt(), VisitObjCAtSynchronizedStmt(), VisitObjCAtTryStmt(), VisitObjCCategoryDecl(), VisitObjCCategoryImplDecl(), VisitObjCForCollectionStmt(), VisitObjCImplementationDecl(), VisitObjCIvarDecl(), VisitObjCMethodDecl(), VisitObjCPropertyDecl(), VisitObjCPropertyImplDecl(), VisitObjCTypeParamDecl(), VisitOffsetOfExpr(), VisitOpaqueValueExpr(), VisitPackExpansionExpr(), VisitParenExpr(), VisitParmVarDecl(), VisitPredefinedExpr(), VisitReturnStmt(), VisitShuffleVectorExpr(), VisitSizeOfPackExpr(), VisitSourceLocExpr(), VisitStaticAssertDecl(), VisitStmtExpr(), VisitSubstNonTypeTemplateParmExpr(), VisitSwitchStmt(), VisitTemplateTypeParmDecl(), VisitTypeAliasTemplateDecl(), VisitTypedefNameDecl(), VisitTypeTraitExpr(), VisitUnaryExprOrTypeTraitExpr(), VisitUnaryOperator(), VisitUnresolvedLookupExpr(), VisitUnresolvedMemberExpr(), VisitUnresolvedUsingType(), VisitUnresolvedUsingTypenameDecl(), VisitUnresolvedUsingValueDecl(), VisitUsingDecl(), VisitUsingDirectiveDecl(), VisitUsingEnumDecl(), VisitUsingShadowDecl(), VisitVAArgExpr(), VisitVarDecl(), VisitVariableArrayType(), and VisitWhileStmt().

◆ ImportContainerChecked()

template<typename InContainerTy , typename OutContainerTy >
Error clang::ASTNodeImporter::ImportContainerChecked ( const InContainerTy &  InContainer,
OutContainerTy &  OutContainer 
)
inline

◆ ImportDeclarationNameLoc()

Error ASTNodeImporter::ImportDeclarationNameLoc ( const DeclarationNameInfo From,
DeclarationNameInfo To 
)

◆ ImportDeclContext() [1/2]

Error ASTNodeImporter::ImportDeclContext ( Decl From,
DeclContext *&  ToDC,
DeclContext *&  ToLexicalDC 
)

◆ ImportDeclContext() [2/2]

Error ASTNodeImporter::ImportDeclContext ( DeclContext FromDC,
bool  ForceImport = false 
)

◆ ImportDeclParts() [1/2]

Error ASTNodeImporter::ImportDeclParts ( NamedDecl D,
DeclarationName Name,
NamedDecl *&  ToD,
SourceLocation Loc 
)

◆ ImportDeclParts() [2/2]

Error ASTNodeImporter::ImportDeclParts ( NamedDecl D,
DeclContext *&  DC,
DeclContext *&  LexicalDC,
DeclarationName Name,
NamedDecl *&  ToD,
SourceLocation Loc 
)

◆ ImportDefaultArgOfParmVarDecl()

Error ASTNodeImporter::ImportDefaultArgOfParmVarDecl ( const ParmVarDecl FromParam,
ParmVarDecl ToParam 
)

◆ ImportDefinition() [1/4]

Error ASTNodeImporter::ImportDefinition ( EnumDecl From,
EnumDecl To,
ImportDefinitionKind  Kind = IDK_Default 
)

◆ ImportDefinition() [2/4]

Error ASTNodeImporter::ImportDefinition ( ObjCInterfaceDecl From,
ObjCInterfaceDecl To,
ImportDefinitionKind  Kind = IDK_Default 
)

◆ ImportDefinition() [3/4]

Error ASTNodeImporter::ImportDefinition ( ObjCProtocolDecl From,
ObjCProtocolDecl To,
ImportDefinitionKind  Kind = IDK_Default 
)

◆ ImportDefinition() [4/4]

Error ASTNodeImporter::ImportDefinition ( RecordDecl From,
RecordDecl To,
ImportDefinitionKind  Kind = IDK_Default 
)

◆ ImportDefinitionIfNeeded()

Error ASTNodeImporter::ImportDefinitionIfNeeded ( Decl FromD,
Decl ToD = nullptr 
)

Definition at line 1755 of file ASTImporter.cpp.

References ImportDefinition().

Referenced by ImportDeclParts(), and ImportDefinition().

◆ ImportFunctionDeclBody()

Error ASTNodeImporter::ImportFunctionDeclBody ( FunctionDecl FromFD,
FunctionDecl ToFD 
)

Definition at line 3214 of file ASTImporter.cpp.

References clang::FunctionDecl::getBody(), and clang::FunctionDecl::setBody().

Referenced by VisitFunctionDecl().

◆ ImportFunctionTemplateWithTemplateArgsFromSpecialization()

Expected< ASTNodeImporter::FunctionTemplateAndArgsTy > clang::ASTNodeImporter::ImportFunctionTemplateWithTemplateArgsFromSpecialization ( FunctionDecl FromFD)

◆ ImportImplicitMethods()

Error ASTNodeImporter::ImportImplicitMethods ( const CXXRecordDecl From,
CXXRecordDecl To 
)

◆ ImportInheritedConstructor()

Expected< InheritedConstructor > ASTNodeImporter::ImportInheritedConstructor ( const InheritedConstructor From)

◆ ImportInitializer()

Error ASTNodeImporter::ImportInitializer ( VarDecl From,
VarDecl To 
)

◆ ImportObjCTypeParamList()

Expected< ObjCTypeParamList * > ASTNodeImporter::ImportObjCTypeParamList ( ObjCTypeParamList list)

◆ ImportOverriddenMethods()

Error ASTNodeImporter::ImportOverriddenMethods ( CXXMethodDecl ToMethod,
CXXMethodDecl FromMethod 
)

◆ ImportTemplateArgument()

Expected< TemplateArgument > ASTNodeImporter::ImportTemplateArgument ( const TemplateArgument From)

Definition at line 2194 of file ASTImporter.cpp.

Referenced by clang::ASTImporter::Import().

◆ ImportTemplateArgumentListInfo() [1/4]

template<>
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo ( const ASTTemplateArgumentListInfo From,
TemplateArgumentListInfo Result 
)

Definition at line 770 of file ASTImporter.cpp.

References clang::Result.

◆ ImportTemplateArgumentListInfo() [2/4]

template<typename InContainerTy >
Error ASTNodeImporter::ImportTemplateArgumentListInfo ( const InContainerTy &  Container,
TemplateArgumentListInfo ToTAInfo 
)

◆ ImportTemplateArgumentListInfo() [3/4]

template<>
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo ( const TemplateArgumentListInfo From,
TemplateArgumentListInfo Result 
)

◆ ImportTemplateArgumentListInfo() [4/4]

template<typename InContainerTy >
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo ( SourceLocation  FromLAngleLoc,
SourceLocation  FromRAngleLoc,
const InContainerTy &  Container,
TemplateArgumentListInfo Result 
)

Definition at line 745 of file ASTImporter.cpp.

References ImportTemplateArgumentListInfo(), and clang::Result.

◆ ImportTemplateArguments()

Error ASTNodeImporter::ImportTemplateArguments ( ArrayRef< TemplateArgument FromArgs,
SmallVectorImpl< TemplateArgument > &  ToArgs 
)

◆ ImportTemplateInformation()

Error ASTNodeImporter::ImportTemplateInformation ( FunctionDecl FromFD,
FunctionDecl ToFD 
)

◆ ImportTemplateParameterLists()

Error ASTNodeImporter::ImportTemplateParameterLists ( const DeclaratorDecl FromD,
DeclaratorDecl ToD 
)

◆ ImportUsingShadowDecls()

ExpectedDecl ASTNodeImporter::ImportUsingShadowDecls ( BaseUsingDecl D,
BaseUsingDecl ToSI 
)

◆ IsStructuralMatch()

bool ASTNodeImporter::IsStructuralMatch ( Decl From,
Decl To,
bool  Complain = true 
)

◆ shouldForceImportDeclContext()

bool clang::ASTNodeImporter::shouldForceImportDeclContext ( ImportDefinitionKind  IDK)
inline

Definition at line 454 of file ASTImporter.cpp.

References IDK_Default, IDK_Everything, and clang::ASTImporter::isMinimalImport().

Referenced by ImportDefinition().

◆ VisitAccessSpecDecl()

ExpectedDecl ASTNodeImporter::VisitAccessSpecDecl ( AccessSpecDecl D)

◆ VisitAddrLabelExpr()

ExpectedStmt ASTNodeImporter::VisitAddrLabelExpr ( AddrLabelExpr E)

◆ VisitArrayInitIndexExpr()

ExpectedStmt ASTNodeImporter::VisitArrayInitIndexExpr ( ArrayInitIndexExpr E)

Definition at line 8371 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and clang::Expr::getType().

◆ VisitArrayInitLoopExpr()

ExpectedStmt ASTNodeImporter::VisitArrayInitLoopExpr ( ArrayInitLoopExpr E)

◆ VisitArraySubscriptExpr()

ExpectedStmt ASTNodeImporter::VisitArraySubscriptExpr ( ArraySubscriptExpr E)

◆ VisitArrayTypeTraitExpr()

ExpectedStmt ASTNodeImporter::VisitArrayTypeTraitExpr ( ArrayTypeTraitExpr E)

◆ VisitAtomicExpr()

ExpectedStmt ASTNodeImporter::VisitAtomicExpr ( AtomicExpr E)

◆ VisitAtomicType()

ExpectedType ASTNodeImporter::VisitAtomicType ( const AtomicType T)

◆ VisitAttributedStmt()

ExpectedStmt ASTNodeImporter::VisitAttributedStmt ( AttributedStmt S)

◆ VisitAttributedType()

ExpectedType ASTNodeImporter::VisitAttributedType ( const AttributedType T)

◆ VisitAutoType()

ExpectedType ASTNodeImporter::VisitAutoType ( const AutoType T)

◆ VisitBinaryConditionalOperator()

ExpectedStmt ASTNodeImporter::VisitBinaryConditionalOperator ( BinaryConditionalOperator E)

◆ VisitBinaryOperator()

ExpectedStmt ASTNodeImporter::VisitBinaryOperator ( BinaryOperator E)

◆ VisitBindingDecl()

ExpectedDecl ASTNodeImporter::VisitBindingDecl ( BindingDecl D)

◆ VisitBlockPointerType()

ExpectedType ASTNodeImporter::VisitBlockPointerType ( const BlockPointerType T)

◆ VisitBreakStmt()

ExpectedStmt ASTNodeImporter::VisitBreakStmt ( BreakStmt S)

Definition at line 6729 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitBuiltinTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitBuiltinTemplateDecl ( BuiltinTemplateDecl D)

◆ VisitBuiltinType()

ExpectedType ASTNodeImporter::VisitBuiltinType ( const BuiltinType T)

◆ VisitCallExpr()

ExpectedStmt ASTNodeImporter::VisitCallExpr ( CallExpr E)

◆ VisitCaseStmt()

ExpectedStmt ASTNodeImporter::VisitCaseStmt ( CaseStmt S)

◆ VisitCharacterLiteral()

ExpectedStmt ASTNodeImporter::VisitCharacterLiteral ( CharacterLiteral E)

◆ VisitChooseExpr()

ExpectedStmt ASTNodeImporter::VisitChooseExpr ( ChooseExpr E)

◆ VisitClassTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl ( ClassTemplateDecl D)

◆ VisitClassTemplateSpecializationDecl()

ExpectedDecl ASTNodeImporter::VisitClassTemplateSpecializationDecl ( ClassTemplateSpecializationDecl D)

Definition at line 5838 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::ClassTemplateDecl::AddPartialSpecialization(), clang::ClassTemplateDecl::AddSpecialization(), clang::TemplateArgumentList::asArray(), clang::TemplateArgumentList::CreateCopy(), clang::RecordDecl::fields(), clang::ClassTemplateDecl::findPartialSpecialization(), clang::ClassTemplateDecl::findSpecialization(), clang::TypeDecl::getBeginLoc(), clang::TagDecl::getBraceRange(), clang::QualType::getCanonicalType(), clang::CXXRecordDecl::getDefinition(), clang::ClassTemplateSpecializationDecl::getExternLoc(), clang::ClassTemplatePartialSpecializationDecl::getInjectedSpecializationType(), clang::ClassTemplateSpecializationDecl::getInstantiatedFrom(), clang::Decl::getLocation(), clang::ClassTemplateSpecializationDecl::getPointOfInstantiation(), clang::TagDecl::getQualifierLoc(), clang::ClassTemplateSpecializationDecl::getSpecializationKind(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplate(), clang::TagDecl::getTagKind(), clang::ClassTemplateSpecializationDecl::getTemplateArgs(), clang::ClassTemplatePartialSpecializationDecl::getTemplateArgsAsWritten(), clang::ClassTemplateSpecializationDecl::getTemplateInstantiationArgs(), clang::ClassTemplateSpecializationDecl::getTemplateKeywordLoc(), clang::ClassTemplatePartialSpecializationDecl::getTemplateParameters(), clang::CXXRecordDecl::getTemplateSpecializationKind(), clang::ASTImporter::getToContext(), clang::ClassTemplateSpecializationDecl::getTypeAsWritten(), ImportDeclContext(), ImportDefinition(), ImportTemplateArgumentListInfo(), ImportTemplateArguments(), clang::TagDecl::isCompleteDefinition(), clang::ClassTemplateSpecializationDecl::isExplicitInstantiationOrSpecialization(), IsStructuralMatch(), clang::TagDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::ASTImporter::MapImported(), clang::CXXRecordDecl::methods(), clang::ASTImportError::NameConflict, clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::P, clang::TagDecl::setBraceRange(), clang::ClassTemplateSpecializationDecl::setExternLoc(), clang::ClassTemplateSpecializationDecl::setInstantiationOf(), clang::Decl::setLexicalDeclContext(), clang::ClassTemplateSpecializationDecl::setPointOfInstantiation(), clang::TagDecl::setQualifierInfo(), clang::ClassTemplateSpecializationDecl::setSpecializationKind(), clang::ClassTemplateSpecializationDecl::setTemplateKeywordLoc(), clang::CXXRecordDecl::setTemplateSpecializationKind(), clang::ClassTemplateSpecializationDecl::setTypeAsWritten(), and clang::TemplateArgumentList::size().

◆ VisitComplexType()

ExpectedType ASTNodeImporter::VisitComplexType ( const ComplexType T)

◆ VisitCompoundAssignOperator()

ExpectedStmt ASTNodeImporter::VisitCompoundAssignOperator ( CompoundAssignOperator E)

◆ VisitCompoundLiteralExpr()

ExpectedStmt ASTNodeImporter::VisitCompoundLiteralExpr ( CompoundLiteralExpr E)

◆ VisitCompoundStmt()

ExpectedStmt ASTNodeImporter::VisitCompoundStmt ( CompoundStmt S)

◆ VisitConditionalOperator()

ExpectedStmt ASTNodeImporter::VisitConditionalOperator ( ConditionalOperator E)

◆ VisitConstantArrayType()

ExpectedType ASTNodeImporter::VisitConstantArrayType ( const ConstantArrayType T)

◆ VisitConstantExpr()

ExpectedStmt ASTNodeImporter::VisitConstantExpr ( ConstantExpr E)

◆ VisitContinueStmt()

ExpectedStmt ASTNodeImporter::VisitContinueStmt ( ContinueStmt S)

Definition at line 6722 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitCXXBindTemporaryExpr()

ExpectedStmt ASTNodeImporter::VisitCXXBindTemporaryExpr ( CXXBindTemporaryExpr E)

◆ VisitCXXBoolLiteralExpr()

ExpectedStmt ASTNodeImporter::VisitCXXBoolLiteralExpr ( CXXBoolLiteralExpr E)

◆ VisitCXXCatchStmt()

ExpectedStmt ASTNodeImporter::VisitCXXCatchStmt ( CXXCatchStmt S)

Definition at line 6749 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitCXXConstructExpr()

ExpectedStmt ASTNodeImporter::VisitCXXConstructExpr ( CXXConstructExpr E)

◆ VisitCXXConstructorDecl()

ExpectedDecl ASTNodeImporter::VisitCXXConstructorDecl ( CXXConstructorDecl D)

Definition at line 3805 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

◆ VisitCXXConversionDecl()

ExpectedDecl ASTNodeImporter::VisitCXXConversionDecl ( CXXConversionDecl D)

Definition at line 3813 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

◆ VisitCXXDeductionGuideDecl()

ExpectedDecl ASTNodeImporter::VisitCXXDeductionGuideDecl ( CXXDeductionGuideDecl D)

Definition at line 3818 of file ASTImporter.cpp.

References VisitFunctionDecl().

◆ VisitCXXDefaultArgExpr()

ExpectedStmt ASTNodeImporter::VisitCXXDefaultArgExpr ( CXXDefaultArgExpr E)

◆ VisitCXXDefaultInitExpr()

ExpectedStmt ASTNodeImporter::VisitCXXDefaultInitExpr ( CXXDefaultInitExpr E)

◆ VisitCXXDeleteExpr()

ExpectedStmt ASTNodeImporter::VisitCXXDeleteExpr ( CXXDeleteExpr E)

◆ VisitCXXDependentScopeMemberExpr()

ExpectedStmt ASTNodeImporter::VisitCXXDependentScopeMemberExpr ( CXXDependentScopeMemberExpr E)

◆ VisitCXXDestructorDecl()

ExpectedDecl ASTNodeImporter::VisitCXXDestructorDecl ( CXXDestructorDecl D)

Definition at line 3809 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

◆ VisitCXXFoldExpr()

ExpectedStmt ASTNodeImporter::VisitCXXFoldExpr ( CXXFoldExpr E)

◆ VisitCXXForRangeStmt()

ExpectedStmt ASTNodeImporter::VisitCXXForRangeStmt ( CXXForRangeStmt S)

Definition at line 6784 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitCXXInheritedCtorInitExpr()

ExpectedStmt ASTNodeImporter::VisitCXXInheritedCtorInitExpr ( CXXInheritedCtorInitExpr E)

◆ VisitCXXMemberCallExpr()

ExpectedStmt ASTNodeImporter::VisitCXXMemberCallExpr ( CXXMemberCallExpr E)

◆ VisitCXXMethodDecl()

ExpectedDecl ASTNodeImporter::VisitCXXMethodDecl ( CXXMethodDecl D)

◆ VisitCXXNamedCastExpr()

ExpectedStmt ASTNodeImporter::VisitCXXNamedCastExpr ( CXXNamedCastExpr E)

◆ VisitCXXNewExpr()

ExpectedStmt ASTNodeImporter::VisitCXXNewExpr ( CXXNewExpr E)

◆ VisitCXXNoexceptExpr()

ExpectedStmt ASTNodeImporter::VisitCXXNoexceptExpr ( CXXNoexceptExpr E)

◆ VisitCXXNullPtrLiteralExpr()

ExpectedStmt ASTNodeImporter::VisitCXXNullPtrLiteralExpr ( CXXNullPtrLiteralExpr E)

◆ VisitCXXPseudoDestructorExpr()

ExpectedStmt ASTNodeImporter::VisitCXXPseudoDestructorExpr ( CXXPseudoDestructorExpr E)

◆ VisitCXXScalarValueInitExpr()

ExpectedStmt ASTNodeImporter::VisitCXXScalarValueInitExpr ( CXXScalarValueInitExpr E)

◆ VisitCXXStdInitializerListExpr()

ExpectedStmt ASTNodeImporter::VisitCXXStdInitializerListExpr ( CXXStdInitializerListExpr E)

◆ VisitCXXTemporaryObjectExpr()

ExpectedStmt ASTNodeImporter::VisitCXXTemporaryObjectExpr ( CXXTemporaryObjectExpr E)

◆ VisitCXXThisExpr()

ExpectedStmt ASTNodeImporter::VisitCXXThisExpr ( CXXThisExpr E)

◆ VisitCXXThrowExpr()

ExpectedStmt ASTNodeImporter::VisitCXXThrowExpr ( CXXThrowExpr E)

◆ VisitCXXTryStmt()

ExpectedStmt ASTNodeImporter::VisitCXXTryStmt ( CXXTryStmt S)

◆ VisitCXXTypeidExpr()

ExpectedStmt ASTNodeImporter::VisitCXXTypeidExpr ( CXXTypeidExpr E)

◆ VisitCXXUnresolvedConstructExpr()

ExpectedStmt ASTNodeImporter::VisitCXXUnresolvedConstructExpr ( CXXUnresolvedConstructExpr E)

◆ VisitDecayedType()

ExpectedType ASTNodeImporter::VisitDecayedType ( const DecayedType T)

◆ VisitDecl()

ExpectedDecl ASTNodeImporter::VisitDecl ( Decl D)

◆ VisitDeclRefExpr()

ExpectedStmt ASTNodeImporter::VisitDeclRefExpr ( DeclRefExpr E)

◆ VisitDeclStmt()

ExpectedStmt ASTNodeImporter::VisitDeclStmt ( DeclStmt S)

Definition at line 6489 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitDecltypeType()

ExpectedType ASTNodeImporter::VisitDecltypeType ( const DecltypeType T)

◆ VisitDeducedTemplateSpecializationType()

ExpectedType ASTNodeImporter::VisitDeducedTemplateSpecializationType ( const DeducedTemplateSpecializationType T)

◆ VisitDefaultStmt()

ExpectedStmt ASTNodeImporter::VisitDefaultStmt ( DefaultStmt S)

Definition at line 6547 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitDependentNameType()

ExpectedType ASTNodeImporter::VisitDependentNameType ( const DependentNameType T)

◆ VisitDependentScopeDeclRefExpr()

ExpectedStmt ASTNodeImporter::VisitDependentScopeDeclRefExpr ( DependentScopeDeclRefExpr E)

◆ VisitDependentSizedArrayType()

ExpectedType ASTNodeImporter::VisitDependentSizedArrayType ( const DependentSizedArrayType T)

◆ VisitDependentTemplateSpecializationType()

ExpectedType ASTNodeImporter::VisitDependentTemplateSpecializationType ( const DependentTemplateSpecializationType T)

◆ VisitDesignatedInitExpr()

ExpectedStmt ASTNodeImporter::VisitDesignatedInitExpr ( DesignatedInitExpr E)

◆ VisitDoStmt()

ExpectedStmt ASTNodeImporter::VisitDoStmt ( DoStmt S)

Definition at line 6661 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitElaboratedType()

ExpectedType ASTNodeImporter::VisitElaboratedType ( const ElaboratedType T)

◆ VisitEmptyDecl()

ExpectedDecl ASTNodeImporter::VisitEmptyDecl ( EmptyDecl D)

◆ VisitEnumConstantDecl()

ExpectedDecl ASTNodeImporter::VisitEnumConstantDecl ( EnumConstantDecl D)

◆ VisitEnumDecl()

ExpectedDecl ASTNodeImporter::VisitEnumDecl ( EnumDecl D)

◆ VisitEnumType()

ExpectedType ASTNodeImporter::VisitEnumType ( const EnumType T)

◆ VisitExplicitCastExpr()

ExpectedStmt ASTNodeImporter::VisitExplicitCastExpr ( ExplicitCastExpr E)

◆ VisitExpr()

ExpectedStmt ASTNodeImporter::VisitExpr ( Expr E)

◆ VisitExpressionTraitExpr()

ExpectedStmt ASTNodeImporter::VisitExpressionTraitExpr ( ExpressionTraitExpr E)

◆ VisitExprWithCleanups()

ExpectedStmt ASTNodeImporter::VisitExprWithCleanups ( ExprWithCleanups E)

◆ VisitExtVectorType()

ExpectedType ASTNodeImporter::VisitExtVectorType ( const ExtVectorType T)

◆ VisitFieldDecl()

ExpectedDecl ASTNodeImporter::VisitFieldDecl ( FieldDecl D)

◆ VisitFixedPointLiteral()

ExpectedStmt ASTNodeImporter::VisitFixedPointLiteral ( FixedPointLiteral E)

◆ VisitFloatingLiteral()

ExpectedStmt ASTNodeImporter::VisitFloatingLiteral ( FloatingLiteral E)

◆ VisitForStmt()

ExpectedStmt ASTNodeImporter::VisitForStmt ( ForStmt S)

Definition at line 6676 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitFriendDecl()

ExpectedDecl ASTNodeImporter::VisitFriendDecl ( FriendDecl D)

◆ VisitFunctionDecl()

ExpectedDecl ASTNodeImporter::VisitFunctionDecl ( FunctionDecl D)

Definition at line 3427 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::FunctionDecl::doesThisDeclarationHaveABody(), clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, FindFunctionTemplateSpecialization(), clang::FunctionDecl::FriendConstraintRefersToEnclosingTemplate(), clang::Decl::getAccess(), clang::Type::getAs(), clang::DeclaratorDecl::getBeginLoc(), clang::getCanonicalForwardRedeclChain(), clang::FunctionDecl::getConstexprKind(), clang::Decl::getDeclContext(), clang::FunctionDecl::getDefaultLoc(), clang::FunctionDecl::getDescribedFunctionTemplate(), clang::Decl::getEndLoc(), clang::ASTImporter::getFromContext(), clang::ASTContext::getFunctionType(), clang::DeclaratorDecl::getInnerLocStart(), clang::ASTContext::getLangOpts(), clang::Decl::getLexicalDeclContext(), clang::Redeclarable< decl_type >::getMostRecentDecl(), clang::FunctionDecl::getNameInfo(), clang::DeclaratorDecl::getQualifierLoc(), clang::FunctionDecl::getStorageClass(), clang::FunctionDecl::getTemplatedKind(), clang::ASTImporter::getToContext(), clang::DeclaratorDecl::getTrailingRequiresClause(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTContext::getTrivialTypeSourceInfo(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::HandleNameConflict(), hasAutoReturnTypeDeclaredInside(), hasSameVisibilityContextAndLinkage(), clang::FunctionDecl::hasWrittenPrototype(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_OrdinaryFriend, importChecked(), ImportContainerChecked(), ImportDeclarationNameLoc(), ImportDeclParts(), ImportFunctionDeclBody(), ImportOverriddenMethods(), ImportTemplateInformation(), clang::FunctionDecl::isDefaulted(), clang::FunctionDecl::isDeletedAsWritten(), clang::FunctionDecl::isExplicitlyDefaulted(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isImplicit(), clang::Decl::isInIdentifierNamespace(), clang::FunctionDecl::isInlineSpecified(), clang::FunctionDecl::isPure(), IsStructuralMatch(), clang::FunctionDecl::isTrivial(), clang::FunctionDecl::isVirtualAsWritten(), LT, clang::ASTImporter::MapImported(), clang::FunctionProtoType::ExceptionSpecInfo::NoexceptExpr, clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::P, clang::FunctionDecl::parameters(), clang::Decl::setAccess(), clang::FunctionDecl::setDefaulted(), clang::FunctionDecl::setDefaultLoc(), clang::FunctionDecl::setDeletedAsWritten(), clang::FunctionDecl::setExplicitlyDefaulted(), clang::FunctionDecl::setFriendConstraintRefersToEnclosingTemplate(), clang::Decl::setLexicalDeclContext(), clang::CXXDestructorDecl::setOperatorDelete(), clang::Redeclarable< decl_type >::setPreviousDecl(), clang::FunctionDecl::setPure(), clang::DeclaratorDecl::setQualifierInfo(), clang::FunctionDecl::setRangeEnd(), clang::FunctionDecl::setTrivial(), clang::ValueDecl::setType(), clang::DeclaratorDecl::setTypeSourceInfo(), clang::FunctionDecl::setVirtualAsWritten(), clang::FunctionProtoType::ExceptionSpecInfo::SourceDecl, clang::FunctionProtoType::ExceptionSpecInfo::SourceTemplate, clang::FunctionDecl::TK_FunctionTemplateSpecialization, clang::ASTImporter::ToDiag(), clang::ASTImporterLookupTable::update(), clang::FunctionDecl::UsesFPIntrin(), and clang::ASTContext::VoidTy.

Referenced by VisitCXXDeductionGuideDecl(), and VisitCXXMethodDecl().

◆ VisitFunctionNoProtoType()

ExpectedType ASTNodeImporter::VisitFunctionNoProtoType ( const FunctionNoProtoType T)

◆ VisitFunctionProtoType()

ExpectedType ASTNodeImporter::VisitFunctionProtoType ( const FunctionProtoType T)

◆ VisitFunctionTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitFunctionTemplateDecl ( FunctionTemplateDecl D)

◆ VisitGCCAsmStmt()

ExpectedStmt ASTNodeImporter::VisitGCCAsmStmt ( GCCAsmStmt S)

◆ VisitGenericSelectionExpr()

ExpectedStmt ASTNodeImporter::VisitGenericSelectionExpr ( GenericSelectionExpr E)

◆ VisitGNUNullExpr()

ExpectedStmt ASTNodeImporter::VisitGNUNullExpr ( GNUNullExpr E)

◆ VisitGotoStmt()

ExpectedStmt ASTNodeImporter::VisitGotoStmt ( GotoStmt S)

Definition at line 6696 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitIfStmt()

ExpectedStmt ASTNodeImporter::VisitIfStmt ( IfStmt S)

◆ VisitImaginaryLiteral()

ExpectedStmt ASTNodeImporter::VisitImaginaryLiteral ( ImaginaryLiteral E)

◆ VisitImplicitCastExpr()

ExpectedStmt ASTNodeImporter::VisitImplicitCastExpr ( ImplicitCastExpr E)

◆ VisitImplicitParamDecl()

ExpectedDecl ASTNodeImporter::VisitImplicitParamDecl ( ImplicitParamDecl D)

◆ VisitImplicitValueInitExpr()

ExpectedStmt ASTNodeImporter::VisitImplicitValueInitExpr ( ImplicitValueInitExpr E)

Definition at line 7091 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and clang::Expr::getType().

◆ VisitImportDecl()

ExpectedDecl ASTNodeImporter::VisitImportDecl ( ImportDecl D)

◆ VisitIncompleteArrayType()

ExpectedType ASTNodeImporter::VisitIncompleteArrayType ( const IncompleteArrayType T)

◆ VisitIndirectFieldDecl()

ExpectedDecl ASTNodeImporter::VisitIndirectFieldDecl ( IndirectFieldDecl D)

◆ VisitIndirectGotoStmt()

ExpectedStmt ASTNodeImporter::VisitIndirectGotoStmt ( IndirectGotoStmt S)

Definition at line 6709 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitInitListExpr()

ExpectedStmt ASTNodeImporter::VisitInitListExpr ( InitListExpr E)

◆ VisitInjectedClassNameType()

ExpectedType ASTNodeImporter::VisitInjectedClassNameType ( const InjectedClassNameType T)

Definition at line 1463 of file ASTImporter.cpp.

References clang::InjectedClassNameType::getDecl().

◆ VisitIntegerLiteral()

ExpectedStmt ASTNodeImporter::VisitIntegerLiteral ( IntegerLiteral E)

◆ VisitLabelDecl()

ExpectedDecl ASTNodeImporter::VisitLabelDecl ( LabelDecl D)

◆ VisitLabelStmt()

ExpectedStmt ASTNodeImporter::VisitLabelStmt ( LabelStmt S)

Definition at line 6560 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitLambdaExpr()

ExpectedStmt ASTNodeImporter::VisitLambdaExpr ( LambdaExpr LE)

◆ VisitLifetimeExtendedTemporaryDecl()

ExpectedDecl ASTNodeImporter::VisitLifetimeExtendedTemporaryDecl ( LifetimeExtendedTemporaryDecl D)

◆ VisitLinkageSpecDecl()

ExpectedDecl ASTNodeImporter::VisitLinkageSpecDecl ( LinkageSpecDecl D)

◆ VisitLValueReferenceType()

ExpectedType ASTNodeImporter::VisitLValueReferenceType ( const LValueReferenceType T)

◆ VisitMaterializeTemporaryExpr()

ExpectedStmt ASTNodeImporter::VisitMaterializeTemporaryExpr ( MaterializeTemporaryExpr E)

◆ VisitMemberExpr()

ExpectedStmt ASTNodeImporter::VisitMemberExpr ( MemberExpr E)

◆ VisitMemberPointerType()

ExpectedType ASTNodeImporter::VisitMemberPointerType ( const MemberPointerType T)

◆ VisitNamespaceAliasDecl()

ExpectedDecl ASTNodeImporter::VisitNamespaceAliasDecl ( NamespaceAliasDecl D)

◆ VisitNamespaceDecl()

ExpectedDecl ASTNodeImporter::VisitNamespaceDecl ( NamespaceDecl D)

◆ VisitNonTypeTemplateParmDecl()

ExpectedDecl ASTNodeImporter::VisitNonTypeTemplateParmDecl ( NonTypeTemplateParmDecl D)

◆ VisitNullStmt()

ExpectedStmt ASTNodeImporter::VisitNullStmt ( NullStmt S)

Definition at line 6500 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitObjCAtCatchStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtCatchStmt ( ObjCAtCatchStmt S)

Definition at line 6825 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitObjCAtFinallyStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtFinallyStmt ( ObjCAtFinallyStmt S)

Definition at line 6839 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitObjCAtSynchronizedStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtSynchronizedStmt ( ObjCAtSynchronizedStmt S)

Definition at line 6875 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitObjCAtThrowStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtThrowStmt ( ObjCAtThrowStmt S)

Definition at line 6888 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitObjCAtTryStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtTryStmt ( ObjCAtTryStmt S)

◆ VisitObjCAutoreleasePoolStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAutoreleasePoolStmt ( ObjCAutoreleasePoolStmt S)

Definition at line 6899 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitObjCCategoryDecl()

ExpectedDecl ASTNodeImporter::VisitObjCCategoryDecl ( ObjCCategoryDecl D)

◆ VisitObjCCategoryImplDecl()

ExpectedDecl ASTNodeImporter::VisitObjCCategoryImplDecl ( ObjCCategoryImplDecl D)

◆ VisitObjCForCollectionStmt()

ExpectedStmt ASTNodeImporter::VisitObjCForCollectionStmt ( ObjCForCollectionStmt S)

Definition at line 6808 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext(), and importChecked().

◆ VisitObjCImplementationDecl()

ExpectedDecl ASTNodeImporter::VisitObjCImplementationDecl ( ObjCImplementationDecl D)

◆ VisitObjCInterfaceDecl()

ExpectedDecl ASTNodeImporter::VisitObjCInterfaceDecl ( ObjCInterfaceDecl D)

◆ VisitObjCInterfaceType()

ExpectedType ASTNodeImporter::VisitObjCInterfaceType ( const ObjCInterfaceType T)

◆ VisitObjCIvarDecl()

ExpectedDecl ASTNodeImporter::VisitObjCIvarDecl ( ObjCIvarDecl D)

◆ VisitObjCMethodDecl()

ExpectedDecl ASTNodeImporter::VisitObjCMethodDecl ( ObjCMethodDecl D)

◆ VisitObjCObjectPointerType()

ExpectedType ASTNodeImporter::VisitObjCObjectPointerType ( const ObjCObjectPointerType T)

◆ VisitObjCObjectType()

ExpectedType ASTNodeImporter::VisitObjCObjectType ( const ObjCObjectType T)

◆ VisitObjCPropertyDecl()

ExpectedDecl ASTNodeImporter::VisitObjCPropertyDecl ( ObjCPropertyDecl D)

◆ VisitObjCPropertyImplDecl()

ExpectedDecl ASTNodeImporter::VisitObjCPropertyImplDecl ( ObjCPropertyImplDecl D)

◆ VisitObjCProtocolDecl()

ExpectedDecl ASTNodeImporter::VisitObjCProtocolDecl ( ObjCProtocolDecl D)

◆ VisitObjCTypeParamDecl()

ExpectedDecl ASTNodeImporter::VisitObjCTypeParamDecl ( ObjCTypeParamDecl D)

◆ VisitOffsetOfExpr()

ExpectedStmt ASTNodeImporter::VisitOffsetOfExpr ( OffsetOfExpr OE)

◆ VisitOpaqueValueExpr()

ExpectedStmt ASTNodeImporter::VisitOpaqueValueExpr ( OpaqueValueExpr E)

◆ VisitPackExpansionExpr()

ExpectedStmt ASTNodeImporter::VisitPackExpansionExpr ( PackExpansionExpr E)

◆ VisitPackExpansionType()

ExpectedType ASTNodeImporter::VisitPackExpansionType ( const PackExpansionType T)

◆ VisitParenExpr()

ExpectedStmt ASTNodeImporter::VisitParenExpr ( ParenExpr E)

◆ VisitParenListExpr()

ExpectedStmt ASTNodeImporter::VisitParenListExpr ( ParenListExpr E)

◆ VisitParenType()

ExpectedType ASTNodeImporter::VisitParenType ( const ParenType T)

◆ VisitParmVarDecl()

ExpectedDecl ASTNodeImporter::VisitParmVarDecl ( ParmVarDecl D)

◆ VisitPointerType()

ExpectedType ASTNodeImporter::VisitPointerType ( const PointerType T)

◆ VisitPredefinedExpr()

ExpectedStmt ASTNodeImporter::VisitPredefinedExpr ( PredefinedExpr E)

◆ VisitRecordDecl()

ExpectedDecl ASTNodeImporter::VisitRecordDecl ( RecordDecl D)

Definition at line 2784 of file ASTImporter.cpp.

References clang::ExternalASTSource::CompleteType(), clang::CXXRecordDecl::CreateLambda(), clang::Decl::FOK_None, clang::Decl::getAccess(), clang::Type::getAs(), clang::Decl::getASTContext(), clang::TypeDecl::getBeginLoc(), clang::TagDecl::getBraceRange(), clang::getCanonicalForwardRedeclChain(), clang::NamedDecl::getDeclName(), clang::RecordDecl::getDefinition(), clang::ASTContext::getExternalSource(), clang::ClassTemplateDecl::getInjectedClassNameSpecialization(), clang::ASTContext::getInjectedClassNameType(), clang::CXXRecordDecl::getInstantiatedFromMemberClass(), clang::ASTContext::getLangOpts(), clang::CXXRecordDecl::getMemberSpecializationInfo(), clang::RecordDecl::getMostRecentDecl(), clang::TagDecl::getQualifierLoc(), clang::TagDecl::getTagKind(), clang::ASTImporter::getToContext(), clang::ASTContext::getTypeDeclType(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::ASTImporter::HandleNameConflict(), clang::DeclContext::hasExternalLexicalStorage(), hasSameVisibilityContextAndLinkage(), IDK_Default, clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_Tag, clang::Decl::IDNS_TagFriend, ImportDeclParts(), ImportDefinition(), ImportImplicitMethods(), clang::RecordDecl::isAnonymousStructOrUnion(), clang::TagDecl::isCompleteDefinition(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isInIdentifierNamespace(), clang::RecordDecl::isLambda(), clang::ASTImporter::isMinimalImport(), IsStructuralMatch(), clang::TagDecl::isThisDeclarationADefinition(), clang::ASTImporter::MapImported(), clang::DeclContext::noload_lookup(), clang::Decl::setAccess(), clang::RecordDecl::setAnonymousStructOrUnion(), clang::TagDecl::setBraceRange(), clang::CXXRecordDecl::setDescribedClassTemplate(), clang::CXXRecordDecl::setDeviceLambdaManglingNumber(), clang::CXXRecordDecl::setInstantiationOfMemberClass(), clang::CXXRecordDecl::setLambdaMangling(), clang::Decl::setLexicalDeclContext(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::TagDecl::setQualifierInfo(), and clang::TypeDecl::setTypeForDecl().

◆ VisitRecordType()

ExpectedType ASTNodeImporter::VisitRecordType ( const RecordType T)

◆ VisitReturnStmt()

ExpectedStmt ASTNodeImporter::VisitReturnStmt ( ReturnStmt S)

◆ VisitRValueReferenceType()

ExpectedType ASTNodeImporter::VisitRValueReferenceType ( const RValueReferenceType T)

◆ VisitShuffleVectorExpr()

ExpectedStmt ASTNodeImporter::VisitShuffleVectorExpr ( ShuffleVectorExpr E)

◆ VisitSizeOfPackExpr()

ExpectedStmt ASTNodeImporter::VisitSizeOfPackExpr ( SizeOfPackExpr E)

◆ VisitSourceLocExpr()

ExpectedStmt ASTNodeImporter::VisitSourceLocExpr ( SourceLocExpr E)

◆ VisitStaticAssertDecl()

ExpectedDecl ASTNodeImporter::VisitStaticAssertDecl ( StaticAssertDecl D)

◆ VisitStmt()

ExpectedStmt ASTNodeImporter::VisitStmt ( Stmt S)

◆ VisitStmtExpr()

ExpectedStmt ASTNodeImporter::VisitStmtExpr ( StmtExpr E)

◆ VisitStringLiteral()

ExpectedStmt ASTNodeImporter::VisitStringLiteral ( StringLiteral E)

◆ VisitSubstNonTypeTemplateParmExpr()

ExpectedStmt ASTNodeImporter::VisitSubstNonTypeTemplateParmExpr ( SubstNonTypeTemplateParmExpr E)

◆ VisitSubstTemplateTypeParmPackType()

ExpectedType ASTNodeImporter::VisitSubstTemplateTypeParmPackType ( const SubstTemplateTypeParmPackType T)

◆ VisitSubstTemplateTypeParmType()

ExpectedType ASTNodeImporter::VisitSubstTemplateTypeParmType ( const SubstTemplateTypeParmType T)

◆ VisitSwitchStmt()

ExpectedStmt ASTNodeImporter::VisitSwitchStmt ( SwitchStmt S)

◆ VisitTemplateSpecializationType()

ExpectedType ASTNodeImporter::VisitTemplateSpecializationType ( const TemplateSpecializationType T)

◆ VisitTemplateTemplateParmDecl()

ExpectedDecl ASTNodeImporter::VisitTemplateTemplateParmDecl ( TemplateTemplateParmDecl D)

◆ VisitTemplateTypeParmDecl()

ExpectedDecl ASTNodeImporter::VisitTemplateTypeParmDecl ( TemplateTypeParmDecl D)

◆ VisitTemplateTypeParmType()

ExpectedType ASTNodeImporter::VisitTemplateTypeParmType ( const TemplateTypeParmType T)

◆ VisitTranslationUnitDecl()

ExpectedDecl ASTNodeImporter::VisitTranslationUnitDecl ( TranslationUnitDecl D)

◆ VisitType()

ExpectedType ASTNodeImporter::VisitType ( const Type T)

◆ VisitTypeAliasDecl()

ExpectedDecl ASTNodeImporter::VisitTypeAliasDecl ( TypeAliasDecl D)

Definition at line 2577 of file ASTImporter.cpp.

References VisitTypedefNameDecl().

◆ VisitTypeAliasTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitTypeAliasTemplateDecl ( TypeAliasTemplateDecl D)

◆ VisitTypedefDecl()

ExpectedDecl ASTNodeImporter::VisitTypedefDecl ( TypedefDecl D)

Definition at line 2573 of file ASTImporter.cpp.

References VisitTypedefNameDecl().

◆ VisitTypedefNameDecl()

ExpectedDecl ASTNodeImporter::VisitTypedefNameDecl ( TypedefNameDecl D,
bool  IsAlias 
)

◆ VisitTypedefType()

ExpectedType ASTNodeImporter::VisitTypedefType ( const TypedefType T)

◆ VisitTypeOfExprType()

ExpectedType ASTNodeImporter::VisitTypeOfExprType ( const TypeOfExprType T)

◆ VisitTypeOfType()

ExpectedType ASTNodeImporter::VisitTypeOfType ( const TypeOfType T)

◆ VisitTypeTraitExpr()

ExpectedStmt ASTNodeImporter::VisitTypeTraitExpr ( TypeTraitExpr E)

◆ VisitUnaryExprOrTypeTraitExpr()

ExpectedStmt ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr ( UnaryExprOrTypeTraitExpr E)

◆ VisitUnaryOperator()

ExpectedStmt ASTNodeImporter::VisitUnaryOperator ( UnaryOperator E)

◆ VisitUnaryTransformType()

ExpectedType ASTNodeImporter::VisitUnaryTransformType ( const UnaryTransformType T)

◆ VisitUnresolvedLookupExpr()

ExpectedStmt ASTNodeImporter::VisitUnresolvedLookupExpr ( UnresolvedLookupExpr E)

◆ VisitUnresolvedMemberExpr()

ExpectedStmt ASTNodeImporter::VisitUnresolvedMemberExpr ( UnresolvedMemberExpr E)

◆ VisitUnresolvedUsingType()

ExpectedType ASTNodeImporter::VisitUnresolvedUsingType ( const UnresolvedUsingType T)

◆ VisitUnresolvedUsingTypenameDecl()

ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingTypenameDecl ( UnresolvedUsingTypenameDecl D)

◆ VisitUnresolvedUsingValueDecl()

ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingValueDecl ( UnresolvedUsingValueDecl D)

◆ VisitUsingDecl()

ExpectedDecl ASTNodeImporter::VisitUsingDecl ( UsingDecl D)

◆ VisitUsingDirectiveDecl()

ExpectedDecl ASTNodeImporter::VisitUsingDirectiveDecl ( UsingDirectiveDecl D)

◆ VisitUsingEnumDecl()

ExpectedDecl ASTNodeImporter::VisitUsingEnumDecl ( UsingEnumDecl D)

◆ VisitUsingPackDecl()

ExpectedDecl ASTNodeImporter::VisitUsingPackDecl ( UsingPackDecl D)

◆ VisitUsingShadowDecl()

ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl ( UsingShadowDecl D)

◆ VisitUsingType()

ExpectedType ASTNodeImporter::VisitUsingType ( const UsingType T)

◆ VisitVAArgExpr()

ExpectedStmt ASTNodeImporter::VisitVAArgExpr ( VAArgExpr E)

◆ VisitVarDecl()

ExpectedDecl ASTNodeImporter::VisitVarDecl ( VarDecl D)

◆ VisitVariableArrayType()

ExpectedType ASTNodeImporter::VisitVariableArrayType ( const VariableArrayType T)

◆ VisitVarTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitVarTemplateDecl ( VarTemplateDecl D)

◆ VisitVarTemplateSpecializationDecl()

ExpectedDecl ASTNodeImporter::VisitVarTemplateSpecializationDecl ( VarTemplateSpecializationDecl D)

Definition at line 6140 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::VarTemplateDecl::AddSpecialization(), clang::TemplateArgumentList::asArray(), clang::Definition, clang::VarTemplateDecl::findSpecialization(), clang::Decl::getAccess(), clang::DeclaratorDecl::getBeginLoc(), clang::VarDecl::getDefinition(), clang::Decl::getLocation(), clang::VarTemplateSpecializationDecl::getPointOfInstantiation(), clang::DeclaratorDecl::getQualifierLoc(), clang::VarTemplateSpecializationDecl::getSpecializationKind(), clang::VarTemplateSpecializationDecl::getSpecializedTemplate(), clang::VarDecl::getStorageClass(), clang::VarTemplateSpecializationDecl::getTemplateArgs(), clang::VarTemplateSpecializationDecl::getTemplateArgsInfo(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), ImportDeclContext(), ImportInitializer(), ImportTemplateArgumentListInfo(), ImportTemplateArguments(), clang::VarDecl::isConstexpr(), IsStructuralMatch(), clang::VarDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::VarDecl::setConstexpr(), clang::Decl::setLexicalDeclContext(), clang::VarTemplateSpecializationDecl::setPointOfInstantiation(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarTemplateSpecializationDecl::setSpecializationKind(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::ValueDecl::setType(), and clang::DeclaratorDecl::setTypeSourceInfo().

◆ VisitVectorType()

ExpectedType ASTNodeImporter::VisitVectorType ( const VectorType T)

◆ VisitWhileStmt()

ExpectedStmt ASTNodeImporter::VisitWhileStmt ( WhileStmt S)

The documentation for this class was generated from the following file: