clang 19.0.0git
Classes | Public Types | Public Member Functions | List of all members
clang::ASTNodeImporter Class Reference
Inheritance diagram for clang::ASTNodeImporter:
Inheritance 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)
 
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)
 
Error ImportFieldDeclDefinition (const FieldDecl *From, const FieldDecl *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, bool IgnoreTemplateParmDepth=false)
 
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 VisitConvertVectorExpr (ConvertVectorExpr *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 VisitCXXRewrittenBinaryOperator (CXXRewrittenBinaryOperator *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)
 This function checks if the function has 'auto' return type that contains a reference (in any way) to a declaration inside the same function.
 
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< ConceptReference * > import (ConceptReference *From)
 
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 393 of file ASTImporter.cpp.

◆ FunctionTemplateAndArgsTy

Definition at line 441 of file ASTImporter.cpp.

◆ TemplateArgsTy

Definition at line 440 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 396 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)

This function checks if the function has 'auto' return type that contains a reference (in any way) to a declaration inside the same function.

Definition at line 3621 of file ASTImporter.cpp.

References clang::Type::getAs(), clang::FunctionDecl::getDefinition(), clang::ValueDecl::getType(), and clang::QualType::getTypePtr().

Referenced by VisitFunctionDecl().

◆ 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/7]

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

◆ import() [2/7]

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

◆ import() [3/7]

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

◆ import() [4/7]

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

◆ import() [5/7]

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

◆ import() [6/7]

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

◆ import() [7/7]

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

◆ ImportAPValue()

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

Definition at line 10180 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, 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 685 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 649 of file ASTImporter.cpp.

Referenced by import(), ImportAPValue(), ImportInheritedConstructor(), VisitAddrLabelExpr(), VisitArrayInitLoopExpr(), VisitArraySubscriptExpr(), VisitArrayTypeTraitExpr(), VisitAtomicExpr(), VisitBinaryConditionalOperator(), VisitBinaryOperator(), VisitBindingDecl(), VisitCallExpr(), VisitCaseStmt(), VisitChooseExpr(), VisitCompoundAssignOperator(), VisitCompoundLiteralExpr(), VisitConditionalOperator(), VisitConstantExpr(), VisitConvertVectorExpr(), VisitCXXCatchStmt(), VisitCXXConstructExpr(), VisitCXXDeleteExpr(), VisitCXXDependentScopeMemberExpr(), VisitCXXFoldExpr(), VisitCXXForRangeStmt(), VisitCXXInheritedCtorInitExpr(), VisitCXXMemberCallExpr(), VisitCXXNamedCastExpr(), VisitCXXNewExpr(), VisitCXXNoexceptExpr(), VisitCXXPseudoDestructorExpr(), VisitCXXRewrittenBinaryOperator(), VisitCXXScalarValueInitExpr(), VisitCXXTemporaryObjectExpr(), VisitCXXThrowExpr(), VisitCXXUnresolvedConstructExpr(), VisitDeclRefExpr(), VisitDeclStmt(), VisitDefaultStmt(), VisitDependentScopeDeclRefExpr(), VisitDoStmt(), VisitEnumDecl(), VisitExplicitCastExpr(), VisitExpressionTraitExpr(), VisitFieldDecl(), VisitForStmt(), VisitFunctionDecl(), 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(), VisitUnresolvedUsingTypenameDecl(), VisitUnresolvedUsingValueDecl(), VisitUsingDecl(), VisitUsingDirectiveDecl(), VisitUsingEnumDecl(), VisitUsingShadowDecl(), VisitVAArgExpr(), VisitVarDecl(), 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 1909 of file ASTImporter.cpp.

References ImportDefinition().

Referenced by ImportDeclParts(), and ImportDefinition().

◆ ImportFieldDeclDefinition()

Error ASTNodeImporter::ImportFieldDeclDefinition ( const FieldDecl From,
const FieldDecl To 
)

◆ ImportFunctionDeclBody()

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

Definition at line 3413 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 2372 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 727 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 702 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,
bool  IgnoreTemplateParmDepth = false 
)

◆ shouldForceImportDeclContext()

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

Definition at line 408 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 8707 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)

◆ VisitAttributedStmt()

ExpectedStmt ASTNodeImporter::VisitAttributedStmt ( AttributedStmt S)

◆ VisitBinaryConditionalOperator()

ExpectedStmt ASTNodeImporter::VisitBinaryConditionalOperator ( BinaryConditionalOperator E)

◆ VisitBinaryOperator()

ExpectedStmt ASTNodeImporter::VisitBinaryOperator ( BinaryOperator E)

