clang 10.0.0git

Classes | Public Types | Public Member Functions | List of all members
clang::ASTNodeImporter Class Reference
Inheritance diagram for clang::ASTNodeImporter:
[legend]
Collaboration diagram for clang::ASTNodeImporter:
[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 | VisitDecltypeType (const DecltypeType *T)
ExpectedType | VisitUnaryTransformType (const UnaryTransformType *T)
ExpectedType | VisitAutoType (const AutoType *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 | 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, 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< CXXCastPath > | ImportCastPath (CastExpr *E)
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 (const TemplateArgument *FromArgs, unsigned NumFromArgs, SmallVectorImpl< TemplateArgument > &ToArgs)
Expected< TemplateArgument > | ImportTemplateArgument (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< FunctionTemplateAndArgsTy > | ImportFunctionTemplateWithTemplateArgsFromSpecialization (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)
template<typename T >
bool | hasSameVisibilityContext (T *Found, T *From)
bool | IsStructuralMatch (Decl *From, Decl *To, bool Complain)
bool | IsStructuralMatch (RecordDecl *FromRecord, RecordDecl *ToRecord, bool Complain=true)
bool | IsStructuralMatch (VarDecl *FromVar, VarDecl *ToVar, bool Complain=true)
bool | IsStructuralMatch (EnumDecl *FromEnum, EnumDecl *ToRecord)
bool | IsStructuralMatch (EnumConstantDecl *FromEC, EnumConstantDecl *ToEC)
bool | IsStructuralMatch (FunctionTemplateDecl *From, FunctionTemplateDecl *To)
bool | IsStructuralMatch (FunctionDecl *From, FunctionDecl *To)
bool | IsStructuralMatch (ClassTemplateDecl *From, ClassTemplateDecl *To)
bool | IsStructuralMatch (VarTemplateDecl *From, VarTemplateDecl *To)
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 | 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 | 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 | 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 | VisitVAArgExpr (VAArgExpr *E)
ExpectedStmt | VisitChooseExpr (ChooseExpr *E)
ExpectedStmt | VisitGNUNullExpr (GNUNullExpr *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 | 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)
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< TemplateArgument > | import (const TemplateArgument &From)
template<>
Expected< TemplateArgumentLoc > | import (const TemplateArgumentLoc &TALoc)
template<>
Expected< DeclGroupRef > | import (const DeclGroupRef &DG)
template<>
Expected< ASTNodeImporter::Designator > | import (const Designator &D)
template<>
Expected< LambdaCapture > | import (const LambdaCapture &From)
template<>
bool | hasSameVisibilityContext (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. More...
ExpectedType | VisitType (const Type *)
| Method called if `ImpClass` doesn't provide specific handler for some type class. More...
Public Member Functions inherited from clang::declvisitor::Base< std::add_pointer, ASTNodeImporter, ExpectedDecl >
ExpectedDecl | Visit (PTR(Decl) D)
ExpectedDecl | VisitDecl (PTR(Decl) D)
Public Member Functions inherited from clang::StmtVisitorBase< std::add_pointer, ASTNodeImporter, ExpectedStmt, ParamTys... >
ExpectedStmt | 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) ExpectedStmt VisitStmt(PTR(Stmt) Node

## Additional Inherited Members
Public Attributes inherited from clang::StmtVisitorBase< std::add_pointer, ASTNodeImporter, ExpectedStmt, ParamTys... >
ParamTys | P

## Detailed Description

Definition at line 140 of file ASTImporter.cpp.

## Member Typedef Documentation

## ◆ Designator

using clang::ASTNodeImporter::Designator = DesignatedInitExpr::Designator

Definition at line 412 of file ASTImporter.cpp.

## ◆ FunctionTemplateAndArgsTy

using clang::ASTNodeImporter::FunctionTemplateAndArgsTy = std::tuple<FunctionTemplateDecl *, TemplateArgsTy>

Definition at line 462 of file ASTImporter.cpp.

## ◆ TemplateArgsTy

using clang::ASTNodeImporter::TemplateArgsTy = SmallVector<TemplateArgument, 8>

Definition at line 460 of file ASTImporter.cpp.

## Member Enumeration Documentation

## ◆ ImportDefinitionKind

enum clang::ASTNodeImporter::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 415 of file ASTImporter.cpp.

## Constructor & Destructor Documentation

## ◆ ASTNodeImporter()

clang::ASTNodeImporter::ASTNodeImporter | ( | ASTImporter & | Importer | ) |
| inline explicit

Definition at line 344 of file ASTImporter.cpp.

References clang::ImportError::Error.

## Member Function Documentation

## ◆ FindFunctionTemplateSpecialization()

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

Definition at line 3069 of file ASTImporter.cpp.

References clang::FunctionTemplateDecl::findSpecialization().

## ◆ hasAutoReturnTypeDeclaredInside()

bool ASTNodeImporter::hasAutoReturnTypeDeclaredInside | ( | FunctionDecl * | D | ) |

Definition at line 3106 of file ASTImporter.cpp.

References clang::Type::getAs(), clang::Type::getContainedAutoType(), clang::Decl::getDeclContext(), clang::Decl::getLexicalDeclContext(), clang::FunctionType::getReturnType(), clang::ValueDecl::getType(), isAncestorDeclContextOf(), and clang::QualType::isNull().

## ◆ hasSameVisibilityContext() [1/2]

template<typename T >

bool clang::ASTNodeImporter::hasSameVisibilityContext | ( | T * | Found,
|  | T * | From
| ) |  |

Definition at line 987 of file ASTImporter.cpp.

## ◆ hasSameVisibilityContext() [2/2]

template<>

bool clang::ASTNodeImporter::hasSameVisibilityContext | ( | TypedefNameDecl * | Found,
|  | TypedefNameDecl * | From
| ) |  |

Definition at line 1000 of file ASTImporter.cpp.

References clang::Decl::getTranslationUnitDecl(), and clang::Decl::isInAnonymousNamespace().

## ◆ import() [1/6]

template<>

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

Definition at line 757 of file ASTImporter.cpp.

References clang::TemplateParameterList::Create(), clang::ImportError::Error, clang::TemplateParameterList::getLAngleLoc(), clang::TemplateParameterList::getRAngleLoc(), clang::TemplateParameterList::getRequiresClause(), clang::TemplateParameterList::getTemplateLoc(), and clang::TemplateParameterList::size().

## ◆ import() [2/6]

template<>

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

Definition at line 787 of file ASTImporter.cpp.

References clang::TemplateArgument::Declaration, clang::ImportError::Error, clang::TemplateArgument::Expression, clang::TemplateArgument::getAsDecl(), clang::TemplateArgument::getAsExpr(), clang::TemplateArgument::getAsTemplate(), clang::TemplateArgument::getAsTemplateOrTemplatePattern(), clang::TemplateArgument::getAsType(), clang::TemplateArgument::getIntegralType(), clang::TemplateArgument::getKind(), clang::TemplateArgument::getNullPtrType(), clang::TemplateArgument::getNumTemplateExpansions(), clang::TemplateArgument::getParamTypeForDecl(), clang::TemplateArgument::Integral, clang::TemplateArgument::Null, clang::TemplateArgument::NullPtr, clang::TemplateArgument::Pack, clang::TemplateArgument::pack_begin(), clang::TemplateArgument::pack_size(), clang::TemplateArgument::Template, clang::TemplateArgument::TemplateExpansion, and clang::TemplateArgument::Type.

## ◆ import() [3/6]

template<>

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

Definition at line 864 of file ASTImporter.cpp.

References clang::TemplateArgument::Expression, clang::TemplateArgumentLoc::getArgument(), clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgumentLocInfo::getAsTypeSourceInfo(), clang::TemplateArgument::getKind(), clang::TemplateArgumentLoc::getLocInfo(), clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc(), clang::TemplateArgumentLocInfo::getTemplateNameLoc(), clang::TemplateArgumentLocInfo::getTemplateQualifierLoc(), and clang::TemplateArgument::Type.

## ◆ import() [4/6]

template<>

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

Definition at line 906 of file ASTImporter.cpp.

References clang::DeclGroupRef::begin(), clang::DeclGroupRef::Create(), clang::DeclGroupRef::end(), and clang::DeclGroupRef::isNull().

## ◆ import() [5/6]

template<>

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

Definition at line 925 of file ASTImporter.cpp.

References clang::DesignatedInitExpr::Designator::getDotLoc(), clang::DesignatedInitExpr::Designator::getEllipsisLoc(), clang::DesignatedInitExpr::Designator::getFieldLoc(), clang::DesignatedInitExpr::Designator::getFieldName(), clang::DesignatedInitExpr::Designator::getFirstExprIndex(), clang::DesignatedInitExpr::Designator::getLBracketLoc(), clang::DesignatedInitExpr::Designator::getRBracketLoc(), clang::DesignatedInitExpr::Designator::isArrayDesignator(), clang::DesignatedInitExpr::Designator::isArrayRangeDesignator(), and clang::DesignatedInitExpr::Designator::isFieldDesignator().

## ◆ import() [6/6]

template<>

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

Definition at line 963 of file ASTImporter.cpp.

References clang::LambdaCapture::capturesVariable(), clang::ImportError::Error, clang::LambdaCapture::getCapturedVar(), clang::LambdaCapture::getCaptureKind(), clang::LambdaCapture::getEllipsisLoc(), clang::LambdaCapture::getLocation(), clang::LambdaCapture::isImplicit(), and clang::LambdaCapture::isPackExpansion().

## ◆ ImportArrayChecked() [1/2]

template<typename IIter , typename OIter >

Error clang::ASTNodeImporter::ImportArrayChecked | ( | IIter | Ibegin,
|  | IIter | Iend,
|  | OIter | Obegin
| ) |  |
| inline

Definition at line 661 of file ASTImporter.cpp.

References clang::ast_matchers::type.

## ◆ ImportArrayChecked() [2/2]

template<typename InContainerTy , typename OIter >

Error clang::ASTNodeImporter::ImportArrayChecked | ( | const InContainerTy & | InContainer,
|  | OIter | Obegin
| ) |  |
| inline

Definition at line 684 of file ASTImporter.cpp.

References clang::ImportError::Error.

## ◆ ImportCastPath()

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

Definition at line 6919 of file ASTImporter.cpp.

References clang::CastExpr::path_begin(), and clang::CastExpr::path_end().

## ◆ ImportContainerChecked()

template<typename InContainerTy , typename OutContainerTy >

Error clang::ASTNodeImporter::ImportContainerChecked | ( | const InContainerTy & | InContainer,
|  | OutContainerTy & | OutContainer
| ) |  |
| inline

Definition at line 677 of file ASTImporter.cpp.

## ◆ ImportDeclarationNameLoc()

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

Definition at line 1688 of file ASTImporter.cpp.

References clang::DeclarationName::CXXConstructorName, clang::DeclarationName::CXXConversionFunctionName, clang::DeclarationName::CXXDeductionGuideName, clang::DeclarationName::CXXDestructorName, clang::DeclarationName::CXXLiteralOperatorName, clang::DeclarationName::CXXOperatorName, clang::DeclarationName::CXXUsingDirective, clang::ImportError::Error, clang::DeclarationNameInfo::getCXXLiteralOperatorNameLoc(), clang::DeclarationNameInfo::getCXXOperatorNameRange(), clang::DeclarationNameInfo::getName(), clang::DeclarationNameInfo::getNamedTypeInfo(), clang::DeclarationName::getNameKind(), clang::DeclarationName::Identifier, clang::DeclarationName::ObjCMultiArgSelector, clang::DeclarationName::ObjCOneArgSelector, clang::DeclarationName::ObjCZeroArgSelector, clang::DeclarationNameInfo::setCXXLiteralOperatorNameLoc(), clang::DeclarationNameInfo::setCXXOperatorNameRange(), and clang::DeclarationNameInfo::setNamedTypeInfo().

## ◆ ImportDeclContext() [1/2]

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

Definition at line 1729 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::DeclContext::containsDecl(), clang::DeclContext::decls(), clang::ImportError::Error, clang::Type::getAs(), clang::RecordType::getDecl(), clang::Decl::getLexicalDeclContext(), clang::ValueDecl::getType(), clang::TagDecl::isCompleteDefinition(), and clang::DeclContext::removeDecl().

## ◆ ImportDeclContext() [2/2]

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

Definition at line 1841 of file ASTImporter.cpp.

References clang::Decl::getDeclContext(), and clang::Decl::getLexicalDeclContext().

## ◆ ImportDeclParts()

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

Definition at line 1604 of file ASTImporter.cpp.

## ◆ ImportDefaultArgOfParmVarDecl()

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

Definition at line 3954 of file ASTImporter.cpp.

References clang::ParmVarDecl::getDefaultArg(), clang::ParmVarDecl::getUninstantiatedDefaultArg(), clang::ParmVarDecl::hasDefaultArg(), clang::ParmVarDecl::hasInheritedDefaultArg(), clang::ParmVarDecl::hasUninstantiatedDefaultArg(), clang::ParmVarDecl::hasUnparsedDefaultArg(), clang::ParmVarDecl::isKNRPromoted(), clang::ParmVarDecl::setDefaultArg(), clang::ParmVarDecl::setHasInheritedDefaultArg(), clang::ParmVarDecl::setKNRPromoted(), clang::ParmVarDecl::setUninstantiatedDefaultArg(), and clang::ParmVarDecl::setUnparsedDefaultArg().

## ◆ ImportDefinition() [1/4]

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

Definition at line 1886 of file ASTImporter.cpp.

References clang::RecordDecl::completeDefinition(), clang::ImportError::Error, clang::RecordDecl::getDefinition(), clang::TagDecl::isBeingDefined(), clang::RecordDecl::isLambda(), clang::Result, clang::TagDecl::setCompleteDefinition(), setTypedefNameForAnonDecl(), and clang::TagDecl::startDefinition().

## ◆ ImportDefinition() [2/4]

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

Definition at line 2011 of file ASTImporter.cpp.

References clang::EnumDecl::completeDefinition(), clang::ImportError::Error, clang::EnumDecl::getDefinition(), clang::EnumDecl::getNumNegativeBits(), clang::EnumDecl::getNumPositiveBits(), clang::EnumDecl::getPromotionType(), clang::TagDecl::isBeingDefined(), setTypedefNameForAnonDecl(), and clang::TagDecl::startDefinition().

## ◆ ImportDefinition() [3/4]

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

Definition at line 4632 of file ASTImporter.cpp.

References clang::declaresSameEntity(), clang::ImportError::Error, clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getDefinition(), clang::ObjCInterfaceDecl::getImplementation(), clang::Decl::getLocation(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCInterfaceDecl::getSuperClassLoc(), clang::ObjCInterfaceDecl::getSuperClassTInfo(), clang::ObjCInterfaceDecl::known_categories(), clang::ObjCInterfaceDecl::protocol_begin(), clang::ObjCInterfaceDecl::protocol_end(), clang::ObjCInterfaceDecl::protocol_loc_begin(), clang::ObjCInterfaceDecl::setImplementation(), clang::ObjCInterfaceDecl::setProtocolList(), clang::ObjCInterfaceDecl::setSuperClass(), and clang::ObjCInterfaceDecl::startDefinition().

## ◆ ImportDefinition() [4/4]

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

Definition at line 4277 of file ASTImporter.cpp.

References clang::ImportError::Error, clang::ObjCProtocolDecl::getDefinition(), clang::ObjCProtocolDecl::protocol_begin(), clang::ObjCProtocolDecl::protocol_end(), clang::ObjCProtocolDecl::protocol_loc_begin(), clang::ObjCProtocolDecl::setProtocolList(), and clang::ObjCProtocolDecl::startDefinition().

## ◆ ImportDefinitionIfNeeded()

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

Definition at line 1655 of file ASTImporter.cpp.

References clang::ImportError::Error.

## ◆ ImportFunctionDeclBody()

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

Definition at line 3083 of file ASTImporter.cpp.

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

## ◆ ImportFunctionTemplateWithTemplateArgsFromSpecialization()

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

Definition at line 735 of file ASTImporter.cpp.

References clang::ImportError::Error, clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::Result, and clang::FunctionDecl::TK_FunctionTemplateSpecialization.

## ◆ ImportImplicitMethods()

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

Definition at line 1860 of file ASTImporter.cpp.

References clang::CXXRecordDecl::getDefinition(), clang::TagDecl::isCompleteDefinition(), and clang::CXXRecordDecl::methods().

## ◆ ImportInitializer()

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

Definition at line 1988 of file ASTImporter.cpp.

References clang::EvaluatedStmt::CheckedICE, clang::VarDecl::ensureEvaluatedStmt(), clang::VarDecl::getAnyInitializer(), clang::VarDecl::getInit(), clang::EvaluatedStmt::IsICE, clang::VarDecl::isInitICE(), clang::VarDecl::isInitKnownICE(), and clang::VarDecl::setInit().

## ◆ ImportObjCTypeParamList()

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

Definition at line 4734 of file ASTImporter.cpp.

References clang::ObjCTypeParamList::create().

## ◆ ImportOverriddenMethods()

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

Definition at line 8000 of file ASTImporter.cpp.

References clang::CXXMethodDecl::addOverriddenMethod(), clang::ImportError::Error, clang::CXXMethodDecl::getCanonicalDecl(), and clang::CXXMethodDecl::overridden_methods().

## ◆ ImportTemplateArgument()

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

Definition at line 2060 of file ASTImporter.cpp.

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

## ◆ ImportTemplateArgumentListInfo() [1/4]

template<typename InContainerTy >

Error ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const InContainerTy & | Container,
|  | TemplateArgumentListInfo & | ToTAInfo
| ) |  |

Definition at line 2065 of file ASTImporter.cpp.

Referenced by ImportTemplateArgumentListInfo().

## ◆ ImportTemplateArgumentListInfo() [2/4]

template<typename InContainerTy >

Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | SourceLocation | FromLAngleLoc,
|  | SourceLocation | FromRAngleLoc,
|  | const InContainerTy & | Container,
|  | TemplateArgumentListInfo & | Result
| ) |  |

Definition at line 701 of file ASTImporter.cpp.

## ◆ ImportTemplateArgumentListInfo() [3/4]

template<>

Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const TemplateArgumentListInfo & | From,
|  | TemplateArgumentListInfo & | Result
| ) |  |

Definition at line 719 of file ASTImporter.cpp.

References clang::ImportError::Error, ImportTemplateArgumentListInfo(), and clang::Result.

## ◆ ImportTemplateArgumentListInfo() [4/4]

template<>

Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const ASTTemplateArgumentListInfo & | From,
|  | TemplateArgumentListInfo & | Result
| ) |  |

Definition at line 727 of file ASTImporter.cpp.

References clang::Result.

## ◆ ImportTemplateArguments()

Error ASTNodeImporter::ImportTemplateArguments | ( | const TemplateArgument * | FromArgs,
|  | unsigned | NumFromArgs,
|  | SmallVectorImpl< TemplateArgument > & | ToArgs
| ) |  |

Definition at line 2045 of file ASTImporter.cpp.

## ◆ ImportTemplateInformation()

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

Definition at line 2983 of file ASTImporter.cpp.

References clang::UnresolvedSetImpl::addDecl(), clang::TemplateArgumentList::CreateCopy(), clang::ImportError::Error, clang::FunctionDecl::getDependentSpecializationInfo(), clang::FunctionDecl::getInstantiatedFromMemberFunction(), clang::FunctionDecl::getMemberSpecializationInfo(), clang::MemberSpecializationInfo::getPointOfInstantiation(), clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::FunctionDecl::getTemplateSpecializationKind(), clang::FunctionDecl::setDependentTemplateSpecialization(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::FunctionDecl::TK_DependentFunctionTemplateSpecialization, clang::FunctionDecl::TK_FunctionTemplate, clang::FunctionDecl::TK_FunctionTemplateSpecialization, clang::FunctionDecl::TK_MemberSpecialization, and clang::FunctionDecl::TK_NonTemplate.

## ◆ ImportTemplateParameterLists()

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

Definition at line 2967 of file ASTImporter.cpp.

References clang::DeclaratorDecl::getNumTemplateParameterLists(), clang::DeclaratorDecl::getTemplateParameterList(), and clang::DeclaratorDecl::setTemplateParameterListsInfo().

## ◆ IsStructuralMatch() [1/9]

bool ASTNodeImporter::IsStructuralMatch | ( | Decl * | From,
|  | Decl * | To,
|  | bool | Complain
| ) |  |

Definition at line 2082 of file ASTImporter.cpp.

References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().

## ◆ IsStructuralMatch() [2/9]

bool ASTNodeImporter::IsStructuralMatch | ( | RecordDecl * | FromRecord,
|  | RecordDecl * | ToRecord,
|  | bool | Complain = `true`
| ) |  |

Definition at line 2090 of file ASTImporter.cpp.

References clang::Decl::getASTContext(), getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().

## ◆ IsStructuralMatch() [3/9]

bool ASTNodeImporter::IsStructuralMatch | ( | VarDecl * | FromVar,
|  | VarDecl * | ToVar,
|  | bool | Complain = `true`
| ) |  |

Definition at line 2109 of file ASTImporter.cpp.

References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().

## ◆ IsStructuralMatch() [4/9]

bool ASTNodeImporter::IsStructuralMatch | ( | EnumDecl * | FromEnum,
|  | EnumDecl * | ToRecord
| ) |  |

Definition at line 2118 of file ASTImporter.cpp.

References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().

## ◆ IsStructuralMatch() [5/9]

bool ASTNodeImporter::IsStructuralMatch | ( | EnumConstantDecl * | FromEC,
|  | EnumConstantDecl * | ToEC
| ) |  |

Definition at line 2148 of file ASTImporter.cpp.

References clang::EnumConstantDecl::getInitVal().

## ◆ IsStructuralMatch() [6/9]

bool ASTNodeImporter::IsStructuralMatch | ( | FunctionTemplateDecl * | From,
|  | FunctionTemplateDecl * | To
| ) |  |

Definition at line 2131 of file ASTImporter.cpp.

References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().

## ◆ IsStructuralMatch() [7/9]

bool ASTNodeImporter::IsStructuralMatch | ( | FunctionDecl * | From,
|  | FunctionDecl * | To
| ) |  |

Definition at line 2140 of file ASTImporter.cpp.

References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().

## ◆ IsStructuralMatch() [8/9]

bool ASTNodeImporter::IsStructuralMatch | ( | ClassTemplateDecl * | From,
|  | ClassTemplateDecl * | To
| ) |  |

Definition at line 2158 of file ASTImporter.cpp.

References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().

## ◆ IsStructuralMatch() [9/9]

bool ASTNodeImporter::IsStructuralMatch | ( | VarTemplateDecl * | From,
|  | VarTemplateDecl * | To
| ) |  |

Definition at line 2167 of file ASTImporter.cpp.

References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().

## ◆ shouldForceImportDeclContext()

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

Definition at line 427 of file ASTImporter.cpp.

References clang::ImportError::Error, and clang::ASTImporter::isMinimalImport().

## ◆ VisitAccessSpecDecl()

ExpectedDecl ASTNodeImporter::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |

Definition at line 2217 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::Decl::getAccess(), clang::AccessSpecDecl::getColonLoc(), clang::Decl::getDeclContext(), clang::Decl::getLocation(), and clang::Decl::setLexicalDeclContext().

## ◆ VisitAddrLabelExpr()

ExpectedStmt ASTNodeImporter::VisitAddrLabelExpr | ( | AddrLabelExpr * | E | ) |

Definition at line 6653 of file ASTImporter.cpp.

References clang::AddrLabelExpr::getAmpAmpLoc(), clang::AddrLabelExpr::getLabel(), clang::AddrLabelExpr::getLabelLoc(), and clang::Expr::getType().

## ◆ VisitArrayInitIndexExpr()

ExpectedStmt ASTNodeImporter::VisitArrayInitIndexExpr | ( | ArrayInitIndexExpr * | E | ) |

Definition at line 7867 of file ASTImporter.cpp.

References clang::Expr::getType().

## ◆ VisitArrayInitLoopExpr()

ExpectedStmt ASTNodeImporter::VisitArrayInitLoopExpr | ( | ArrayInitLoopExpr * | E | ) |

Definition at line 7854 of file ASTImporter.cpp.

References clang::ArrayInitLoopExpr::getCommonExpr(), clang::ArrayInitLoopExpr::getSubExpr(), and clang::Expr::getType().

## ◆ VisitArraySubscriptExpr()

ExpectedStmt ASTNodeImporter::VisitArraySubscriptExpr | ( | ArraySubscriptExpr * | E | ) |

Definition at line 6882 of file ASTImporter.cpp.

References clang::ArraySubscriptExpr::getLHS(), clang::Expr::getObjectKind(), clang::ArraySubscriptExpr::getRBracketLoc(), clang::ArraySubscriptExpr::getRHS(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitArrayTypeTraitExpr()

ExpectedStmt ASTNodeImporter::VisitArrayTypeTraitExpr | ( | ArrayTypeTraitExpr * | E | ) |

Definition at line 6831 of file ASTImporter.cpp.

References clang::ArrayTypeTraitExpr::getBeginLoc(), clang::ArrayTypeTraitExpr::getDimensionExpression(), clang::ArrayTypeTraitExpr::getEndLoc(), clang::ArrayTypeTraitExpr::getQueriedTypeSourceInfo(), clang::ArrayTypeTraitExpr::getTrait(), clang::Expr::getType(), and clang::ArrayTypeTraitExpr::getValue().

## ◆ VisitAtomicExpr()

ExpectedStmt ASTNodeImporter::VisitAtomicExpr | ( | AtomicExpr * | E | ) |

Definition at line 6633 of file ASTImporter.cpp.

References clang::ImportError::Error, clang::AtomicExpr::getBuiltinLoc(), clang::AtomicExpr::getNumSubExprs(), clang::AtomicExpr::getOp(), clang::AtomicExpr::getRParenLoc(), clang::AtomicExpr::getSubExprs(), and clang::Expr::getType().

## ◆ VisitAtomicType()

ExpectedType ASTNodeImporter::VisitAtomicType | ( | const AtomicType * | T | ) |

Definition at line 1021 of file ASTImporter.cpp.

References clang::AtomicType::getValueType().

## ◆ VisitAttributedStmt()

ExpectedStmt ASTNodeImporter::VisitAttributedStmt | ( | AttributedStmt * | S | ) |

Definition at line 6019 of file ASTImporter.cpp.

## ◆ VisitAttributedType()

ExpectedType ASTNodeImporter::VisitAttributedType | ( | const AttributedType * | T | ) |

Definition at line 1424 of file ASTImporter.cpp.

References clang::AttributedType::getAttrKind(), clang::AttributedType::getEquivalentType(), and clang::AttributedType::getModifiedType().

## ◆ VisitAutoType()

ExpectedType ASTNodeImporter::VisitAutoType | ( | const AutoType * | T | ) |

Definition at line 1363 of file ASTImporter.cpp.

References clang::ImportError::Error, clang::DeducedType::getDeducedType(), clang::AutoType::getKeyword(), clang::AutoType::getTypeConstraintArguments(), and clang::AutoType::getTypeConstraintConcept().

## ◆ VisitBinaryConditionalOperator()

ExpectedStmt ASTNodeImporter::VisitBinaryConditionalOperator | ( | BinaryConditionalOperator * | E | ) |

Definition at line 6809 of file ASTImporter.cpp.

References clang::AbstractConditionalOperator::getColonLoc(), clang::BinaryConditionalOperator::getCommon(), clang::BinaryConditionalOperator::getCond(), clang::BinaryConditionalOperator::getFalseExpr(), clang::Expr::getObjectKind(), clang::BinaryConditionalOperator::getOpaqueValue(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::BinaryConditionalOperator::getTrueExpr(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitBinaryOperator()

ExpectedStmt ASTNodeImporter::VisitBinaryOperator | ( | BinaryOperator * | E | ) |

Definition at line 6776 of file ASTImporter.cpp.

References clang::BinaryOperator::getFPFeatures(), clang::BinaryOperator::getLHS(), clang::Expr::getObjectKind(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getRHS(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitBlockPointerType()

ExpectedType ASTNodeImporter::VisitBlockPointerType | ( | const BlockPointerType * | T | ) |

Definition at line 1106 of file ASTImporter.cpp.

References clang::BlockPointerType::getPointeeType().

## ◆ VisitBreakStmt()

ExpectedStmt ASTNodeImporter::VisitBreakStmt | ( | BreakStmt * | S | ) |

Definition at line 6177 of file ASTImporter.cpp.

## ◆ VisitBuiltinTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitBuiltinTemplateDecl | ( | BuiltinTemplateDecl * | D | ) |

Definition at line 4617 of file ASTImporter.cpp.

References clang::BTK__make_integer_seq, clang::BTK__type_pack_element, and clang::BuiltinTemplateDecl::getBuiltinTemplateKind().

## ◆ VisitBuiltinType()

ExpectedType ASTNodeImporter::VisitBuiltinType | ( | const BuiltinType * | T | ) |

Definition at line 1029 of file ASTImporter.cpp.

References clang::BuiltinType::getKind().

## ◆ VisitCallExpr()

ExpectedStmt ASTNodeImporter::VisitCallExpr | ( | CallExpr * | E | ) |

Definition at line 7710 of file ASTImporter.cpp.

References clang::CallExpr::arguments(), clang::CXXOperatorCallExpr::Create(), clang::CallExpr::Create(), clang::ImportError::Error, clang::CallExpr::getADLCallKind(), clang::CallExpr::getCallee(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitCaseStmt()

ExpectedStmt ASTNodeImporter::VisitCaseStmt | ( | CaseStmt * | S | ) |

Definition at line 5972 of file ASTImporter.cpp.

## ◆ VisitCharacterLiteral()

ExpectedStmt ASTNodeImporter::VisitCharacterLiteral | ( | CharacterLiteral * | E | ) |

Definition at line 6587 of file ASTImporter.cpp.

References clang::CharacterLiteral::getKind(), clang::CharacterLiteral::getLocation(), clang::Expr::getType(), and clang::CharacterLiteral::getValue().

## ◆ VisitChooseExpr()

ExpectedStmt ASTNodeImporter::VisitChooseExpr | ( | ChooseExpr * | E | ) |

Definition at line 6400 of file ASTImporter.cpp.

References clang::ChooseExpr::getBuiltinLoc(), clang::ChooseExpr::getCond(), clang::ChooseExpr::getLHS(), clang::Expr::getObjectKind(), clang::ChooseExpr::getRHS(), clang::ChooseExpr::getRParenLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ChooseExpr::isConditionDependent(), clang::ChooseExpr::isConditionTrue(), clang::Expr::isTypeDependent(), and clang::Expr::isValueDependent().

## ◆ VisitClassTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |

Definition at line 5234 of file ASTImporter.cpp.

## ◆ VisitClassTemplateSpecializationDecl()

ExpectedDecl ASTNodeImporter::VisitClassTemplateSpecializationDecl | ( | ClassTemplateSpecializationDecl * | D | ) |

Definition at line 5345 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::TemplateArgumentList::data(), clang::ImportError::Error, 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::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::getTemplateKeywordLoc(), clang::ClassTemplatePartialSpecializationDecl::getTemplateParameters(), clang::CXXRecordDecl::getTemplateSpecializationKind(), clang::ClassTemplateSpecializationDecl::getTypeAsWritten(), clang::TagDecl::isCompleteDefinition(), clang::ClassTemplateSpecializationDecl::isExplicitInstantiationOrSpecialization(), clang::TagDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::CXXRecordDecl::methods(), clang::ImportError::NameConflict, clang::TagDecl::setBraceRange(), clang::ClassTemplateSpecializationDecl::setExternLoc(), 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 | ) |

Definition at line 1090 of file ASTImporter.cpp.

References clang::ComplexType::getElementType().

## ◆ VisitCompoundAssignOperator()

ExpectedStmt ASTNodeImporter::VisitCompoundAssignOperator | ( | CompoundAssignOperator * | E | ) |

Definition at line 6899 of file ASTImporter.cpp.

References clang::CompoundAssignOperator::getComputationLHSType(), clang::CompoundAssignOperator::getComputationResultType(), clang::BinaryOperator::getFPFeatures(), clang::BinaryOperator::getLHS(), clang::Expr::getObjectKind(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getRHS(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitCompoundLiteralExpr()

ExpectedStmt ASTNodeImporter::VisitCompoundLiteralExpr | ( | CompoundLiteralExpr * | E | ) |

Definition at line 6615 of file ASTImporter.cpp.

References clang::CompoundLiteralExpr::getInitializer(), clang::CompoundLiteralExpr::getLParenLoc(), clang::Expr::getType(), clang::CompoundLiteralExpr::getTypeSourceInfo(), clang::Expr::getValueKind(), and clang::CompoundLiteralExpr::isFileScope().

## ◆ VisitCompoundStmt()

ExpectedStmt ASTNodeImporter::VisitCompoundStmt | ( | CompoundStmt * | S | ) |

Definition at line 5953 of file ASTImporter.cpp.

## ◆ VisitConditionalOperator()

ExpectedStmt ASTNodeImporter::VisitConditionalOperator | ( | ConditionalOperator * | E | ) |

Definition at line 6792 of file ASTImporter.cpp.

References clang::AbstractConditionalOperator::getColonLoc(), clang::ConditionalOperator::getCond(), clang::ConditionalOperator::getLHS(), clang::Expr::getObjectKind(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::ConditionalOperator::getRHS(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitConstantArrayType()

ExpectedType ASTNodeImporter::VisitConstantArrayType | ( | const ConstantArrayType * | T | ) |

Definition at line 1151 of file ASTImporter.cpp.

References clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::ConstantArrayType::getSize(), clang::ConstantArrayType::getSizeExpr(), and clang::ArrayType::getSizeModifier().

## ◆ VisitConstantExpr()

ExpectedStmt ASTNodeImporter::VisitConstantExpr | ( | ConstantExpr * | E | ) |

Definition at line 6668 of file ASTImporter.cpp.

References clang::APValue::ComplexFloat, clang::APValue::ComplexInt, clang::ConstantExpr::Create(), clang::APValue::FixedPoint, clang::APValue::Float, clang::ConstantExpr::getAPValueResult(), clang::ConstantExpr::getResultAPValueKind(), clang::FullExpr::getSubExpr(), and clang::APValue::Int.

## ◆ VisitContinueStmt()

ExpectedStmt ASTNodeImporter::VisitContinueStmt | ( | ContinueStmt * | S | ) |

Definition at line 6170 of file ASTImporter.cpp.

## ◆ VisitCXXBindTemporaryExpr()

ExpectedStmt ASTNodeImporter::VisitCXXBindTemporaryExpr | ( | CXXBindTemporaryExpr * | E | ) |

Definition at line 7159 of file ASTImporter.cpp.

References clang::CXXTemporary::Create(), clang::CXXBindTemporaryExpr::Create(), clang::CXXTemporary::getDestructor(), clang::CXXBindTemporaryExpr::getSubExpr(), and clang::CXXBindTemporaryExpr::getTemporary().

## ◆ VisitCXXBoolLiteralExpr()

ExpectedStmt ASTNodeImporter::VisitCXXBoolLiteralExpr | ( | CXXBoolLiteralExpr * | E | ) |

Definition at line 7412 of file ASTImporter.cpp.

References clang::CXXBoolLiteralExpr::getLocation(), clang::Expr::getType(), and clang::CXXBoolLiteralExpr::getValue().

## ◆ VisitCXXCatchStmt()

ExpectedStmt ASTNodeImporter::VisitCXXCatchStmt | ( | CXXCatchStmt * | S | ) |

Definition at line 6199 of file ASTImporter.cpp.

## ◆ VisitCXXConstructExpr()

ExpectedStmt ASTNodeImporter::VisitCXXConstructExpr | ( | CXXConstructExpr * | E | ) |

Definition at line 7341 of file ASTImporter.cpp.

References clang::CXXConstructExpr::arguments(), clang::CXXConstructExpr::Create(), clang::ImportError::Error, clang::CXXConstructExpr::getConstructionKind(), clang::CXXConstructExpr::getConstructor(), clang::CXXConstructExpr::getLocation(), clang::CXXConstructExpr::getNumArgs(), clang::CXXConstructExpr::getParenOrBraceRange(), clang::Expr::getType(), clang::CXXConstructExpr::hadMultipleCandidates(), clang::CXXConstructExpr::isElidable(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().

## ◆ VisitCXXConstructorDecl()

ExpectedDecl ASTNodeImporter::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |

Definition at line 3493 of file ASTImporter.cpp.

## ◆ VisitCXXConversionDecl()

ExpectedDecl ASTNodeImporter::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |

Definition at line 3501 of file ASTImporter.cpp.

## ◆ VisitCXXDefaultArgExpr()

ExpectedStmt ASTNodeImporter::VisitCXXDefaultArgExpr | ( | CXXDefaultArgExpr * | E | ) |

Definition at line 7110 of file ASTImporter.cpp.

References clang::CXXDefaultArgExpr::Create(), clang::ImportError::Error, clang::ParmVarDecl::getDefaultArg(), clang::CXXDefaultArgExpr::getParam(), clang::CXXDefaultArgExpr::getUsedContext(), and clang::CXXDefaultArgExpr::getUsedLocation().

## ◆ VisitCXXDefaultInitExpr()

ExpectedStmt ASTNodeImporter::VisitCXXDefaultInitExpr | ( | CXXDefaultInitExpr * | E | ) |

Definition at line 7874 of file ASTImporter.cpp.

References clang::CXXDefaultInitExpr::Create(), clang::CXXDefaultInitExpr::getBeginLoc(), clang::CXXDefaultInitExpr::getField(), and clang::CXXDefaultInitExpr::getUsedContext().

## ◆ VisitCXXDeleteExpr()

ExpectedStmt ASTNodeImporter::VisitCXXDeleteExpr | ( | CXXDeleteExpr * | E | ) |

Definition at line 7323 of file ASTImporter.cpp.

References clang::CXXDeleteExpr::doesUsualArrayDeleteWantSize(), clang::CXXDeleteExpr::getArgument(), clang::CXXDeleteExpr::getBeginLoc(), clang::CXXDeleteExpr::getOperatorDelete(), clang::Expr::getType(), clang::CXXDeleteExpr::isArrayForm(), clang::CXXDeleteExpr::isArrayFormAsWritten(), and clang::CXXDeleteExpr::isGlobalDelete().

## ◆ VisitCXXDependentScopeMemberExpr()

ExpectedStmt ASTNodeImporter::VisitCXXDependentScopeMemberExpr | ( | CXXDependentScopeMemberExpr * | E | ) |

Definition at line 7507 of file ASTImporter.cpp.

References clang::CXXDependentScopeMemberExpr::Create(), clang::ImportError::Error, clang::CXXDependentScopeMemberExpr::getBase(), clang::CXXDependentScopeMemberExpr::getFirstQualifierFoundInScope(), clang::CXXDependentScopeMemberExpr::getLAngleLoc(), clang::CXXDependentScopeMemberExpr::getMember(), clang::CXXDependentScopeMemberExpr::getMemberLoc(), clang::CXXDependentScopeMemberExpr::getMemberNameInfo(), clang::CXXDependentScopeMemberExpr::getOperatorLoc(), clang::CXXDependentScopeMemberExpr::getQualifierLoc(), clang::CXXDependentScopeMemberExpr::getRAngleLoc(), clang::CXXDependentScopeMemberExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::CXXDependentScopeMemberExpr::hasExplicitTemplateArgs(), clang::CXXDependentScopeMemberExpr::isArrow(), clang::CXXDependentScopeMemberExpr::isImplicitAccess(), and clang::CXXDependentScopeMemberExpr::template_arguments().

## ◆ VisitCXXDestructorDecl()

ExpectedDecl ASTNodeImporter::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |

Definition at line 3497 of file ASTImporter.cpp.

## ◆ VisitCXXForRangeStmt()

ExpectedStmt ASTNodeImporter::VisitCXXForRangeStmt | ( | CXXForRangeStmt * | S | ) |

Definition at line 6236 of file ASTImporter.cpp.

## ◆ VisitCXXInheritedCtorInitExpr()

ExpectedStmt ASTNodeImporter::VisitCXXInheritedCtorInitExpr | ( | CXXInheritedCtorInitExpr * | E | ) |

Definition at line 7838 of file ASTImporter.cpp.

References clang::CXXInheritedCtorInitExpr::constructsVBase(), clang::CXXInheritedCtorInitExpr::getConstructor(), clang::CXXInheritedCtorInitExpr::getLocation(), clang::Expr::getType(), and clang::CXXInheritedCtorInitExpr::inheritedFromVBase().

## ◆ VisitCXXMemberCallExpr()

ExpectedStmt ASTNodeImporter::VisitCXXMemberCallExpr | ( | CXXMemberCallExpr * | E | ) |

Definition at line 7380 of file ASTImporter.cpp.

References clang::CallExpr::arguments(), clang::CXXMemberCallExpr::Create(), clang::ImportError::Error, clang::CallExpr::getCallee(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitCXXMethodDecl()

ExpectedDecl ASTNodeImporter::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |

Definition at line 3489 of file ASTImporter.cpp.

## ◆ VisitCXXNamedCastExpr()

ExpectedStmt ASTNodeImporter::VisitCXXNamedCastExpr | ( | CXXNamedCastExpr * | E | ) |

Definition at line 7891 of file ASTImporter.cpp.

References clang::CXXStaticCastExpr::Create(), clang::CXXDynamicCastExpr::Create(), clang::CXXReinterpretCastExpr::Create(), clang::CXXConstCastExpr::Create(), clang::CXXNamedCastExpr::getAngleBrackets(), clang::CastExpr::getCastKind(), clang::CXXNamedCastExpr::getOperatorLoc(), clang::CXXNamedCastExpr::getRParenLoc(), clang::CastExpr::getSubExpr(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), and clang::Expr::getValueKind().

## ◆ VisitCXXNewExpr()

ExpectedStmt ASTNodeImporter::VisitCXXNewExpr | ( | CXXNewExpr * | E | ) |

Definition at line 7291 of file ASTImporter.cpp.

References clang::CXXNewExpr::Create(), clang::CXXNewExpr::doesUsualArrayDeleteWantSize(), clang::ImportError::Error, clang::CXXNewExpr::getAllocatedTypeSourceInfo(), clang::CXXNewExpr::getArraySize(), clang::CXXNewExpr::getDirectInitRange(), clang::CXXNewExpr::getInitializationStyle(), clang::CXXNewExpr::getInitializer(), clang::CXXNewExpr::getNumPlacementArgs(), clang::CXXNewExpr::getOperatorDelete(), clang::CXXNewExpr::getOperatorNew(), clang::CXXNewExpr::getSourceRange(), clang::Expr::getType(), clang::CXXNewExpr::getTypeIdParens(), clang::CXXNewExpr::isGlobalNew(), clang::CXXNewExpr::passAlignment(), and clang::CXXNewExpr::placement_arguments().

## ◆ VisitCXXNoexceptExpr()

ExpectedStmt ASTNodeImporter::VisitCXXNoexceptExpr | ( | CXXNoexceptExpr * | E | ) |

Definition at line 7075 of file ASTImporter.cpp.

References clang::CT_Can, clang::CT_Cannot, clang::CT_Dependent, clang::CXXNoexceptExpr::getBeginLoc(), clang::CXXNoexceptExpr::getEndLoc(), clang::CXXNoexceptExpr::getOperand(), clang::Expr::getType(), clang::CXXNoexceptExpr::getValue(), and clang::Expr::isValueDependent().

## ◆ VisitCXXNullPtrLiteralExpr()

ExpectedStmt ASTNodeImporter::VisitCXXNullPtrLiteralExpr | ( | CXXNullPtrLiteralExpr * | E | ) |

Definition at line 6533 of file ASTImporter.cpp.

References clang::CXXNullPtrLiteralExpr::getLocation(), and clang::Expr::getType().

## ◆ VisitCXXPseudoDestructorExpr()

ExpectedStmt ASTNodeImporter::VisitCXXPseudoDestructorExpr | ( | CXXPseudoDestructorExpr * | E | ) |

Definition at line 7473 of file ASTImporter.cpp.

References clang::CXXPseudoDestructorExpr::getBase(), clang::CXXPseudoDestructorExpr::getColonColonLoc(), clang::CXXPseudoDestructorExpr::getDestroyedTypeIdentifier(), clang::CXXPseudoDestructorExpr::getDestroyedTypeInfo(), clang::CXXPseudoDestructorExpr::getDestroyedTypeLoc(), clang::CXXPseudoDestructorExpr::getOperatorLoc(), clang::CXXPseudoDestructorExpr::getQualifierLoc(), clang::CXXPseudoDestructorExpr::getScopeTypeInfo(), clang::CXXPseudoDestructorExpr::getTildeLoc(), and clang::CXXPseudoDestructorExpr::isArrow().

## ◆ VisitCXXScalarValueInitExpr()

ExpectedStmt ASTNodeImporter::VisitCXXScalarValueInitExpr | ( | CXXScalarValueInitExpr * | E | ) |

Definition at line 7143 of file ASTImporter.cpp.

References clang::CXXScalarValueInitExpr::getRParenLoc(), clang::Expr::getType(), and clang::CXXScalarValueInitExpr::getTypeSourceInfo().

## ◆ VisitCXXStdInitializerListExpr()

ExpectedStmt ASTNodeImporter::VisitCXXStdInitializerListExpr | ( | CXXStdInitializerListExpr * | E | ) |

Definition at line 7824 of file ASTImporter.cpp.

References clang::CXXStdInitializerListExpr::getSubExpr(), and clang::Expr::getType().

## ◆ VisitCXXTemporaryObjectExpr()

ExpectedStmt ASTNodeImporter::VisitCXXTemporaryObjectExpr | ( | CXXTemporaryObjectExpr * | E | ) |

Definition at line 7174 of file ASTImporter.cpp.

References clang::CXXConstructExpr::arguments(), clang::CXXTemporaryObjectExpr::Create(), clang::ImportError::Error, clang::CXXConstructExpr::getConstructor(), clang::CXXConstructExpr::getNumArgs(), clang::CXXConstructExpr::getParenOrBraceRange(), clang::Expr::getType(), clang::CXXTemporaryObjectExpr::getTypeSourceInfo(), clang::CXXConstructExpr::hadMultipleCandidates(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().

## ◆ VisitCXXThisExpr()

ExpectedStmt ASTNodeImporter::VisitCXXThisExpr | ( | CXXThisExpr * | E | ) |

Definition at line 7399 of file ASTImporter.cpp.

References clang::CXXThisExpr::getLocation(), clang::Expr::getType(), and clang::CXXThisExpr::isImplicit().

## ◆ VisitCXXThrowExpr()

ExpectedStmt ASTNodeImporter::VisitCXXThrowExpr | ( | CXXThrowExpr * | E | ) |

Definition at line 7096 of file ASTImporter.cpp.

References clang::CXXThrowExpr::getSubExpr(), clang::CXXThrowExpr::getThrowLoc(), clang::Expr::getType(), and clang::CXXThrowExpr::isThrownVariableInScope().

## ◆ VisitCXXTryStmt()

ExpectedStmt ASTNodeImporter::VisitCXXTryStmt | ( | CXXTryStmt * | S | ) |

Definition at line 6214 of file ASTImporter.cpp.

## ◆ VisitCXXTypeidExpr()

ExpectedStmt ASTNodeImporter::VisitCXXTypeidExpr | ( | CXXTypeidExpr * | E | ) |

Definition at line 7975 of file ASTImporter.cpp.

References clang::CXXTypeidExpr::getExprOperand(), clang::CXXTypeidExpr::getSourceRange(), clang::Expr::getType(), clang::CXXTypeidExpr::getTypeOperandSourceInfo(), and clang::CXXTypeidExpr::isTypeOperand().

## ◆ VisitCXXUnresolvedConstructExpr()

ExpectedStmt ASTNodeImporter::VisitCXXUnresolvedConstructExpr | ( | CXXUnresolvedConstructExpr * | E | ) |

Definition at line 7588 of file ASTImporter.cpp.

References clang::CXXUnresolvedConstructExpr::arg_begin(), clang::CXXUnresolvedConstructExpr::arg_end(), clang::CXXUnresolvedConstructExpr::arg_size(), clang::CXXUnresolvedConstructExpr::Create(), clang::ImportError::Error, clang::CXXUnresolvedConstructExpr::getLParenLoc(), clang::CXXUnresolvedConstructExpr::getRParenLoc(), and clang::CXXUnresolvedConstructExpr::getTypeSourceInfo().

## ◆ VisitDecayedType()

ExpectedType ASTNodeImporter::VisitDecayedType | ( | const DecayedType * | T | ) |

Definition at line 1082 of file ASTImporter.cpp.

References clang::AdjustedType::getOriginalType().

## ◆ VisitDecl()

ExpectedDecl ASTNodeImporter::VisitDecl | ( | Decl * | D | ) |

Definition at line 2176 of file ASTImporter.cpp.

References clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ImportError::UnsupportedConstruct.

## ◆ VisitDeclRefExpr()

ExpectedStmt ASTNodeImporter::VisitDeclRefExpr | ( | DeclRefExpr * | E | ) |

Definition at line 6455 of file ASTImporter.cpp.

References clang::DeclRefExpr::Create(), clang::ImportError::Error, clang::DeclRefExpr::getDecl(), clang::DeclRefExpr::getFoundDecl(), clang::DeclRefExpr::getLAngleLoc(), clang::DeclRefExpr::getLocation(), clang::DeclRefExpr::getQualifierLoc(), clang::DeclRefExpr::getRAngleLoc(), clang::DeclRefExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::DeclRefExpr::hadMultipleCandidates(), clang::DeclRefExpr::hasExplicitTemplateArgs(), clang::DeclRefExpr::isNonOdrUse(), clang::DeclRefExpr::refersToEnclosingVariableOrCapture(), clang::DeclRefExpr::setHadMultipleCandidates(), and clang::DeclRefExpr::template_arguments().

## ◆ VisitDeclStmt()

ExpectedStmt ASTNodeImporter::VisitDeclStmt | ( | DeclStmt * | S | ) |

Definition at line 5933 of file ASTImporter.cpp.

## ◆ VisitDecltypeType()

ExpectedType ASTNodeImporter::VisitDecltypeType | ( | const DecltypeType * | T | ) |

Definition at line 1335 of file ASTImporter.cpp.

References clang::DecltypeType::getUnderlyingExpr(), and clang::DecltypeType::getUnderlyingType().

## ◆ VisitDefaultStmt()

ExpectedStmt ASTNodeImporter::VisitDefaultStmt | ( | DefaultStmt * | S | ) |

Definition at line 5992 of file ASTImporter.cpp.

## ◆ VisitDependentNameType()

ExpectedType ASTNodeImporter::VisitDependentNameType | ( | const DependentNameType * | T | ) |

Definition at line 1536 of file ASTImporter.cpp.

References clang::DependentNameType::getQualifier().

## ◆ VisitDependentScopeDeclRefExpr()

ExpectedStmt ASTNodeImporter::VisitDependentScopeDeclRefExpr | ( | DependentScopeDeclRefExpr * | E | ) |

Definition at line 7557 of file ASTImporter.cpp.

References clang::DependentScopeDeclRefExpr::Create(), clang::ImportError::Error, clang::DependentScopeDeclRefExpr::getDeclName(), clang::DependentScopeDeclRefExpr::getLAngleLoc(), clang::DeclarationNameInfo::getLoc(), clang::DependentScopeDeclRefExpr::getNameInfo(), clang::DependentScopeDeclRefExpr::getQualifierLoc(), clang::DependentScopeDeclRefExpr::getRAngleLoc(), clang::DependentScopeDeclRefExpr::getTemplateKeywordLoc(), clang::DependentScopeDeclRefExpr::hasExplicitTemplateArgs(), and clang::DependentScopeDeclRefExpr::template_arguments().

## ◆ VisitDependentSizedArrayType()

ExpectedType ASTNodeImporter::VisitDependentSizedArrayType | ( | const DependentSizedArrayType * | T | ) |

Definition at line 1191 of file ASTImporter.cpp.

References clang::DependentSizedArrayType::getBracketsRange(), clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::DependentSizedArrayType::getSizeExpr(), and clang::ArrayType::getSizeModifier().

## ◆ VisitDependentTemplateSpecializationType()

ExpectedType ASTNodeImporter::VisitDependentTemplateSpecializationType | ( | const DependentTemplateSpecializationType * | T | ) |

Definition at line 1517 of file ASTImporter.cpp.

References clang::ImportError::Error, clang::DependentTemplateSpecializationType::getArgs(), clang::DependentTemplateSpecializationType::getIdentifier(), clang::TypeWithKeyword::getKeyword(), clang::DependentTemplateSpecializationType::getNumArgs(), and clang::DependentTemplateSpecializationType::getQualifier().

## ◆ VisitDesignatedInitExpr()

ExpectedStmt ASTNodeImporter::VisitDesignatedInitExpr | ( | DesignatedInitExpr * | E | ) |

Definition at line 6504 of file ASTImporter.cpp.

References clang::DesignatedInitExpr::Create(), clang::DesignatedInitExpr::designators(), clang::ImportError::Error, clang::DesignatedInitExpr::getEqualOrColonLoc(), clang::DesignatedInitExpr::getInit(), clang::DesignatedInitExpr::getNumSubExprs(), clang::DesignatedInitExpr::getSubExpr(), clang::DesignatedInitExpr::size(), and clang::DesignatedInitExpr::usesGNUSyntax().

## ◆ VisitDoStmt()

ExpectedStmt ASTNodeImporter::VisitDoStmt | ( | DoStmt * | S | ) |

Definition at line 6106 of file ASTImporter.cpp.

## ◆ VisitElaboratedType()

ExpectedType ASTNodeImporter::VisitElaboratedType | ( | const ElaboratedType * | T | ) |

Definition at line 1487 of file ASTImporter.cpp.

References clang::TypeWithKeyword::getKeyword(), clang::ElaboratedType::getNamedType(), clang::ElaboratedType::getOwnedTagDecl(), and clang::ElaboratedType::getQualifier().

## ◆ VisitEmptyDecl()

ExpectedDecl ASTNodeImporter::VisitEmptyDecl | ( | EmptyDecl * | D | ) |

Definition at line 2188 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::ImportError::Error, clang::Decl::getLocation(), and clang::Decl::setLexicalDeclContext().

## ◆ VisitEnumConstantDecl()

ExpectedDecl ASTNodeImporter::VisitEnumConstantDecl | ( | EnumConstantDecl * | D | ) |

Definition at line 2909 of file ASTImporter.cpp.

## ◆ VisitEnumDecl()

ExpectedDecl ASTNodeImporter::VisitEnumDecl | ( | EnumDecl * | D | ) |

Definition at line 2583 of file ASTImporter.cpp.

## ◆ VisitEnumType()

ExpectedType ASTNodeImporter::VisitEnumType | ( | const EnumType * | T | ) |

Definition at line 1416 of file ASTImporter.cpp.

References clang::EnumType::getDecl().

## ◆ VisitExplicitCastExpr()

ExpectedStmt ASTNodeImporter::VisitExplicitCastExpr | ( | ExplicitCastExpr * | E | ) |

Definition at line 6948 of file ASTImporter.cpp.

References clang::CXXFunctionalCastExpr::Create(), clang::CStyleCastExpr::Create(), clang::CastExpr::getCastKind(), clang::Stmt::getStmtClass(), clang::CastExpr::getSubExpr(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), clang::Expr::getValueKind(), and clang::ImportError::UnsupportedConstruct.

## ◆ VisitExpr()

ExpectedStmt ASTNodeImporter::VisitExpr | ( | Expr * | E | ) |

Definition at line 6375 of file ASTImporter.cpp.

References clang::Stmt::getBeginLoc(), clang::Stmt::getStmtClassName(), and clang::ImportError::UnsupportedConstruct.

## ◆ VisitExpressionTraitExpr()

ExpectedStmt ASTNodeImporter::VisitExpressionTraitExpr | ( | ExpressionTraitExpr * | E | ) |

Definition at line 6851 of file ASTImporter.cpp.

References clang::ExpressionTraitExpr::getBeginLoc(), clang::ExpressionTraitExpr::getEndLoc(), clang::ExpressionTraitExpr::getQueriedExpression(), clang::ExpressionTraitExpr::getTrait(), clang::Expr::getType(), and clang::ExpressionTraitExpr::getValue().

## ◆ VisitExprWithCleanups()

ExpectedStmt ASTNodeImporter::VisitExprWithCleanups | ( | ExprWithCleanups * | E | ) |

Definition at line 7366 of file ASTImporter.cpp.

References clang::ExprWithCleanups::cleanupsHaveSideEffects(), clang::ExprWithCleanups::Create(), clang::ImportError::Error, clang::ExprWithCleanups::getNumObjects(), clang::ExprWithCleanups::getObjects(), and clang::FullExpr::getSubExpr().

## ◆ VisitExtVectorType()

ExpectedType ASTNodeImporter::VisitExtVectorType | ( | const ExtVectorType * | T | ) |

Definition at line 1219 of file ASTImporter.cpp.

References clang::VectorType::getElementType(), and clang::VectorType::getNumElements().

## ◆ VisitFieldDecl()

ExpectedDecl ASTNodeImporter::VisitFieldDecl | ( | FieldDecl * | D | ) |

Definition at line 3505 of file ASTImporter.cpp.

## ◆ VisitFloatingLiteral()

ExpectedStmt ASTNodeImporter::VisitFloatingLiteral | ( | FloatingLiteral * | E | ) |

Definition at line 6560 of file ASTImporter.cpp.

References clang::FloatingLiteral::Create(), clang::FloatingLiteral::getLocation(), clang::Expr::getType(), clang::FloatingLiteral::getValue(), and clang::FloatingLiteral::isExact().

## ◆ VisitForStmt()

ExpectedStmt ASTNodeImporter::VisitForStmt | ( | ForStmt * | S | ) |

Definition at line 6122 of file ASTImporter.cpp.

## ◆ VisitFriendDecl()

ExpectedDecl ASTNodeImporter::VisitFriendDecl | ( | FriendDecl * | D | ) |

Definition at line 3660 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::ImportError::Error, clang::Decl::FOK_None, clang::Decl::getAccess(), clang::FriendDecl::getFriendDecl(), clang::FriendDecl::getFriendLoc(), clang::FriendDecl::getFriendType(), clang::Decl::getLocation(), clang::TypeSourceInfo::getType(), clang::Decl::IDNS_NonMemberOperator, clang::Decl::setAccess(), clang::Decl::setLexicalDeclContext(), and clang::Decl::setObjectOfFriendDecl().

## ◆ VisitFunctionDecl()

ExpectedDecl ASTNodeImporter::VisitFunctionDecl | ( | FunctionDecl * | D | ) |

Definition at line 3134 of file ASTImporter.cpp.

References clang::getCanonicalForwardRedeclChain().

## ◆ VisitFunctionNoProtoType()

ExpectedType ASTNodeImporter::VisitFunctionNoProtoType | ( | const FunctionNoProtoType * | T | ) |

Definition at line 1229 of file ASTImporter.cpp.

References clang::FunctionType::getExtInfo(), and clang::FunctionType::getReturnType().

## ◆ VisitFunctionProtoType()

ExpectedType ASTNodeImporter::VisitFunctionProtoType | ( | const FunctionProtoType * | T | ) |

Definition at line 1241 of file ASTImporter.cpp.

References clang::FunctionProtoType::ExceptionSpecInfo::Exceptions, clang::FunctionProtoType::exceptions(), clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, clang::FunctionProtoType::ExtProtoInfo::ExtInfo, clang::FunctionProtoType::getExtProtoInfo(), clang::FunctionType::getReturnType(), clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn, clang::FunctionProtoType::ExceptionSpecInfo::NoexceptExpr, clang::FunctionProtoType::param_types(), clang::FunctionProtoType::ExtProtoInfo::RefQualifier, clang::FunctionProtoType::ExceptionSpecInfo::SourceDecl, clang::FunctionProtoType::ExceptionSpecInfo::SourceTemplate, clang::FunctionProtoType::ExceptionSpecInfo::Type, clang::FunctionProtoType::ExtProtoInfo::TypeQuals, and clang::FunctionProtoType::ExtProtoInfo::Variadic.

## ◆ VisitFunctionTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitFunctionTemplateDecl | ( | FunctionTemplateDecl * | D | ) |

Definition at line 5763 of file ASTImporter.cpp.

## ◆ VisitGCCAsmStmt()

ExpectedStmt ASTNodeImporter::VisitGCCAsmStmt | ( | GCCAsmStmt * | S | ) |

Definition at line 5851 of file ASTImporter.cpp.

## ◆ VisitGNUNullExpr()

ExpectedStmt ASTNodeImporter::VisitGNUNullExpr | ( | GNUNullExpr * | E | ) |

Definition at line 6428 of file ASTImporter.cpp.

References clang::GNUNullExpr::getBeginLoc(), and clang::Expr::getType().

## ◆ VisitGotoStmt()

ExpectedStmt ASTNodeImporter::VisitGotoStmt | ( | GotoStmt * | S | ) |

Definition at line 6144 of file ASTImporter.cpp.

## ◆ VisitIfStmt()

ExpectedStmt ASTNodeImporter::VisitIfStmt | ( | IfStmt * | S | ) |

Definition at line 6035 of file ASTImporter.cpp.

## ◆ VisitImaginaryLiteral()

ExpectedStmt ASTNodeImporter::VisitImaginaryLiteral | ( | ImaginaryLiteral * | E | ) |

Definition at line 6574 of file ASTImporter.cpp.

References clang::ImaginaryLiteral::getSubExpr(), and clang::Expr::getType().

## ◆ VisitImplicitCastExpr()

ExpectedStmt ASTNodeImporter::VisitImplicitCastExpr | ( | ImplicitCastExpr * | E | ) |

Definition at line 6930 of file ASTImporter.cpp.

References clang::ImplicitCastExpr::Create(), clang::CastExpr::getCastKind(), clang::CastExpr::getSubExpr(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitImplicitParamDecl()

ExpectedDecl ASTNodeImporter::VisitImplicitParamDecl | ( | ImplicitParamDecl * | D | ) |

Definition at line 3932 of file ASTImporter.cpp.

References clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::ImplicitParamDecl::getParameterKind(), and clang::ValueDecl::getType().

## ◆ VisitImplicitValueInitExpr()

ExpectedStmt ASTNodeImporter::VisitImplicitValueInitExpr | ( | ImplicitValueInitExpr * | E | ) |

Definition at line 6496 of file ASTImporter.cpp.

References clang::Expr::getType().

## ◆ VisitImportDecl()

ExpectedDecl ASTNodeImporter::VisitImportDecl | ( | ImportDecl * | D | ) |

Definition at line 2182 of file ASTImporter.cpp.

References clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ImportError::UnsupportedConstruct.

## ◆ VisitIncompleteArrayType()

ExpectedType ASTNodeImporter::VisitIncompleteArrayType | ( | const IncompleteArrayType * | T | ) |

Definition at line 1165 of file ASTImporter.cpp.

References clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), and clang::ArrayType::getSizeModifier().

## ◆ VisitIndirectFieldDecl()

ExpectedDecl ASTNodeImporter::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | D | ) |

Definition at line 3590 of file ASTImporter.cpp.

## ◆ VisitIndirectGotoStmt()

ExpectedStmt ASTNodeImporter::VisitIndirectGotoStmt | ( | IndirectGotoStmt * | S | ) |

Definition at line 6157 of file ASTImporter.cpp.

## ◆ VisitInitListExpr()

ExpectedStmt ASTNodeImporter::VisitInitListExpr | ( | InitListExpr * | E | ) |

Definition at line 7778 of file ASTImporter.cpp.

References clang::ImportError::Error, clang::InitListExpr::getArrayFiller(), clang::InitListExpr::getInitializedFieldInUnion(), clang::InitListExpr::getLBraceLoc(), clang::InitListExpr::getNumInits(), clang::InitListExpr::getRBraceLoc(), clang::InitListExpr::getSyntacticForm(), clang::Expr::getType(), clang::InitListExpr::hadArrayRangeDesignator(), clang::InitListExpr::hasArrayFiller(), clang::InitListExpr::inits(), clang::InitListExpr::sawArrayRangeDesignator(), clang::InitListExpr::setArrayFiller(), clang::InitListExpr::setInitializedFieldInUnion(), clang::InitListExpr::setSyntacticForm(), and clang::Expr::setType().

## ◆ VisitInjectedClassNameType()

ExpectedType ASTNodeImporter::VisitInjectedClassNameType | ( | const InjectedClassNameType * | T | ) |

Definition at line 1386 of file ASTImporter.cpp.

References clang::InjectedClassNameType::getDecl(), clang::InjectedClassNameType::getInjectedSpecializationType(), clang::TypeAlignment, and clang::TypeAlignmentInBits.

## ◆ VisitIntegerLiteral()

ExpectedStmt ASTNodeImporter::VisitIntegerLiteral | ( | IntegerLiteral * | E | ) |

Definition at line 6546 of file ASTImporter.cpp.

References clang::IntegerLiteral::Create(), clang::IntegerLiteral::getLocation(), clang::Expr::getType(), and clang::APIntStorage::getValue().

## ◆ VisitLabelDecl()

ExpectedDecl ASTNodeImporter::VisitLabelDecl | ( | LabelDecl * | D | ) |

Definition at line 2544 of file ASTImporter.cpp.

## ◆ VisitLabelStmt()

ExpectedStmt ASTNodeImporter::VisitLabelStmt | ( | LabelStmt * | S | ) |

Definition at line 6005 of file ASTImporter.cpp.

## ◆ VisitLambdaExpr()

ExpectedStmt ASTNodeImporter::VisitLambdaExpr | ( | LambdaExpr * | LE | ) |

Definition at line 7737 of file ASTImporter.cpp.

References clang::LambdaExpr::capture_inits(), clang::LambdaExpr::capture_size(), clang::LambdaExpr::captures(), clang::Expr::containsUnexpandedParameterPack(), clang::LambdaExpr::Create(), clang::ImportError::Error, clang::LambdaExpr::getCallOperator(), clang::LambdaExpr::getCaptureDefault(), clang::LambdaExpr::getCaptureDefaultLoc(), clang::LambdaExpr::getEndLoc(), clang::LambdaExpr::getIntroducerRange(), clang::LambdaExpr::getLambdaClass(), clang::LambdaExpr::hasExplicitParameters(), and clang::LambdaExpr::hasExplicitResultType().

## ◆ VisitLifetimeExtendedTemporaryDecl()

ExpectedDecl ASTNodeImporter::VisitLifetimeExtendedTemporaryDecl | ( | LifetimeExtendedTemporaryDecl * | D | ) |

Definition at line 7198 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::ImportError::Error, clang::LifetimeExtendedTemporaryDecl::getExtendingDecl(), clang::LifetimeExtendedTemporaryDecl::getManglingNumber(), clang::LifetimeExtendedTemporaryDecl::getTemporaryExpr(), and clang::Decl::setLexicalDeclContext().

## ◆ VisitLinkageSpecDecl()

ExpectedDecl ASTNodeImporter::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |

Definition at line 4378 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::ImportError::Error, clang::LinkageSpecDecl::getExternLoc(), clang::LinkageSpecDecl::getLanguage(), clang::Decl::getLocation(), clang::LinkageSpecDecl::getRBraceLoc(), clang::LinkageSpecDecl::hasBraces(), clang::Decl::setLexicalDeclContext(), and clang::LinkageSpecDecl::setRBraceLoc().

## ◆ VisitLValueReferenceType()

ExpectedType ASTNodeImporter::VisitLValueReferenceType | ( | const LValueReferenceType * | T | ) |

Definition at line 1116 of file ASTImporter.cpp.

References clang::ReferenceType::getPointeeTypeAsWritten().

## ◆ VisitMaterializeTemporaryExpr()

ExpectedStmt ASTNodeImporter::VisitMaterializeTemporaryExpr | ( | MaterializeTemporaryExpr * | E | ) |

Definition at line 7225 of file ASTImporter.cpp.

References clang::MaterializeTemporaryExpr::getLifetimeExtendedTemporaryDecl(), clang::MaterializeTemporaryExpr::getSubExpr(), clang::LifetimeExtendedTemporaryDecl::getTemporaryExpr(), clang::Expr::getType(), and clang::MaterializeTemporaryExpr::isBoundToLvalueReference().

## ◆ VisitMemberExpr()

ExpectedStmt ASTNodeImporter::VisitMemberExpr | ( | MemberExpr * | E | ) |

Definition at line 7425 of file ASTImporter.cpp.

References clang::MemberExpr::Create(), clang::ImportError::Error, clang::DeclAccessPair::getAccess(), clang::MemberExpr::getBase(), clang::DeclAccessPair::getDecl(), clang::MemberExpr::getFoundDecl(), clang::MemberExpr::getLAngleLoc(), clang::DeclarationNameInfo::getLoc(), clang::MemberExpr::getMemberDecl(), clang::MemberExpr::getMemberNameInfo(), clang::DeclarationNameInfo::getName(), clang::Expr::getObjectKind(), clang::MemberExpr::getOperatorLoc(), clang::MemberExpr::getQualifierLoc(), clang::MemberExpr::getRAngleLoc(), clang::MemberExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::MemberExpr::hasExplicitTemplateArgs(), clang::MemberExpr::isArrow(), clang::MemberExpr::isNonOdrUse(), clang::DeclAccessPair::make(), and clang::MemberExpr::template_arguments().

## ◆ VisitMemberPointerType()

ExpectedType ASTNodeImporter::VisitMemberPointerType | ( | const MemberPointerType * | T | ) |

Definition at line 1136 of file ASTImporter.cpp.

References clang::MemberPointerType::getClass(), and clang::MemberPointerType::getPointeeType().

## ◆ VisitNamespaceAliasDecl()

ExpectedDecl ASTNodeImporter::VisitNamespaceAliasDecl | ( | NamespaceAliasDecl * | D | ) |

Definition at line 2354 of file ASTImporter.cpp.

## ◆ VisitNamespaceDecl()

ExpectedDecl ASTNodeImporter::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |

Definition at line 2271 of file ASTImporter.cpp.

## ◆ VisitNonTypeTemplateParmDecl()

ExpectedDecl ASTNodeImporter::VisitNonTypeTemplateParmDecl | ( | NonTypeTemplateParmDecl * | D | ) |

Definition at line 5168 of file ASTImporter.cpp.

References clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::TemplateParmPosition::getDepth(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), clang::TemplateParmPosition::getPosition(), clang::Decl::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), and clang::NonTypeTemplateParmDecl::isParameterPack().

## ◆ VisitNullStmt()

ExpectedStmt ASTNodeImporter::VisitNullStmt | ( | NullStmt * | S | ) |

Definition at line 5945 of file ASTImporter.cpp.

## ◆ VisitObjCAtCatchStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtCatchStmt | ( | ObjCAtCatchStmt * | S | ) |

Definition at line 6281 of file ASTImporter.cpp.

## ◆ VisitObjCAtFinallyStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtFinallyStmt | ( | ObjCAtFinallyStmt * | S | ) |

Definition at line 6297 of file ASTImporter.cpp.

## ◆ VisitObjCAtSynchronizedStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtSynchronizedStmt | ( | ObjCAtSynchronizedStmt * | S | ) |

Definition at line 6334 of file ASTImporter.cpp.

## ◆ VisitObjCAtThrowStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtThrowStmt | ( | ObjCAtThrowStmt * | S | ) |

Definition at line 6349 of file ASTImporter.cpp.

References clang::ObjCAtThrowStmt::getThrowExpr(), and clang::ObjCAtThrowStmt::getThrowLoc().

## ◆ VisitObjCAtTryStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAtTryStmt | ( | ObjCAtTryStmt * | S | ) |

Definition at line 6308 of file ASTImporter.cpp.

## ◆ VisitObjCAutoreleasePoolStmt()

ExpectedStmt ASTNodeImporter::VisitObjCAutoreleasePoolStmt | ( | ObjCAutoreleasePoolStmt * | S | ) |

Definition at line 6360 of file ASTImporter.cpp.

References clang::ObjCAutoreleasePoolStmt::getAtLoc(), and clang::ObjCAutoreleasePoolStmt::getSubStmt().

## ◆ VisitObjCCategoryDecl()

ExpectedDecl ASTNodeImporter::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |

Definition at line 4184 of file ASTImporter.cpp.

## ◆ VisitObjCCategoryImplDecl()

ExpectedDecl ASTNodeImporter::VisitObjCCategoryImplDecl | ( | ObjCCategoryImplDecl * | D | ) |

Definition at line 4826 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), Category, clang::ImportError::Error, clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCCategoryImplDecl::getCategoryDecl(), clang::ObjCCategoryImplDecl::getCategoryNameLoc(), clang::ObjCCategoryDecl::getClassInterface(), clang::NamedDecl::getIdentifier(), clang::ObjCCategoryDecl::getImplementation(), clang::Decl::getLocation(), clang::ObjCCategoryDecl::setImplementation(), and clang::Decl::setLexicalDeclContext().

## ◆ VisitObjCForCollectionStmt()

ExpectedStmt ASTNodeImporter::VisitObjCForCollectionStmt | ( | ObjCForCollectionStmt * | S | ) |

Definition at line 6262 of file ASTImporter.cpp.

## ◆ VisitObjCImplementationDecl()

ExpectedDecl ASTNodeImporter::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |

Definition at line 4863 of file ASTImporter.cpp.

References clang::declaresSameEntity(), clang::ImportError::Error, clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCInterfaceDecl::getCanonicalDecl(), clang::ObjCImplDecl::getClassInterface(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getImplementation(), clang::ObjCImplementationDecl::getIvarLBraceLoc(), clang::ObjCImplementationDecl::getIvarRBraceLoc(), clang::Decl::getLocation(), clang::ObjCImplementationDecl::getSuperClass(), clang::ObjCImplementationDecl::getSuperClassLoc(), clang::ImportError::NameConflict, and clang::Decl::setLexicalDeclContext().

## ◆ VisitObjCInterfaceDecl()

ExpectedDecl ASTNodeImporter::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |

Definition at line 4760 of file ASTImporter.cpp.

References clang::ObjCInterfaceDecl::getDefinition().

## ◆ VisitObjCInterfaceType()

ExpectedType ASTNodeImporter::VisitObjCInterfaceType | ( | const ObjCInterfaceType * | T | ) |

Definition at line 1557 of file ASTImporter.cpp.

References clang::ObjCInterfaceType::getDecl().

## ◆ VisitObjCIvarDecl()

ExpectedDecl ASTNodeImporter::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |

Definition at line 3733 of file ASTImporter.cpp.

## ◆ VisitObjCMethodDecl()

ExpectedDecl ASTNodeImporter::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |

Definition at line 4019 of file ASTImporter.cpp.

## ◆ VisitObjCObjectPointerType()

ExpectedType ASTNodeImporter::VisitObjCObjectPointerType | ( | const ObjCObjectPointerType * | T | ) |

Definition at line 1593 of file ASTImporter.cpp.

References clang::ObjCObjectPointerType::getPointeeType().

## ◆ VisitObjCObjectType()

ExpectedType ASTNodeImporter::VisitObjCObjectType | ( | const ObjCObjectType * | T | ) |

Definition at line 1565 of file ASTImporter.cpp.

References clang::ObjCObjectType::getBaseType(), clang::ObjCObjectType::getTypeArgsAsWritten(), clang::ObjCObjectType::isKindOfTypeAsWritten(), P, and clang::ObjCProtocolQualifiers< T >::quals().

## ◆ VisitObjCPropertyDecl()

ExpectedDecl ASTNodeImporter::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |

Definition at line 4947 of file ASTImporter.cpp.

## ◆ VisitObjCPropertyImplDecl()

ExpectedDecl ASTNodeImporter::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |

Definition at line 5031 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::ObjCPropertyImplDecl::Dynamic, clang::ImportError::Error, clang::ObjCPropertyImplDecl::getBeginLoc(), clang::NamedDecl::getDeclName(), clang::NamedDecl::getIdentifier(), clang::Decl::getLocation(), clang::ObjCPropertyImplDecl::getPropertyDecl(), clang::ObjCPropertyImplDecl::getPropertyImplementation(), clang::ObjCPropertyImplDecl::getPropertyIvarDecl(), clang::ObjCPropertyImplDecl::getPropertyIvarDeclLoc(), clang::ObjCPropertyDecl::getQueryKind(), clang::ImportError::NameConflict, clang::Property, clang::Decl::setLexicalDeclContext(), and clang::ObjCPropertyImplDecl::Synthesize.

## ◆ VisitObjCProtocolDecl()

ExpectedDecl ASTNodeImporter::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |

Definition at line 4322 of file ASTImporter.cpp.

References clang::ObjCProtocolDecl::getDefinition().

## ◆ VisitObjCTypeParamDecl()

ExpectedDecl ASTNodeImporter::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |

Definition at line 4152 of file ASTImporter.cpp.

## ◆ VisitOffsetOfExpr()

ExpectedStmt ASTNodeImporter::VisitOffsetOfExpr | ( | OffsetOfExpr * | OE | ) |

Definition at line 7011 of file ASTImporter.cpp.

References clang::OffsetOfNode::Array, clang::OffsetOfNode::Base, clang::OffsetOfExpr::Create(), clang::OffsetOfNode::Field, clang::OffsetOfNode::getArrayExprIndex(), clang::OffsetOfNode::getBase(), clang::OffsetOfNode::getBeginLoc(), clang::OffsetOfExpr::getComponent(), clang::OffsetOfNode::getEndLoc(), clang::OffsetOfNode::getField(), clang::OffsetOfNode::getFieldName(), clang::OffsetOfExpr::getIndexExpr(), clang::OffsetOfNode::getKind(), clang::OffsetOfExpr::getNumComponents(), clang::OffsetOfExpr::getNumExpressions(), clang::OffsetOfExpr::getOperatorLoc(), clang::OffsetOfExpr::getRParenLoc(), clang::Expr::getType(), clang::OffsetOfExpr::getTypeSourceInfo(), and clang::OffsetOfNode::Identifier.

## ◆ VisitOpaqueValueExpr()

ExpectedStmt ASTNodeImporter::VisitOpaqueValueExpr | ( | OpaqueValueExpr * | E | ) |

Definition at line 6867 of file ASTImporter.cpp.

References clang::OpaqueValueExpr::getLocation(), clang::Expr::getObjectKind(), clang::OpaqueValueExpr::getSourceExpr(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitPackExpansionExpr()

ExpectedStmt ASTNodeImporter::VisitPackExpansionExpr | ( | PackExpansionExpr * | E | ) |

Definition at line 7247 of file ASTImporter.cpp.

References clang::PackExpansionExpr::getEllipsisLoc(), clang::PackExpansionExpr::getNumExpansions(), clang::PackExpansionExpr::getPattern(), and clang::Expr::getType().

## ◆ VisitPackExpansionType()

ExpectedType ASTNodeImporter::VisitPackExpansionType | ( | const PackExpansionType * | T | ) |

Definition at line 1508 of file ASTImporter.cpp.

References clang::PackExpansionType::getNumExpansions(), and clang::PackExpansionType::getPattern().

## ◆ VisitParenExpr()

ExpectedStmt ASTNodeImporter::VisitParenExpr | ( | ParenExpr * | E | ) |

Definition at line 6686 of file ASTImporter.cpp.

References clang::ParenExpr::getLParen(), clang::ParenExpr::getRParen(), and clang::ParenExpr::getSubExpr().

## ◆ VisitParenListExpr()

ExpectedStmt ASTNodeImporter::VisitParenListExpr | ( | ParenListExpr * | E | ) |

Definition at line 6699 of file ASTImporter.cpp.

References clang::ParenListExpr::Create(), clang::ImportError::Error, clang::ParenListExpr::exprs(), clang::ParenListExpr::getLParenLoc(), clang::ParenListExpr::getNumExprs(), and clang::ParenListExpr::getRParenLoc().

## ◆ VisitParenType()

ExpectedType ASTNodeImporter::VisitParenType | ( | const ParenType * | T | ) |

Definition at line 1303 of file ASTImporter.cpp.

References clang::ParenType::getInnerType().

## ◆ VisitParmVarDecl()

ExpectedDecl ASTNodeImporter::VisitParmVarDecl | ( | ParmVarDecl * | D | ) |

Definition at line 3976 of file ASTImporter.cpp.

References clang::ImportError::Error, clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::ParmVarDecl::getFunctionScopeDepth(), clang::ParmVarDecl::getFunctionScopeIndex(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), clang::ParmVarDecl::getObjCDeclQualifier(), clang::VarDecl::getStorageClass(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ParmVarDecl::isObjCMethodParameter(), clang::ParmVarDecl::setObjCDeclQualifier(), clang::ParmVarDecl::setObjCMethodScopeInfo(), and clang::ParmVarDecl::setScopeInfo().

## ◆ VisitPointerType()

ExpectedType ASTNodeImporter::VisitPointerType | ( | const PointerType * | T | ) |

Definition at line 1098 of file ASTImporter.cpp.

References clang::PointerType::getPointeeType().

## ◆ VisitPredefinedExpr()

ExpectedStmt ASTNodeImporter::VisitPredefinedExpr | ( | PredefinedExpr * | E | ) |

Definition at line 6440 of file ASTImporter.cpp.

References clang::PredefinedExpr::Create(), clang::PredefinedExpr::getBeginLoc(), clang::PredefinedExpr::getFunctionName(), clang::PredefinedExpr::getIdentKind(), and clang::Expr::getType().

## ◆ VisitRecordDecl()

ExpectedDecl ASTNodeImporter::VisitRecordDecl | ( | RecordDecl * | D | ) |

Definition at line 2672 of file ASTImporter.cpp.

References clang::Decl::FOK_None.

## ◆ VisitRecordType()

ExpectedType ASTNodeImporter::VisitRecordType | ( | const RecordType * | T | ) |

Definition at line 1408 of file ASTImporter.cpp.

References clang::RecordType::getDecl().

## ◆ VisitReturnStmt()

ExpectedStmt ASTNodeImporter::VisitReturnStmt | ( | ReturnStmt * | S | ) |

Definition at line 6184 of file ASTImporter.cpp.

## ◆ VisitRValueReferenceType()

ExpectedType ASTNodeImporter::VisitRValueReferenceType | ( | const RValueReferenceType * | T | ) |

Definition at line 1126 of file ASTImporter.cpp.

References clang::ReferenceType::getPointeeTypeAsWritten().

## ◆ VisitSizeOfPackExpr()

ExpectedStmt ASTNodeImporter::VisitSizeOfPackExpr | ( | SizeOfPackExpr * | E | ) |

Definition at line 7262 of file ASTImporter.cpp.

References clang::SizeOfPackExpr::Create(), clang::ImportError::Error, clang::SizeOfPackExpr::getOperatorLoc(), clang::SizeOfPackExpr::getPack(), clang::SizeOfPackExpr::getPackLength(), clang::SizeOfPackExpr::getPackLoc(), clang::SizeOfPackExpr::getPartialArguments(), clang::SizeOfPackExpr::getRParenLoc(), clang::SizeOfPackExpr::isPartiallySubstituted(), and clang::Expr::isValueDependent().

## ◆ VisitStaticAssertDecl()

ExpectedDecl ASTNodeImporter::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |

Definition at line 2244 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::StaticAssertDecl::getAssertExpr(), clang::Decl::getDeclContext(), clang::Decl::getLocation(), clang::StaticAssertDecl::getMessage(), clang::StaticAssertDecl::getRParenLoc(), clang::StaticAssertDecl::isFailed(), and clang::Decl::setLexicalDeclContext().

## ◆ VisitStmt()

ExpectedStmt ASTNodeImporter::VisitStmt | ( | Stmt * | S | ) |

Definition at line 5844 of file ASTImporter.cpp.

## ◆ VisitStmtExpr()

ExpectedStmt ASTNodeImporter::VisitStmtExpr | ( | StmtExpr * | E | ) |

Definition at line 6716 of file ASTImporter.cpp.

References clang::StmtExpr::getLParenLoc(), clang::StmtExpr::getRParenLoc(), clang::StmtExpr::getSubStmt(), and clang::Expr::getType().

## ◆ VisitStringLiteral()

ExpectedStmt ASTNodeImporter::VisitStringLiteral | ( | StringLiteral * | E | ) |

Definition at line 6600 of file ASTImporter.cpp.

References clang::StringLiteral::Create(), clang::ImportError::Error, clang::StringLiteral::getBytes(), clang::StringLiteral::getKind(), clang::StringLiteral::getNumConcatenated(), clang::Expr::getType(), clang::StringLiteral::isPascal(), clang::StringLiteral::tokloc_begin(), and clang::StringLiteral::tokloc_end().

## ◆ VisitSubstNonTypeTemplateParmExpr()

ExpectedStmt ASTNodeImporter::VisitSubstNonTypeTemplateParmExpr | ( | SubstNonTypeTemplateParmExpr * | E | ) |

Definition at line 7935 of file ASTImporter.cpp.

References clang::Expr::getExprLoc(), clang::SubstNonTypeTemplateParmExpr::getParameter(), clang::SubstNonTypeTemplateParmExpr::getReplacement(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitSubstTemplateTypeParmType()

ExpectedType ASTNodeImporter::VisitSubstTemplateTypeParmType | ( | const SubstTemplateTypeParmType * | T | ) |

Definition at line 1446 of file ASTImporter.cpp.

References clang::SubstTemplateTypeParmType::getReplacedParameter(), and clang::SubstTemplateTypeParmType::getReplacementType().

## ◆ VisitSwitchStmt()

ExpectedStmt ASTNodeImporter::VisitSwitchStmt | ( | SwitchStmt * | S | ) |

Definition at line 6055 of file ASTImporter.cpp.

## ◆ VisitTemplateSpecializationType()

ExpectedType ASTNodeImporter::VisitTemplateSpecializationType | ( | const TemplateSpecializationType * | T | ) |

Definition at line 1462 of file ASTImporter.cpp.

References clang::ImportError::Error, clang::TemplateSpecializationType::getArgs(), clang::QualType::getCanonicalType(), clang::TemplateSpecializationType::getNumArgs(), and clang::TemplateSpecializationType::getTemplateName().

## ◆ VisitTemplateTemplateParmDecl()

ExpectedDecl ASTNodeImporter::VisitTemplateTemplateParmDecl | ( | TemplateTemplateParmDecl * | D | ) |

Definition at line 5195 of file ASTImporter.cpp.

References clang::NamedDecl::getDeclName(), clang::TemplateParmPosition::getDepth(), clang::Decl::getLocation(), clang::TemplateParmPosition::getPosition(), clang::TemplateDecl::getTemplateParameters(), clang::Decl::getTranslationUnitDecl(), and clang::TemplateTemplateParmDecl::isParameterPack().

## ◆ VisitTemplateTypeParmDecl()

ExpectedDecl ASTNodeImporter::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |

Definition at line 5107 of file ASTImporter.cpp.

References clang::ASTTemplateArgumentListInfo::Create(), clang::ImportError::Error, clang::TypeDecl::getBeginLoc(), clang::TemplateTypeParmDecl::getDepth(), clang::NamedDecl::getIdentifier(), clang::TemplateTypeParmDecl::getIndex(), clang::Decl::getLocation(), clang::Decl::getTranslationUnitDecl(), clang::TemplateTypeParmDecl::getTypeConstraint(), clang::TemplateTypeParmDecl::hasTypeConstraint(), clang::TemplateTypeParmDecl::isParameterPack(), clang::TemplateTypeParmDecl::setTypeConstraint(), and clang::TemplateTypeParmDecl::wasDeclaredWithTypename().

## ◆ VisitTemplateTypeParmType()

ExpectedType ASTNodeImporter::VisitTemplateTypeParmType | ( | const TemplateTypeParmType * | T | ) |

Definition at line 1436 of file ASTImporter.cpp.

References clang::TemplateTypeParmType::getDecl(), clang::TemplateTypeParmType::getDepth(), clang::TemplateTypeParmType::getIndex(), and clang::TemplateTypeParmType::isParameterPack().

## ◆ VisitTranslationUnitDecl()

ExpectedDecl ASTNodeImporter::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | D | ) |

Definition at line 2208 of file ASTImporter.cpp.

References clang::Decl::getTranslationUnitDecl().

## ◆ VisitType()

ExpectedType ASTNodeImporter::VisitType | ( | const Type * | T | ) |

Definition at line 1015 of file ASTImporter.cpp.

References clang::Type::getTypeClassName(), and clang::ImportError::UnsupportedConstruct.

## ◆ VisitTypeAliasDecl()

ExpectedDecl ASTNodeImporter::VisitTypeAliasDecl | ( | TypeAliasDecl * | D | ) |

Definition at line 2483 of file ASTImporter.cpp.

## ◆ VisitTypeAliasTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitTypeAliasTemplateDecl | ( | TypeAliasTemplateDecl * | D | ) |

Definition at line 2488 of file ASTImporter.cpp.

## ◆ VisitTypedefDecl()

ExpectedDecl ASTNodeImporter::VisitTypedefDecl | ( | TypedefDecl * | D | ) |

Definition at line 2479 of file ASTImporter.cpp.

## ◆ VisitTypedefNameDecl()

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

Definition at line 2393 of file ASTImporter.cpp.

## ◆ VisitTypedefType()

ExpectedType ASTNodeImporter::VisitTypedefType | ( | const TypedefType * | T | ) |

Definition at line 1311 of file ASTImporter.cpp.

References clang::TypedefType::getDecl().

## ◆ VisitTypeOfExprType()

ExpectedType ASTNodeImporter::VisitTypeOfExprType | ( | const TypeOfExprType * | T | ) |

Definition at line 1319 of file ASTImporter.cpp.

References clang::TypeOfExprType::getUnderlyingExpr().

## ◆ VisitTypeOfType()

ExpectedType ASTNodeImporter::VisitTypeOfType | ( | const TypeOfType * | T | ) |

Definition at line 1327 of file ASTImporter.cpp.

References clang::TypeOfType::getUnderlyingType().

## ◆ VisitTypeTraitExpr()

ExpectedStmt ASTNodeImporter::VisitTypeTraitExpr | ( | TypeTraitExpr * | E | ) |

Definition at line 7952 of file ASTImporter.cpp.

References clang::TypeTraitExpr::Create(), clang::ImportError::Error, false, clang::TypeTraitExpr::getArgs(), clang::TypeTraitExpr::getBeginLoc(), clang::TypeTraitExpr::getEndLoc(), clang::TypeTraitExpr::getNumArgs(), clang::TypeTraitExpr::getTrait(), clang::Expr::getType(), clang::TypeTraitExpr::getValue(), and clang::Expr::isValueDependent().

## ◆ VisitUnaryExprOrTypeTraitExpr()

ExpectedStmt ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr | ( | UnaryExprOrTypeTraitExpr * | E | ) |

Definition at line 6748 of file ASTImporter.cpp.

References clang::UnaryExprOrTypeTraitExpr::getArgumentExpr(), clang::UnaryExprOrTypeTraitExpr::getArgumentTypeInfo(), clang::UnaryExprOrTypeTraitExpr::getKind(), clang::UnaryExprOrTypeTraitExpr::getOperatorLoc(), clang::UnaryExprOrTypeTraitExpr::getRParenLoc(), clang::Expr::getType(), and clang::UnaryExprOrTypeTraitExpr::isArgumentType().

## ◆ VisitUnaryOperator()

ExpectedStmt ASTNodeImporter::VisitUnaryOperator | ( | UnaryOperator * | E | ) |

Definition at line 6731 of file ASTImporter.cpp.

References clang::UnaryOperator::canOverflow(), clang::Expr::getObjectKind(), clang::UnaryOperator::getOpcode(), clang::UnaryOperator::getOperatorLoc(), clang::UnaryOperator::getSubExpr(), clang::Expr::getType(), and clang::Expr::getValueKind().

## ◆ VisitUnaryTransformType()

ExpectedType ASTNodeImporter::VisitUnaryTransformType | ( | const UnaryTransformType * | T | ) |

Definition at line 1350 of file ASTImporter.cpp.

References clang::UnaryTransformType::getBaseType(), clang::UnaryTransformType::getUnderlyingType(), and clang::UnaryTransformType::getUTTKind().

## ◆ VisitUnresolvedLookupExpr()

ExpectedStmt ASTNodeImporter::VisitUnresolvedLookupExpr | ( | UnresolvedLookupExpr * | E | ) |

Definition at line 7610 of file ASTImporter.cpp.

References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::UnresolvedLookupExpr::Create(), clang::OverloadExpr::decls(), clang::UnresolvedSetImpl::end(), clang::ImportError::Error, clang::OverloadExpr::getLAngleLoc(), clang::OverloadExpr::getName(), clang::OverloadExpr::getNameInfo(), clang::OverloadExpr::getNameLoc(), clang::UnresolvedLookupExpr::getNamingClass(), clang::OverloadExpr::getQualifierLoc(), clang::OverloadExpr::getRAngleLoc(), clang::OverloadExpr::getTemplateKeywordLoc(), clang::OverloadExpr::hasExplicitTemplateArgs(), clang::UnresolvedLookupExpr::isOverloaded(), clang::UnresolvedLookupExpr::requiresADL(), and clang::OverloadExpr::template_arguments().

## ◆ VisitUnresolvedMemberExpr()

ExpectedStmt ASTNodeImporter::VisitUnresolvedMemberExpr | ( | UnresolvedMemberExpr * | E | ) |

Definition at line 7659 of file ASTImporter.cpp.

References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::OverloadExpr::copyTemplateArgumentsInto(), clang::UnresolvedMemberExpr::Create(), clang::OverloadExpr::decls(), clang::UnresolvedSetImpl::end(), clang::ImportError::Error, clang::UnresolvedMemberExpr::getBase(), clang::OverloadExpr::getName(), clang::OverloadExpr::getNameInfo(), clang::OverloadExpr::getNameLoc(), clang::UnresolvedMemberExpr::getOperatorLoc(), clang::OverloadExpr::getQualifierLoc(), clang::OverloadExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::OverloadExpr::hasExplicitTemplateArgs(), clang::UnresolvedMemberExpr::hasUnresolvedUsing(), clang::UnresolvedMemberExpr::isArrow(), and clang::UnresolvedMemberExpr::isImplicitAccess().

## ◆ VisitUnresolvedUsingType()

ExpectedType ASTNodeImporter::VisitUnresolvedUsingType | ( | const UnresolvedUsingType * | T | ) |

Definition at line 1290 of file ASTImporter.cpp.

References clang::UnresolvedUsingType::getDecl(), and clang::Decl::getPreviousDecl().

## ◆ VisitUnresolvedUsingTypenameDecl()

ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingTypenameDecl | ( | UnresolvedUsingTypenameDecl * | D | ) |

Definition at line 4584 of file ASTImporter.cpp.

## ◆ VisitUnresolvedUsingValueDecl()

ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingValueDecl | ( | UnresolvedUsingValueDecl * | D | ) |

Definition at line 4547 of file ASTImporter.cpp.

## ◆ VisitUsingDecl()

ExpectedDecl ASTNodeImporter::VisitUsingDecl | ( | UsingDecl * | D | ) |

Definition at line 4412 of file ASTImporter.cpp.

## ◆ VisitUsingDirectiveDecl()

ExpectedDecl ASTNodeImporter::VisitUsingDirectiveDecl | ( | UsingDirectiveDecl * | D | ) |

Definition at line 4505 of file ASTImporter.cpp.

## ◆ VisitUsingShadowDecl()

ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |

Definition at line 4463 of file ASTImporter.cpp.

## ◆ VisitVAArgExpr()

ExpectedStmt ASTNodeImporter::VisitVAArgExpr | ( | VAArgExpr * | E | ) |

Definition at line 6381 of file ASTImporter.cpp.

References clang::VAArgExpr::getBuiltinLoc(), clang::VAArgExpr::getRParenLoc(), clang::VAArgExpr::getSubExpr(), clang::Expr::getType(), clang::VAArgExpr::getWrittenTypeInfo(), and clang::VAArgExpr::isMicrosoftABI().

## ◆ VisitVarDecl()

ExpectedDecl ASTNodeImporter::VisitVarDecl | ( | VarDecl * | D | ) |

Definition at line 3786 of file ASTImporter.cpp.

References clang::getCanonicalForwardRedeclChain().

## ◆ VisitVariableArrayType()

ExpectedType ASTNodeImporter::VisitVariableArrayType | ( | const VariableArrayType * | T | ) |

Definition at line 1176 of file ASTImporter.cpp.

References clang::VariableArrayType::getBracketsRange(), clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::VariableArrayType::getSizeExpr(), and clang::ArrayType::getSizeModifier().

## ◆ VisitVarTemplateDecl()

ExpectedDecl ASTNodeImporter::VisitVarTemplateDecl | ( | VarTemplateDecl * | D | ) |

Definition at line 5522 of file ASTImporter.cpp.

References clang::VarDecl::getDefinition(), and clang::VarTemplateDecl::getTemplatedDecl().

## ◆ VisitVarTemplateSpecializationDecl()

ExpectedDecl ASTNodeImporter::VisitVarTemplateSpecializationDecl | ( | VarTemplateSpecializationDecl * | D | ) |

Definition at line 5615 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::VarTemplateDecl::AddSpecialization(), clang::TemplateArgumentList::data(), clang::ImportError::Error, 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::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::VarDecl::isConstexpr(), clang::VarDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::Decl::setAccess(), clang::VarDecl::setConstexpr(), clang::Decl::setLexicalDeclContext(), clang::VarTemplateSpecializationDecl::setPointOfInstantiation(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarTemplateSpecializationDecl::setSpecializationKind(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateArgumentList::size().

## ◆ VisitVectorType()

ExpectedType ASTNodeImporter::VisitVectorType | ( | const VectorType * | T | ) |

Definition at line 1209 of file ASTImporter.cpp.

References clang::VectorType::getElementType(), clang::VectorType::getNumElements(), and clang::VectorType::getVectorKind().

## ◆ VisitWhileStmt()

ExpectedStmt ASTNodeImporter::VisitWhileStmt | ( | WhileStmt * | S | ) |

Definition at line 6090 of file ASTImporter.cpp.

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

- lib/AST/ASTImporter.cpp