◆ VisitBindingDecl()

ExpectedDecl ASTNodeImporter::VisitBindingDecl ( BindingDecl D)

◆ VisitBreakStmt()

ExpectedStmt ASTNodeImporter::VisitBreakStmt ( BreakStmt S)

Definition at line 6994 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitBuiltinTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitBuiltinTemplateDecl ( BuiltinTemplateDecl D)

◆ 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 6072 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::ClassTemplatePartialSpecializationDecl::getInstantiatedFromMember(), 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().

◆ VisitCompoundAssignOperator()

ExpectedStmt ASTNodeImporter::VisitCompoundAssignOperator ( CompoundAssignOperator E)

◆ VisitCompoundLiteralExpr()

ExpectedStmt ASTNodeImporter::VisitCompoundLiteralExpr ( CompoundLiteralExpr E)

◆ VisitCompoundStmt()

ExpectedStmt ASTNodeImporter::VisitCompoundStmt ( CompoundStmt S)

◆ VisitConditionalOperator()

ExpectedStmt ASTNodeImporter::VisitConditionalOperator ( ConditionalOperator E)

◆ VisitConstantExpr()

ExpectedStmt ASTNodeImporter::VisitConstantExpr ( ConstantExpr E)

◆ VisitContinueStmt()

ExpectedStmt ASTNodeImporter::VisitContinueStmt ( ContinueStmt S)

Definition at line 6987 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitConvertVectorExpr()

ExpectedStmt ASTNodeImporter::VisitConvertVectorExpr ( ConvertVectorExpr E)

◆ VisitCXXBindTemporaryExpr()

ExpectedStmt ASTNodeImporter::VisitCXXBindTemporaryExpr ( CXXBindTemporaryExpr E)

◆ VisitCXXBoolLiteralExpr()

ExpectedStmt ASTNodeImporter::VisitCXXBoolLiteralExpr ( CXXBoolLiteralExpr E)

◆ VisitCXXCatchStmt()

ExpectedStmt ASTNodeImporter::VisitCXXCatchStmt ( CXXCatchStmt S)

Definition at line 7014 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 4022 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

◆ VisitCXXConversionDecl()

ExpectedDecl ASTNodeImporter::VisitCXXConversionDecl ( CXXConversionDecl D)

Definition at line 4030 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

◆ VisitCXXDeductionGuideDecl()

ExpectedDecl ASTNodeImporter::VisitCXXDeductionGuideDecl ( CXXDeductionGuideDecl D)

Definition at line 4035 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 4026 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

◆ VisitCXXFoldExpr()

ExpectedStmt ASTNodeImporter::VisitCXXFoldExpr ( CXXFoldExpr E)

◆ VisitCXXForRangeStmt()

ExpectedStmt ASTNodeImporter::VisitCXXForRangeStmt ( CXXForRangeStmt S)

Definition at line 7049 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)

◆ VisitCXXRewrittenBinaryOperator()

ExpectedStmt ASTNodeImporter::VisitCXXRewrittenBinaryOperator ( CXXRewrittenBinaryOperator 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)

◆ VisitDecl()

ExpectedDecl ASTNodeImporter::VisitDecl ( Decl D)

◆ VisitDeclRefExpr()

ExpectedStmt ASTNodeImporter::VisitDeclRefExpr ( DeclRefExpr E)

◆ VisitDeclStmt()

ExpectedStmt ASTNodeImporter::VisitDeclStmt ( DeclStmt S)

Definition at line 6754 of file ASTImporter.cpp.

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

◆ VisitDefaultStmt()

ExpectedStmt ASTNodeImporter::VisitDefaultStmt ( DefaultStmt S)

Definition at line 6812 of file ASTImporter.cpp.

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

◆ VisitDependentScopeDeclRefExpr()

ExpectedStmt ASTNodeImporter::VisitDependentScopeDeclRefExpr ( DependentScopeDeclRefExpr E)

◆ VisitDesignatedInitExpr()

ExpectedStmt ASTNodeImporter::VisitDesignatedInitExpr ( DesignatedInitExpr E)

◆ VisitDoStmt()

ExpectedStmt ASTNodeImporter::VisitDoStmt ( DoStmt S)

Definition at line 6926 of file ASTImporter.cpp.

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

◆ VisitEmptyDecl()

ExpectedDecl ASTNodeImporter::VisitEmptyDecl ( EmptyDecl D)

◆ VisitEnumConstantDecl()

ExpectedDecl ASTNodeImporter::VisitEnumConstantDecl ( EnumConstantDecl D)

◆ VisitEnumDecl()

ExpectedDecl ASTNodeImporter::VisitEnumDecl ( EnumDecl D)

◆ VisitExplicitCastExpr()

ExpectedStmt ASTNodeImporter::VisitExplicitCastExpr ( ExplicitCastExpr E)

◆ VisitExpr()

ExpectedStmt ASTNodeImporter::VisitExpr ( Expr E)

◆ VisitExpressionTraitExpr()

ExpectedStmt ASTNodeImporter::VisitExpressionTraitExpr ( ExpressionTraitExpr E)

◆ VisitExprWithCleanups()

ExpectedStmt ASTNodeImporter::VisitExprWithCleanups ( ExprWithCleanups E)

◆ 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 6941 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 3644 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::isPureVirtual(), 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::FunctionDecl::setIsPureVirtual(), clang::Decl::setLexicalDeclContext(), clang::CXXDestructorDecl::setOperatorDelete(), clang::Redeclarable< decl_type >::setPreviousDecl(), 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().

◆ 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 6961 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 7392 of file ASTImporter.cpp.

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

◆ VisitImportDecl()

ExpectedDecl ASTNodeImporter::VisitImportDecl ( ImportDecl D)

◆ VisitIndirectFieldDecl()

ExpectedDecl ASTNodeImporter::VisitIndirectFieldDecl ( IndirectFieldDecl D)

◆ VisitIndirectGotoStmt()

ExpectedStmt ASTNodeImporter::VisitIndirectGotoStmt ( IndirectGotoStmt S)

Definition at line 6974 of file ASTImporter.cpp.

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

◆ VisitInitListExpr()

ExpectedStmt ASTNodeImporter::VisitInitListExpr ( InitListExpr E)

◆ VisitIntegerLiteral()

ExpectedStmt ASTNodeImporter::VisitIntegerLiteral ( IntegerLiteral E)

◆ VisitLabelDecl()

ExpectedDecl ASTNodeImporter::VisitLabelDecl ( LabelDecl D)

◆ VisitLabelStmt()

ExpectedStmt ASTNodeImporter::VisitLabelStmt ( LabelStmt S)

Definition at line 6825 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)

◆ VisitMaterializeTemporaryExpr()

ExpectedStmt ASTNodeImporter::VisitMaterializeTemporaryExpr ( MaterializeTemporaryExpr E)

◆ VisitMemberExpr()

ExpectedStmt ASTNodeImporter::VisitMemberExpr ( MemberExpr E)

◆ 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 6765 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitObjCAtCatchStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtCatchStmt ( ObjCAtCatchStmt S)

Definition at line 7090 of file ASTImporter.cpp.

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

◆ VisitObjCAtFinallyStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtFinallyStmt ( ObjCAtFinallyStmt S)

Definition at line 7104 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitObjCAtSynchronizedStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtSynchronizedStmt ( ObjCAtSynchronizedStmt S)

Definition at line 7140 of file ASTImporter.cpp.

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

◆ VisitObjCAtThrowStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtThrowStmt ( ObjCAtThrowStmt S)

Definition at line 7153 of file ASTImporter.cpp.

References clang::ASTImporter::getToContext().

◆ VisitObjCAtTryStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtTryStmt ( ObjCAtTryStmt S)

◆ VisitObjCAutoreleasePoolStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAutoreleasePoolStmt ( ObjCAutoreleasePoolStmt S)

Definition at line 7164 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 7073 of file ASTImporter.cpp.

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

◆ VisitObjCImplementationDecl()

ExpectedDecl ASTNodeImporter::VisitObjCImplementationDecl ( ObjCImplementationDecl D)

◆ VisitObjCInterfaceDecl()

ExpectedDecl ASTNodeImporter::VisitObjCInterfaceDecl ( ObjCInterfaceDecl D)

◆ VisitObjCIvarDecl()

ExpectedDecl ASTNodeImporter::VisitObjCIvarDecl ( ObjCIvarDecl D)

◆ VisitObjCMethodDecl()

ExpectedDecl ASTNodeImporter::VisitObjCMethodDecl ( ObjCMethodDecl D)

◆ 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)

◆ VisitParenExpr()

ExpectedStmt ASTNodeImporter::VisitParenExpr ( ParenExpr E)

◆ VisitParenListExpr()

ExpectedStmt ASTNodeImporter::VisitParenListExpr ( ParenListExpr E)

◆ VisitParmVarDecl()

ExpectedDecl ASTNodeImporter::VisitParmVarDecl ( ParmVarDecl D)

◆ VisitPredefinedExpr()

ExpectedStmt ASTNodeImporter::VisitPredefinedExpr ( PredefinedExpr E)

◆ VisitRecordDecl()

ExpectedDecl ASTNodeImporter::VisitRecordDecl ( RecordDecl D)

Definition at line 2982 of file ASTImporter.cpp.

References clang::ExternalASTSource::CompleteType(), clang::CXXRecordDecl::LambdaNumbering::ContextDecl, 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::isDependentContext(), 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::setInstantiationOfMemberClass(), clang::CXXRecordDecl::setLambdaNumbering(), clang::Decl::setLexicalDeclContext(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::TagDecl::setQualifierInfo(), and clang::TypeDecl::setTypeForDecl().

◆ VisitReturnStmt()

ExpectedStmt ASTNodeImporter::VisitReturnStmt ( ReturnStmt S)

◆ 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)

◆ VisitSwitchStmt()

ExpectedStmt ASTNodeImporter::VisitSwitchStmt ( SwitchStmt S)

◆ VisitTemplateTemplateParmDecl()

ExpectedDecl ASTNodeImporter::VisitTemplateTemplateParmDecl ( TemplateTemplateParmDecl D)

◆ VisitTemplateTypeParmDecl()

ExpectedDecl ASTNodeImporter::VisitTemplateTypeParmDecl ( TemplateTypeParmDecl D)

◆ VisitTranslationUnitDecl()

ExpectedDecl ASTNodeImporter::VisitTranslationUnitDecl ( TranslationUnitDecl D)

◆ VisitType()

ExpectedType ASTNodeImporter::VisitType ( const Type T)

◆ VisitTypeAliasDecl()

ExpectedDecl ASTNodeImporter::VisitTypeAliasDecl ( TypeAliasDecl D)

Definition at line 2773 of file ASTImporter.cpp.

References VisitTypedefNameDecl().

◆ VisitTypeAliasTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitTypeAliasTemplateDecl ( TypeAliasTemplateDecl D)

◆ VisitTypedefDecl()

ExpectedDecl ASTNodeImporter::VisitTypedefDecl ( TypedefDecl D)

Definition at line 2769 of file ASTImporter.cpp.

References VisitTypedefNameDecl().

◆ VisitTypedefNameDecl()

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

◆ VisitTypeTraitExpr()

ExpectedStmt ASTNodeImporter::VisitTypeTraitExpr ( TypeTraitExpr E)

◆ VisitUnaryExprOrTypeTraitExpr()

ExpectedStmt ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr ( UnaryExprOrTypeTraitExpr E)

◆ VisitUnaryOperator()

ExpectedStmt ASTNodeImporter::VisitUnaryOperator ( UnaryOperator E)

◆ VisitUnresolvedLookupExpr()

ExpectedStmt ASTNodeImporter::VisitUnresolvedLookupExpr ( UnresolvedLookupExpr E)

◆ VisitUnresolvedMemberExpr()

ExpectedStmt ASTNodeImporter::VisitUnresolvedMemberExpr ( UnresolvedMemberExpr E)

◆ 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)

◆ VisitVAArgExpr()

ExpectedStmt ASTNodeImporter::VisitVAArgExpr ( VAArgExpr E)

◆ VisitVarDecl()

ExpectedDecl ASTNodeImporter::VisitVarDecl ( VarDecl D)

◆ VisitVarTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitVarTemplateDecl ( VarTemplateDecl D)

◆ VisitVarTemplateSpecializationDecl()

ExpectedDecl ASTNodeImporter::VisitVarTemplateSpecializationDecl ( VarTemplateSpecializationDecl D)

Definition at line 6386 of file ASTImporter.cpp.

References clang::VarTemplateDecl::AddSpecialization(), clang::TemplateArgumentList::asArray(), clang::VarTemplateDecl::findSpecialization(), clang::Decl::getAccess(), clang::DeclaratorDecl::getBeginLoc(), clang::getCanonicalForwardRedeclChain(), clang::Decl::getDeclContext(), clang::VarDecl::getDefinition(), clang::Decl::getLocation(), clang::VarTemplateSpecializationDecl::getMostRecentDecl(), 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(), clang::DeclContext::isRecord(), IsStructuralMatch(), clang::VarDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::Decl::setAccess(), clang::VarDecl::setConstexpr(), clang::VarTemplateSpecializationDecl::setPointOfInstantiation(), clang::Redeclarable< decl_type >::setPreviousDecl(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarTemplateSpecializationDecl::setSpecializationKind(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::ValueDecl::setType(), and clang::DeclaratorDecl::setTypeSourceInfo().

◆ VisitWhileStmt()

ExpectedStmt ASTNodeImporter::VisitWhileStmt ( WhileStmt S)

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