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

Public Types

enum  ImportDefinitionKind { IDK_Default, IDK_Everything, IDK_Basic }
 What we should import from the definition. More...
 
using Designator = DesignatedInitExpr::Designator
 

Public Member Functions

 ASTNodeImporter (ASTImporter &Importer)
 
QualType VisitType (const Type *T)
 
QualType VisitAtomicType (const AtomicType *T)
 
QualType VisitBuiltinType (const BuiltinType *T)
 
QualType VisitDecayedType (const DecayedType *T)
 
QualType VisitComplexType (const ComplexType *T)
 
QualType VisitPointerType (const PointerType *T)
 
QualType VisitBlockPointerType (const BlockPointerType *T)
 
QualType VisitLValueReferenceType (const LValueReferenceType *T)
 
QualType VisitRValueReferenceType (const RValueReferenceType *T)
 
QualType VisitMemberPointerType (const MemberPointerType *T)
 
QualType VisitConstantArrayType (const ConstantArrayType *T)
 
QualType VisitIncompleteArrayType (const IncompleteArrayType *T)
 
QualType VisitVariableArrayType (const VariableArrayType *T)
 
QualType VisitDependentSizedArrayType (const DependentSizedArrayType *T)
 
QualType VisitVectorType (const VectorType *T)
 
QualType VisitExtVectorType (const ExtVectorType *T)
 
QualType VisitFunctionNoProtoType (const FunctionNoProtoType *T)
 
QualType VisitFunctionProtoType (const FunctionProtoType *T)
 
QualType VisitUnresolvedUsingType (const UnresolvedUsingType *T)
 
QualType VisitParenType (const ParenType *T)
 
QualType VisitTypedefType (const TypedefType *T)
 
QualType VisitTypeOfExprType (const TypeOfExprType *T)
 
QualType VisitTypeOfType (const TypeOfType *T)
 
QualType VisitDecltypeType (const DecltypeType *T)
 
QualType VisitUnaryTransformType (const UnaryTransformType *T)
 
QualType VisitAutoType (const AutoType *T)
 
QualType VisitInjectedClassNameType (const InjectedClassNameType *T)
 
QualType VisitRecordType (const RecordType *T)
 
QualType VisitEnumType (const EnumType *T)
 
QualType VisitAttributedType (const AttributedType *T)
 
QualType VisitTemplateTypeParmType (const TemplateTypeParmType *T)
 
QualType VisitSubstTemplateTypeParmType (const SubstTemplateTypeParmType *T)
 
QualType VisitTemplateSpecializationType (const TemplateSpecializationType *T)
 
QualType VisitElaboratedType (const ElaboratedType *T)
 
QualType VisitDependentNameType (const DependentNameType *T)
 
QualType VisitPackExpansionType (const PackExpansionType *T)
 
QualType VisitDependentTemplateSpecializationType (const DependentTemplateSpecializationType *T)
 
QualType VisitObjCInterfaceType (const ObjCInterfaceType *T)
 
QualType VisitObjCObjectType (const ObjCObjectType *T)
 
QualType VisitObjCObjectPointerType (const ObjCObjectPointerType *T)
 
bool ImportDeclParts (NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC, DeclarationName &Name, NamedDecl *&ToD, SourceLocation &Loc)
 
void ImportDefinitionIfNeeded (Decl *FromD, Decl *ToD=nullptr)
 
void ImportDeclarationNameLoc (const DeclarationNameInfo &From, DeclarationNameInfo &To)
 
void ImportDeclContext (DeclContext *FromDC, bool ForceImport=false)
 
bool ImportCastPath (CastExpr *E, CXXCastPath &Path)
 
Designator ImportDesignator (const Designator &D)
 
Optional< LambdaCaptureImportLambdaCapture (const LambdaCapture &From)
 
bool shouldForceImportDeclContext (ImportDefinitionKind IDK)
 
bool ImportDefinition (RecordDecl *From, RecordDecl *To, ImportDefinitionKind Kind=IDK_Default)
 
bool ImportDefinition (VarDecl *From, VarDecl *To, ImportDefinitionKind Kind=IDK_Default)
 
bool ImportDefinition (EnumDecl *From, EnumDecl *To, ImportDefinitionKind Kind=IDK_Default)
 
bool ImportDefinition (ObjCInterfaceDecl *From, ObjCInterfaceDecl *To, ImportDefinitionKind Kind=IDK_Default)
 
bool ImportDefinition (ObjCProtocolDecl *From, ObjCProtocolDecl *To, ImportDefinitionKind Kind=IDK_Default)
 
TemplateParameterListImportTemplateParameterList (TemplateParameterList *Params)
 
TemplateArgument ImportTemplateArgument (const TemplateArgument &From)
 
Optional< TemplateArgumentLocImportTemplateArgumentLoc (const TemplateArgumentLoc &TALoc)
 
bool ImportTemplateArguments (const TemplateArgument *FromArgs, unsigned NumFromArgs, SmallVectorImpl< TemplateArgument > &ToArgs)
 
template<typename InContainerTy >
bool ImportTemplateArgumentListInfo (const InContainerTy &Container, TemplateArgumentListInfo &ToTAInfo)
 
template<typename InContainerTy >
bool ImportTemplateArgumentListInfo (SourceLocation FromLAngleLoc, SourceLocation FromRAngleLoc, const InContainerTy &Container, TemplateArgumentListInfo &Result)
 
bool ImportTemplateInformation (FunctionDecl *FromFD, FunctionDecl *ToFD)
 
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 (ClassTemplateDecl *From, ClassTemplateDecl *To)
 
bool IsStructuralMatch (VarTemplateDecl *From, VarTemplateDecl *To)
 
DeclVisitDecl (Decl *D)
 
DeclVisitEmptyDecl (EmptyDecl *D)
 
DeclVisitAccessSpecDecl (AccessSpecDecl *D)
 
DeclVisitStaticAssertDecl (StaticAssertDecl *D)
 
DeclVisitTranslationUnitDecl (TranslationUnitDecl *D)
 
DeclVisitNamespaceDecl (NamespaceDecl *D)
 
DeclVisitNamespaceAliasDecl (NamespaceAliasDecl *D)
 
DeclVisitTypedefNameDecl (TypedefNameDecl *D, bool IsAlias)
 
DeclVisitTypedefDecl (TypedefDecl *D)
 
DeclVisitTypeAliasDecl (TypeAliasDecl *D)
 
DeclVisitTypeAliasTemplateDecl (TypeAliasTemplateDecl *D)
 
DeclVisitLabelDecl (LabelDecl *D)
 
DeclVisitEnumDecl (EnumDecl *D)
 
DeclVisitRecordDecl (RecordDecl *D)
 
DeclVisitEnumConstantDecl (EnumConstantDecl *D)
 
DeclVisitFunctionDecl (FunctionDecl *D)
 
DeclVisitCXXMethodDecl (CXXMethodDecl *D)
 
DeclVisitCXXConstructorDecl (CXXConstructorDecl *D)
 
DeclVisitCXXDestructorDecl (CXXDestructorDecl *D)
 
DeclVisitCXXConversionDecl (CXXConversionDecl *D)
 
DeclVisitFieldDecl (FieldDecl *D)
 
DeclVisitIndirectFieldDecl (IndirectFieldDecl *D)
 
DeclVisitFriendDecl (FriendDecl *D)
 
DeclVisitObjCIvarDecl (ObjCIvarDecl *D)
 
DeclVisitVarDecl (VarDecl *D)
 
DeclVisitImplicitParamDecl (ImplicitParamDecl *D)
 
DeclVisitParmVarDecl (ParmVarDecl *D)
 
DeclVisitObjCMethodDecl (ObjCMethodDecl *D)
 
DeclVisitObjCTypeParamDecl (ObjCTypeParamDecl *D)
 
DeclVisitObjCCategoryDecl (ObjCCategoryDecl *D)
 
DeclVisitObjCProtocolDecl (ObjCProtocolDecl *D)
 
DeclVisitLinkageSpecDecl (LinkageSpecDecl *D)
 
DeclVisitUsingDecl (UsingDecl *D)
 
DeclVisitUsingShadowDecl (UsingShadowDecl *D)
 
DeclVisitUsingDirectiveDecl (UsingDirectiveDecl *D)
 
DeclVisitUnresolvedUsingValueDecl (UnresolvedUsingValueDecl *D)
 
DeclVisitUnresolvedUsingTypenameDecl (UnresolvedUsingTypenameDecl *D)
 
ObjCTypeParamListImportObjCTypeParamList (ObjCTypeParamList *list)
 
DeclVisitObjCInterfaceDecl (ObjCInterfaceDecl *D)
 
DeclVisitObjCCategoryImplDecl (ObjCCategoryImplDecl *D)
 
DeclVisitObjCImplementationDecl (ObjCImplementationDecl *D)
 
DeclVisitObjCPropertyDecl (ObjCPropertyDecl *D)
 
DeclVisitObjCPropertyImplDecl (ObjCPropertyImplDecl *D)
 
DeclVisitTemplateTypeParmDecl (TemplateTypeParmDecl *D)
 
DeclVisitNonTypeTemplateParmDecl (NonTypeTemplateParmDecl *D)
 
DeclVisitTemplateTemplateParmDecl (TemplateTemplateParmDecl *D)
 
DeclVisitClassTemplateDecl (ClassTemplateDecl *D)
 
DeclVisitClassTemplateSpecializationDecl (ClassTemplateSpecializationDecl *D)
 
DeclVisitVarTemplateDecl (VarTemplateDecl *D)
 
DeclVisitVarTemplateSpecializationDecl (VarTemplateSpecializationDecl *D)
 
DeclVisitFunctionTemplateDecl (FunctionTemplateDecl *D)
 
DeclGroupRef ImportDeclGroup (DeclGroupRef DG)
 
StmtVisitStmt (Stmt *S)
 
StmtVisitGCCAsmStmt (GCCAsmStmt *S)
 
StmtVisitDeclStmt (DeclStmt *S)
 
StmtVisitNullStmt (NullStmt *S)
 
StmtVisitCompoundStmt (CompoundStmt *S)
 
StmtVisitCaseStmt (CaseStmt *S)
 
StmtVisitDefaultStmt (DefaultStmt *S)
 
StmtVisitLabelStmt (LabelStmt *S)
 
StmtVisitAttributedStmt (AttributedStmt *S)
 
StmtVisitIfStmt (IfStmt *S)
 
StmtVisitSwitchStmt (SwitchStmt *S)
 
StmtVisitWhileStmt (WhileStmt *S)
 
StmtVisitDoStmt (DoStmt *S)
 
StmtVisitForStmt (ForStmt *S)
 
StmtVisitGotoStmt (GotoStmt *S)
 
StmtVisitIndirectGotoStmt (IndirectGotoStmt *S)
 
StmtVisitContinueStmt (ContinueStmt *S)
 
StmtVisitBreakStmt (BreakStmt *S)
 
StmtVisitReturnStmt (ReturnStmt *S)
 
StmtVisitCXXCatchStmt (CXXCatchStmt *S)
 
StmtVisitCXXTryStmt (CXXTryStmt *S)
 
StmtVisitCXXForRangeStmt (CXXForRangeStmt *S)
 
StmtVisitObjCForCollectionStmt (ObjCForCollectionStmt *S)
 
StmtVisitObjCAtCatchStmt (ObjCAtCatchStmt *S)
 
StmtVisitObjCAtFinallyStmt (ObjCAtFinallyStmt *S)
 
StmtVisitObjCAtTryStmt (ObjCAtTryStmt *S)
 
StmtVisitObjCAtSynchronizedStmt (ObjCAtSynchronizedStmt *S)
 
StmtVisitObjCAtThrowStmt (ObjCAtThrowStmt *S)
 
StmtVisitObjCAutoreleasePoolStmt (ObjCAutoreleasePoolStmt *S)
 
ExprVisitExpr (Expr *E)
 
ExprVisitVAArgExpr (VAArgExpr *E)
 
ExprVisitGNUNullExpr (GNUNullExpr *E)
 
ExprVisitPredefinedExpr (PredefinedExpr *E)
 
ExprVisitDeclRefExpr (DeclRefExpr *E)
 
ExprVisitImplicitValueInitExpr (ImplicitValueInitExpr *ILE)
 
ExprVisitDesignatedInitExpr (DesignatedInitExpr *E)
 
ExprVisitCXXNullPtrLiteralExpr (CXXNullPtrLiteralExpr *E)
 
ExprVisitIntegerLiteral (IntegerLiteral *E)
 
ExprVisitFloatingLiteral (FloatingLiteral *E)
 
ExprVisitCharacterLiteral (CharacterLiteral *E)
 
ExprVisitStringLiteral (StringLiteral *E)
 
ExprVisitCompoundLiteralExpr (CompoundLiteralExpr *E)
 
ExprVisitAtomicExpr (AtomicExpr *E)
 
ExprVisitAddrLabelExpr (AddrLabelExpr *E)
 
ExprVisitParenExpr (ParenExpr *E)
 
ExprVisitParenListExpr (ParenListExpr *E)
 
ExprVisitStmtExpr (StmtExpr *E)
 
ExprVisitUnaryOperator (UnaryOperator *E)
 
ExprVisitUnaryExprOrTypeTraitExpr (UnaryExprOrTypeTraitExpr *E)
 
ExprVisitBinaryOperator (BinaryOperator *E)
 
ExprVisitConditionalOperator (ConditionalOperator *E)
 
ExprVisitBinaryConditionalOperator (BinaryConditionalOperator *E)
 
ExprVisitOpaqueValueExpr (OpaqueValueExpr *E)
 
ExprVisitArrayTypeTraitExpr (ArrayTypeTraitExpr *E)
 
ExprVisitExpressionTraitExpr (ExpressionTraitExpr *E)
 
ExprVisitArraySubscriptExpr (ArraySubscriptExpr *E)
 
ExprVisitCompoundAssignOperator (CompoundAssignOperator *E)
 
ExprVisitImplicitCastExpr (ImplicitCastExpr *E)
 
ExprVisitExplicitCastExpr (ExplicitCastExpr *E)
 
ExprVisitOffsetOfExpr (OffsetOfExpr *OE)
 
ExprVisitCXXThrowExpr (CXXThrowExpr *E)
 
ExprVisitCXXNoexceptExpr (CXXNoexceptExpr *E)
 
ExprVisitCXXDefaultArgExpr (CXXDefaultArgExpr *E)
 
ExprVisitCXXScalarValueInitExpr (CXXScalarValueInitExpr *E)
 
ExprVisitCXXBindTemporaryExpr (CXXBindTemporaryExpr *E)
 
ExprVisitCXXTemporaryObjectExpr (CXXTemporaryObjectExpr *CE)
 
ExprVisitMaterializeTemporaryExpr (MaterializeTemporaryExpr *E)
 
ExprVisitPackExpansionExpr (PackExpansionExpr *E)
 
ExprVisitSizeOfPackExpr (SizeOfPackExpr *E)
 
ExprVisitCXXNewExpr (CXXNewExpr *CE)
 
ExprVisitCXXDeleteExpr (CXXDeleteExpr *E)
 
ExprVisitCXXConstructExpr (CXXConstructExpr *E)
 
ExprVisitCXXMemberCallExpr (CXXMemberCallExpr *E)
 
ExprVisitCXXDependentScopeMemberExpr (CXXDependentScopeMemberExpr *E)
 
ExprVisitDependentScopeDeclRefExpr (DependentScopeDeclRefExpr *E)
 
ExprVisitCXXUnresolvedConstructExpr (CXXUnresolvedConstructExpr *CE)
 
ExprVisitUnresolvedLookupExpr (UnresolvedLookupExpr *E)
 
ExprVisitUnresolvedMemberExpr (UnresolvedMemberExpr *E)
 
ExprVisitExprWithCleanups (ExprWithCleanups *EWC)
 
ExprVisitCXXThisExpr (CXXThisExpr *E)
 
ExprVisitCXXBoolLiteralExpr (CXXBoolLiteralExpr *E)
 
ExprVisitCXXPseudoDestructorExpr (CXXPseudoDestructorExpr *E)
 
ExprVisitMemberExpr (MemberExpr *E)
 
ExprVisitCallExpr (CallExpr *E)
 
ExprVisitLambdaExpr (LambdaExpr *LE)
 
ExprVisitInitListExpr (InitListExpr *E)
 
ExprVisitArrayInitLoopExpr (ArrayInitLoopExpr *E)
 
ExprVisitArrayInitIndexExpr (ArrayInitIndexExpr *E)
 
ExprVisitCXXDefaultInitExpr (CXXDefaultInitExpr *E)
 
ExprVisitCXXNamedCastExpr (CXXNamedCastExpr *E)
 
ExprVisitSubstNonTypeTemplateParmExpr (SubstNonTypeTemplateParmExpr *E)
 
ExprVisitTypeTraitExpr (TypeTraitExpr *E)
 
ExprVisitCXXTypeidExpr (CXXTypeidExpr *E)
 
template<typename IIter , typename OIter >
void ImportArray (IIter Ibegin, IIter Iend, OIter Obegin)
 
template<typename IIter , typename OIter >
bool ImportArrayChecked (IIter Ibegin, IIter Iend, OIter Obegin)
 
template<typename InContainerTy , typename OutContainerTy >
bool ImportContainerChecked (const InContainerTy &InContainer, OutContainerTy &OutContainer)
 
template<typename InContainerTy , typename OIter >
bool ImportArrayChecked (const InContainerTy &InContainer, OIter Obegin)
 
void ImportOverrides (CXXMethodDecl *ToMethod, CXXMethodDecl *FromMethod)
 
template<>
bool ImportTemplateArgumentListInfo (const TemplateArgumentListInfo &From, TemplateArgumentListInfo &Result)
 
template<>
bool ImportTemplateArgumentListInfo (const ASTTemplateArgumentListInfo &From, TemplateArgumentListInfo &Result)
 
- Public Member Functions inherited from clang::TypeVisitor< ASTNodeImporter, QualType >
QualType Visit (const Type *T)
 Performs the operation associated with this visitor object. More...
 
QualType 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< declvisitor::make_ptr, ASTNodeImporter, Decl * >
DeclVisit (PTR(Decl) D)
 
DeclVisitDecl (PTR(Decl) D)
 
- Public Member Functions inherited from clang::StmtVisitorBase< make_ptr, ASTNodeImporter, Stmt *, ParamTys... >
StmtVisit (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) Stmt * VisitStmt(PTR(Stmt) Node
 

Additional Inherited Members

- Public Attributes inherited from clang::StmtVisitorBase< make_ptr, ASTNodeImporter, Stmt *, ParamTys... >
ParamTys P
 

Detailed Description

Definition at line 74 of file ASTImporter.cpp.

Member Typedef Documentation

◆ Designator

Definition at line 143 of file ASTImporter.cpp.

Member Enumeration Documentation

◆ ImportDefinitionKind

What we should import from the definition.

Enumerator
IDK_Default 

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

IDK_Everything 

Import everything.

IDK_Basic 

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

Definition at line 150 of file ASTImporter.cpp.

Constructor & Destructor Documentation

◆ ASTNodeImporter()

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

Member Function Documentation

◆ ImportArray()

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

Definition at line 371 of file ASTImporter.cpp.

References clang::ASTImporter::Import(), and clang::ast_matchers::type.

◆ ImportArrayChecked() [1/2]

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

◆ ImportArrayChecked() [2/2]

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

Definition at line 405 of file ASTImporter.cpp.

References ImportArrayChecked(), and ImportOverrides().

◆ ImportCastPath()

bool ASTNodeImporter::ImportCastPath ( CastExpr E,
CXXCastPath Path 
)

Definition at line 5664 of file ASTImporter.cpp.

◆ ImportContainerChecked()

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

◆ ImportDeclarationNameLoc()

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

◆ ImportDeclContext()

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

◆ ImportDeclGroup()

DeclGroupRef ASTNodeImporter::ImportDeclGroup ( DeclGroupRef  DG)

◆ ImportDeclParts()

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

Definition at line 1016 of file ASTImporter.cpp.

Referenced by ASTNodeImporter().

◆ ImportDefinition() [1/5]

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

◆ ImportDefinition() [2/5]

bool ASTNodeImporter::ImportDefinition ( VarDecl From,
VarDecl To,
ImportDefinitionKind  Kind = IDK_Default 
)

◆ ImportDefinition() [3/5]

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

◆ ImportDefinition() [4/5]

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

◆ ImportDefinition() [5/5]

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

◆ ImportDefinitionIfNeeded()

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

◆ ImportDesignator()

ASTNodeImporter::Designator ASTNodeImporter::ImportDesignator ( const Designator D)

◆ ImportLambdaCapture()

Optional< LambdaCapture > ASTNodeImporter::ImportLambdaCapture ( const LambdaCapture From)

◆ ImportObjCTypeParamList()

ObjCTypeParamList * ASTNodeImporter::ImportObjCTypeParamList ( ObjCTypeParamList list)

Definition at line 3668 of file ASTImporter.cpp.

References clang::ObjCTypeParamList::create().

◆ ImportOverrides()

void ASTNodeImporter::ImportOverrides ( CXXMethodDecl ToMethod,
CXXMethodDecl FromMethod 
)

◆ ImportTemplateArgument()

TemplateArgument ASTNodeImporter::ImportTemplateArgument ( const TemplateArgument From)

◆ ImportTemplateArgumentListInfo() [1/4]

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

◆ ImportTemplateArgumentListInfo() [2/4]

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

Definition at line 414 of file ASTImporter.cpp.

◆ ImportTemplateArgumentListInfo() [3/4]

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

Definition at line 426 of file ASTImporter.cpp.

References ImportTemplateArgumentListInfo(), and clang::Result.

◆ ImportTemplateArgumentListInfo() [4/4]

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

Definition at line 434 of file ASTImporter.cpp.

References ImportTemplateArgumentListInfo(), and clang::Result.

◆ ImportTemplateArgumentLoc()

Optional< TemplateArgumentLoc > ASTNodeImporter::ImportTemplateArgumentLoc ( const TemplateArgumentLoc TALoc)

◆ ImportTemplateArguments()

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

◆ ImportTemplateInformation()

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

◆ ImportTemplateParameterList()

TemplateParameterList * ASTNodeImporter::ImportTemplateParameterList ( TemplateParameterList Params)

◆ IsStructuralMatch() [1/7]

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

◆ IsStructuralMatch() [2/7]

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

◆ IsStructuralMatch() [3/7]

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

◆ IsStructuralMatch() [4/7]

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

Definition at line 1481 of file ASTImporter.cpp.

References clang::EnumConstantDecl::getInitVal().

◆ IsStructuralMatch() [5/7]

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

◆ IsStructuralMatch() [6/7]

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

◆ IsStructuralMatch() [7/7]

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

◆ shouldForceImportDeclContext()

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

◆ VisitAccessSpecDecl()

Decl * ASTNodeImporter::VisitAccessSpecDecl ( AccessSpecDecl D)

◆ VisitAddrLabelExpr()

Expr * ASTNodeImporter::VisitAddrLabelExpr ( AddrLabelExpr E)

Definition at line 5406 of file ASTImporter.cpp.

◆ VisitArrayInitIndexExpr()

Expr * ASTNodeImporter::VisitArrayInitIndexExpr ( ArrayInitIndexExpr E)

Definition at line 6528 of file ASTImporter.cpp.

◆ VisitArrayInitLoopExpr()

Expr * ASTNodeImporter::VisitArrayInitLoopExpr ( ArrayInitLoopExpr E)

Definition at line 6511 of file ASTImporter.cpp.

◆ VisitArraySubscriptExpr()

Expr * ASTNodeImporter::VisitArraySubscriptExpr ( ArraySubscriptExpr E)

Definition at line 5616 of file ASTImporter.cpp.

◆ VisitArrayTypeTraitExpr()

Expr * ASTNodeImporter::VisitArrayTypeTraitExpr ( ArrayTypeTraitExpr E)

Definition at line 5570 of file ASTImporter.cpp.

◆ VisitAtomicExpr()

Expr * ASTNodeImporter::VisitAtomicExpr ( AtomicExpr E)

Definition at line 5390 of file ASTImporter.cpp.

◆ VisitAtomicType()

QualType ASTNodeImporter::VisitAtomicType ( const AtomicType T)

Definition at line 454 of file ASTImporter.cpp.

References clang::AtomicType::getValueType(), and clang::QualType::isNull().

Referenced by ASTNodeImporter().

◆ VisitAttributedStmt()

Stmt * ASTNodeImporter::VisitAttributedStmt ( AttributedStmt S)

Definition at line 4810 of file ASTImporter.cpp.

◆ VisitAttributedType()

QualType ASTNodeImporter::VisitAttributedType ( const AttributedType T)

◆ VisitAutoType()

QualType ASTNodeImporter::VisitAutoType ( const AutoType T)

◆ VisitBinaryConditionalOperator()

Expr * ASTNodeImporter::VisitBinaryConditionalOperator ( BinaryConditionalOperator E)

Definition at line 5537 of file ASTImporter.cpp.

◆ VisitBinaryOperator()

Expr * ASTNodeImporter::VisitBinaryOperator ( BinaryOperator E)

Definition at line 5494 of file ASTImporter.cpp.

◆ VisitBlockPointerType()

QualType ASTNodeImporter::VisitBlockPointerType ( const BlockPointerType T)

◆ VisitBreakStmt()

Stmt * ASTNodeImporter::VisitBreakStmt ( BreakStmt S)

Definition at line 4986 of file ASTImporter.cpp.

◆ VisitBuiltinType()

QualType ASTNodeImporter::VisitBuiltinType ( const BuiltinType T)

Definition at line 462 of file ASTImporter.cpp.

References clang::BuiltinType::getKind().

Referenced by ASTNodeImporter().

◆ VisitCallExpr()

Expr * ASTNodeImporter::VisitCallExpr ( CallExpr E)

Definition at line 6370 of file ASTImporter.cpp.

◆ VisitCaseStmt()

Stmt * ASTNodeImporter::VisitCaseStmt ( CaseStmt S)

Definition at line 4769 of file ASTImporter.cpp.

◆ VisitCharacterLiteral()

Expr * ASTNodeImporter::VisitCharacterLiteral ( CharacterLiteral E)

Definition at line 5349 of file ASTImporter.cpp.

◆ VisitClassTemplateDecl()

Decl * ASTNodeImporter::VisitClassTemplateDecl ( ClassTemplateDecl D)

◆ VisitClassTemplateSpecializationDecl()

Decl * ASTNodeImporter::VisitClassTemplateSpecializationDecl ( ClassTemplateSpecializationDecl D)

Definition at line 4206 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::ClassTemplateSpecializationDecl::Create(), clang::ClassTemplatePartialSpecializationDecl::Create(), clang::TemplateArgumentList::data(), clang::QualType::getCanonicalType(), clang::Decl::getDeclContext(), clang::CXXRecordDecl::getDefinition(), clang::ClassTemplateSpecializationDecl::getExternLoc(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), clang::TypeDecl::getLocStart(), clang::ClassTemplateSpecializationDecl::getPointOfInstantiation(), clang::TagDecl::getQualifierLoc(), clang::ClassTemplateSpecializationDecl::getSpecializationKind(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplate(), clang::TagDecl::getTagKind(), clang::ClassTemplateSpecializationDecl::getTemplateArgs(), clang::ClassTemplateSpecializationDecl::getTemplateKeywordLoc(), clang::CXXRecordDecl::getTemplateSpecializationKind(), clang::ClassTemplateSpecializationDecl::getTypeAsWritten(), ImportDefinition(), ImportTemplateArgumentListInfo(), ImportTemplateArguments(), ImportTemplateParameterList(), clang::TagDecl::isCompleteDefinition(), clang::ClassTemplateSpecializationDecl::isExplicitInstantiationOrSpecialization(), clang::QualType::isNull(), IsStructuralMatch(), clang::SourceLocation::isValid(), 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()

QualType ASTNodeImporter::VisitComplexType ( const ComplexType T)

Definition at line 515 of file ASTImporter.cpp.

References clang::ComplexType::getElementType(), and clang::QualType::isNull().

Referenced by ASTNodeImporter().

◆ VisitCompoundAssignOperator()

Expr * ASTNodeImporter::VisitCompoundAssignOperator ( CompoundAssignOperator E)

Definition at line 5634 of file ASTImporter.cpp.

◆ VisitCompoundLiteralExpr()

Expr * ASTNodeImporter::VisitCompoundLiteralExpr ( CompoundLiteralExpr E)

Definition at line 5372 of file ASTImporter.cpp.

◆ VisitCompoundStmt()

Stmt * ASTNodeImporter::VisitCompoundStmt ( CompoundStmt S)

Definition at line 4757 of file ASTImporter.cpp.

◆ VisitConditionalOperator()

Expr * ASTNodeImporter::VisitConditionalOperator ( ConditionalOperator E)

Definition at line 5514 of file ASTImporter.cpp.

◆ VisitConstantArrayType()

QualType ASTNodeImporter::VisitConstantArrayType ( const ConstantArrayType T)

◆ VisitContinueStmt()

Stmt * ASTNodeImporter::VisitContinueStmt ( ContinueStmt S)

Definition at line 4981 of file ASTImporter.cpp.

◆ VisitCXXBindTemporaryExpr()

Expr * ASTNodeImporter::VisitCXXBindTemporaryExpr ( CXXBindTemporaryExpr E)

Definition at line 5888 of file ASTImporter.cpp.

◆ VisitCXXBoolLiteralExpr()

Expr * ASTNodeImporter::VisitCXXBoolLiteralExpr ( CXXBoolLiteralExpr E)

Definition at line 6128 of file ASTImporter.cpp.

◆ VisitCXXCatchStmt()

Stmt * ASTNodeImporter::VisitCXXCatchStmt ( CXXCatchStmt S)

Definition at line 5004 of file ASTImporter.cpp.

◆ VisitCXXConstructExpr()

Expr * ASTNodeImporter::VisitCXXConstructExpr ( CXXConstructExpr E)

Definition at line 6058 of file ASTImporter.cpp.

◆ VisitCXXConstructorDecl()

Decl * ASTNodeImporter::VisitCXXConstructorDecl ( CXXConstructorDecl D)

Definition at line 2557 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

◆ VisitCXXConversionDecl()

Decl * ASTNodeImporter::VisitCXXConversionDecl ( CXXConversionDecl D)

Definition at line 2565 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

◆ VisitCXXDefaultArgExpr()

Expr * ASTNodeImporter::VisitCXXDefaultArgExpr ( CXXDefaultArgExpr E)

Definition at line 5866 of file ASTImporter.cpp.

◆ VisitCXXDefaultInitExpr()

Expr * ASTNodeImporter::VisitCXXDefaultInitExpr ( CXXDefaultInitExpr E)

◆ VisitCXXDeleteExpr()

Expr * ASTNodeImporter::VisitCXXDeleteExpr ( CXXDeleteExpr E)

Definition at line 6034 of file ASTImporter.cpp.

◆ VisitCXXDependentScopeMemberExpr()

Expr * ASTNodeImporter::VisitCXXDependentScopeMemberExpr ( CXXDependentScopeMemberExpr E)

Definition at line 6209 of file ASTImporter.cpp.

◆ VisitCXXDestructorDecl()

Decl * ASTNodeImporter::VisitCXXDestructorDecl ( CXXDestructorDecl D)

Definition at line 2561 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

◆ VisitCXXForRangeStmt()

Stmt * ASTNodeImporter::VisitCXXForRangeStmt ( CXXForRangeStmt S)

Definition at line 5038 of file ASTImporter.cpp.

◆ VisitCXXMemberCallExpr()

Expr * ASTNodeImporter::VisitCXXMemberCallExpr ( CXXMemberCallExpr E)

Definition at line 6101 of file ASTImporter.cpp.

◆ VisitCXXMethodDecl()

Decl * ASTNodeImporter::VisitCXXMethodDecl ( CXXMethodDecl D)

◆ VisitCXXNamedCastExpr()

Expr * ASTNodeImporter::VisitCXXNamedCastExpr ( CXXNamedCastExpr E)

Definition at line 6544 of file ASTImporter.cpp.

◆ VisitCXXNewExpr()

Expr * ASTNodeImporter::VisitCXXNewExpr ( CXXNewExpr CE)

◆ VisitCXXNoexceptExpr()

Expr * ASTNodeImporter::VisitCXXNoexceptExpr ( CXXNoexceptExpr E)

Definition at line 5832 of file ASTImporter.cpp.

◆ VisitCXXNullPtrLiteralExpr()

Expr * ASTNodeImporter::VisitCXXNullPtrLiteralExpr ( CXXNullPtrLiteralExpr E)

Definition at line 5320 of file ASTImporter.cpp.

◆ VisitCXXPseudoDestructorExpr()

Expr * ASTNodeImporter::VisitCXXPseudoDestructorExpr ( CXXPseudoDestructorExpr E)

Definition at line 6177 of file ASTImporter.cpp.

◆ VisitCXXScalarValueInitExpr()

Expr * ASTNodeImporter::VisitCXXScalarValueInitExpr ( CXXScalarValueInitExpr E)

Definition at line 5875 of file ASTImporter.cpp.

◆ VisitCXXTemporaryObjectExpr()

Expr * ASTNodeImporter::VisitCXXTemporaryObjectExpr ( CXXTemporaryObjectExpr CE)

◆ VisitCXXThisExpr()

Expr * ASTNodeImporter::VisitCXXThisExpr ( CXXThisExpr E)

Definition at line 6119 of file ASTImporter.cpp.

◆ VisitCXXThrowExpr()

Expr * ASTNodeImporter::VisitCXXThrowExpr ( CXXThrowExpr E)

Definition at line 5852 of file ASTImporter.cpp.

◆ VisitCXXTryStmt()

Stmt * ASTNodeImporter::VisitCXXTryStmt ( CXXTryStmt S)

Definition at line 5021 of file ASTImporter.cpp.

◆ VisitCXXTypeidExpr()

Expr * ASTNodeImporter::VisitCXXTypeidExpr ( CXXTypeidExpr E)

Definition at line 6618 of file ASTImporter.cpp.

◆ VisitCXXUnresolvedConstructExpr()

Expr * ASTNodeImporter::VisitCXXUnresolvedConstructExpr ( CXXUnresolvedConstructExpr CE)

◆ VisitDecayedType()

QualType ASTNodeImporter::VisitDecayedType ( const DecayedType T)

Definition at line 507 of file ASTImporter.cpp.

References clang::AdjustedType::getOriginalType(), and clang::QualType::isNull().

Referenced by ASTNodeImporter().

◆ VisitDecl()

Decl * ASTNodeImporter::VisitDecl ( Decl D)

Definition at line 1507 of file ASTImporter.cpp.

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

◆ VisitDeclRefExpr()

Expr * ASTNodeImporter::VisitDeclRefExpr ( DeclRefExpr E)

Definition at line 5224 of file ASTImporter.cpp.

◆ VisitDeclStmt()

Stmt * ASTNodeImporter::VisitDeclStmt ( DeclStmt S)

Definition at line 4740 of file ASTImporter.cpp.

◆ VisitDecltypeType()

QualType ASTNodeImporter::VisitDecltypeType ( const DecltypeType T)

◆ VisitDefaultStmt()

Stmt * ASTNodeImporter::VisitDefaultStmt ( DefaultStmt S)

Definition at line 4788 of file ASTImporter.cpp.

◆ VisitDependentNameType()

QualType ASTNodeImporter::VisitDependentNameType ( const DependentNameType T)

Definition at line 949 of file ASTImporter.cpp.

References clang::DependentNameType::getQualifier().

Referenced by ASTNodeImporter().

◆ VisitDependentScopeDeclRefExpr()

Expr * ASTNodeImporter::VisitDependentScopeDeclRefExpr ( DependentScopeDeclRefExpr E)

Definition at line 6250 of file ASTImporter.cpp.

◆ VisitDependentSizedArrayType()

QualType ASTNodeImporter::VisitDependentSizedArrayType ( const DependentSizedArrayType T)

◆ VisitDependentTemplateSpecializationType()

QualType ASTNodeImporter::VisitDependentTemplateSpecializationType ( const DependentTemplateSpecializationType T)

◆ VisitDesignatedInitExpr()

Expr * ASTNodeImporter::VisitDesignatedInitExpr ( DesignatedInitExpr E)

◆ VisitDoStmt()

Stmt * ASTNodeImporter::VisitDoStmt ( DoStmt S)

Definition at line 4912 of file ASTImporter.cpp.

◆ VisitElaboratedType()

QualType ASTNodeImporter::VisitElaboratedType ( const ElaboratedType T)

◆ VisitEmptyDecl()

Decl * ASTNodeImporter::VisitEmptyDecl ( EmptyDecl D)

◆ VisitEnumConstantDecl()

Decl * ASTNodeImporter::VisitEnumConstantDecl ( EnumConstantDecl D)

Definition at line 2175 of file ASTImporter.cpp.

◆ VisitEnumDecl()

Decl * ASTNodeImporter::VisitEnumDecl ( EnumDecl D)

Definition at line 1881 of file ASTImporter.cpp.

◆ VisitEnumType()

QualType ASTNodeImporter::VisitEnumType ( const EnumType T)

Definition at line 818 of file ASTImporter.cpp.

References clang::EnumType::getDecl().

Referenced by ASTNodeImporter().

◆ VisitExplicitCastExpr()

Expr * ASTNodeImporter::VisitExplicitCastExpr ( ExplicitCastExpr E)

Definition at line 5691 of file ASTImporter.cpp.

◆ VisitExpr()

Expr * ASTNodeImporter::VisitExpr ( Expr E)

Definition at line 5178 of file ASTImporter.cpp.

◆ VisitExpressionTraitExpr()

Expr * ASTNodeImporter::VisitExpressionTraitExpr ( ExpressionTraitExpr E)

Definition at line 5588 of file ASTImporter.cpp.

◆ VisitExprWithCleanups()

Expr * ASTNodeImporter::VisitExprWithCleanups ( ExprWithCleanups EWC)

◆ VisitExtVectorType()

QualType ASTNodeImporter::VisitExtVectorType ( const ExtVectorType T)

◆ VisitFieldDecl()

Decl * ASTNodeImporter::VisitFieldDecl ( FieldDecl D)

Definition at line 2586 of file ASTImporter.cpp.

◆ VisitFloatingLiteral()

Expr * ASTNodeImporter::VisitFloatingLiteral ( FloatingLiteral E)

Definition at line 5339 of file ASTImporter.cpp.

◆ VisitForStmt()

Stmt * ASTNodeImporter::VisitForStmt ( ForStmt S)

Definition at line 4927 of file ASTImporter.cpp.

◆ VisitFriendDecl()

Decl * ASTNodeImporter::VisitFriendDecl ( FriendDecl D)

◆ VisitFunctionDecl()

Decl * ASTNodeImporter::VisitFunctionDecl ( FunctionDecl D)

Definition at line 2315 of file ASTImporter.cpp.

Referenced by VisitCXXMethodDecl().

◆ VisitFunctionNoProtoType()

QualType ASTNodeImporter::VisitFunctionNoProtoType ( const FunctionNoProtoType T)

◆ VisitFunctionProtoType()

QualType ASTNodeImporter::VisitFunctionProtoType ( const FunctionProtoType T)

◆ VisitFunctionTemplateDecl()

Decl * ASTNodeImporter::VisitFunctionTemplateDecl ( FunctionTemplateDecl D)

Definition at line 4585 of file ASTImporter.cpp.

◆ VisitGCCAsmStmt()

Stmt * ASTNodeImporter::VisitGCCAsmStmt ( GCCAsmStmt S)

Definition at line 4667 of file ASTImporter.cpp.

◆ VisitGNUNullExpr()

Expr * ASTNodeImporter::VisitGNUNullExpr ( GNUNullExpr E)

Definition at line 5202 of file ASTImporter.cpp.

◆ VisitGotoStmt()

Stmt * ASTNodeImporter::VisitGotoStmt ( GotoStmt S)

Definition at line 4958 of file ASTImporter.cpp.

◆ VisitIfStmt()

Stmt * ASTNodeImporter::VisitIfStmt ( IfStmt S)

Definition at line 4823 of file ASTImporter.cpp.

◆ VisitImplicitCastExpr()

Expr * ASTNodeImporter::VisitImplicitCastExpr ( ImplicitCastExpr E)

Definition at line 5674 of file ASTImporter.cpp.

◆ VisitImplicitParamDecl()

Decl * ASTNodeImporter::VisitImplicitParamDecl ( ImplicitParamDecl D)

Definition at line 2972 of file ASTImporter.cpp.

◆ VisitImplicitValueInitExpr()

Expr * ASTNodeImporter::VisitImplicitValueInitExpr ( ImplicitValueInitExpr ILE)

Definition at line 5261 of file ASTImporter.cpp.

◆ VisitIncompleteArrayType()

QualType ASTNodeImporter::VisitIncompleteArrayType ( const IncompleteArrayType T)

◆ VisitIndirectFieldDecl()

Decl * ASTNodeImporter::VisitIndirectFieldDecl ( IndirectFieldDecl D)

Definition at line 2650 of file ASTImporter.cpp.

◆ VisitIndirectGotoStmt()

Stmt * ASTNodeImporter::VisitIndirectGotoStmt ( IndirectGotoStmt S)

Definition at line 4971 of file ASTImporter.cpp.

◆ VisitInitListExpr()

Expr * ASTNodeImporter::VisitInitListExpr ( InitListExpr E)

◆ VisitInjectedClassNameType()

QualType ASTNodeImporter::VisitInjectedClassNameType ( const InjectedClassNameType T)

◆ VisitIntegerLiteral()

Expr * ASTNodeImporter::VisitIntegerLiteral ( IntegerLiteral E)

Definition at line 5329 of file ASTImporter.cpp.

◆ VisitLabelDecl()

Decl * ASTNodeImporter::VisitLabelDecl ( LabelDecl D)

Definition at line 1848 of file ASTImporter.cpp.

◆ VisitLabelStmt()

Stmt * ASTNodeImporter::VisitLabelStmt ( LabelStmt S)

Definition at line 4798 of file ASTImporter.cpp.

◆ VisitLambdaExpr()

Expr * ASTNodeImporter::VisitLambdaExpr ( LambdaExpr LE)

◆ VisitLinkageSpecDecl()

Decl * ASTNodeImporter::VisitLinkageSpecDecl ( LinkageSpecDecl D)

◆ VisitLValueReferenceType()

QualType ASTNodeImporter::VisitLValueReferenceType ( const LValueReferenceType T)

◆ VisitMaterializeTemporaryExpr()

Expr * ASTNodeImporter::VisitMaterializeTemporaryExpr ( MaterializeTemporaryExpr E)

Definition at line 5930 of file ASTImporter.cpp.

◆ VisitMemberExpr()

Expr * ASTNodeImporter::VisitMemberExpr ( MemberExpr E)

Definition at line 6138 of file ASTImporter.cpp.

◆ VisitMemberPointerType()

QualType ASTNodeImporter::VisitMemberPointerType ( const MemberPointerType T)

◆ VisitNamespaceAliasDecl()

Decl * ASTNodeImporter::VisitNamespaceAliasDecl ( NamespaceAliasDecl D)

Definition at line 1669 of file ASTImporter.cpp.

◆ VisitNamespaceDecl()

Decl * ASTNodeImporter::VisitNamespaceDecl ( NamespaceDecl D)

Definition at line 1598 of file ASTImporter.cpp.

◆ VisitNonTypeTemplateParmDecl()

Decl * ASTNodeImporter::VisitNonTypeTemplateParmDecl ( NonTypeTemplateParmDecl D)

Definition at line 4031 of file ASTImporter.cpp.

◆ VisitNullStmt()

Stmt * ASTNodeImporter::VisitNullStmt ( NullStmt S)

Definition at line 4751 of file ASTImporter.cpp.

◆ VisitObjCAtCatchStmt()

Stmt * ASTNodeImporter::VisitObjCAtCatchStmt ( ObjCAtCatchStmt S)

Definition at line 5093 of file ASTImporter.cpp.

◆ VisitObjCAtFinallyStmt()

Stmt * ASTNodeImporter::VisitObjCAtFinallyStmt ( ObjCAtFinallyStmt S)

Definition at line 5112 of file ASTImporter.cpp.

◆ VisitObjCAtSynchronizedStmt()

Stmt * ASTNodeImporter::VisitObjCAtSynchronizedStmt ( ObjCAtSynchronizedStmt S)

Definition at line 5144 of file ASTImporter.cpp.

◆ VisitObjCAtThrowStmt()

Stmt * ASTNodeImporter::VisitObjCAtThrowStmt ( ObjCAtThrowStmt S)

◆ VisitObjCAtTryStmt()

Stmt * ASTNodeImporter::VisitObjCAtTryStmt ( ObjCAtTryStmt S)

Definition at line 5121 of file ASTImporter.cpp.

◆ VisitObjCAutoreleasePoolStmt()

Stmt * ASTNodeImporter::VisitObjCAutoreleasePoolStmt ( ObjCAutoreleasePoolStmt S)

◆ VisitObjCCategoryDecl()

Decl * ASTNodeImporter::VisitObjCCategoryDecl ( ObjCCategoryDecl D)

Definition at line 3204 of file ASTImporter.cpp.

◆ VisitObjCCategoryImplDecl()

Decl * ASTNodeImporter::VisitObjCCategoryImplDecl ( ObjCCategoryImplDecl D)

◆ VisitObjCForCollectionStmt()

Stmt * ASTNodeImporter::VisitObjCForCollectionStmt ( ObjCForCollectionStmt S)

Definition at line 5075 of file ASTImporter.cpp.

◆ VisitObjCImplementationDecl()

Decl * ASTNodeImporter::VisitObjCImplementationDecl ( ObjCImplementationDecl D)

◆ VisitObjCInterfaceDecl()

Decl * ASTNodeImporter::VisitObjCInterfaceDecl ( ObjCInterfaceDecl D)

Definition at line 3688 of file ASTImporter.cpp.

References clang::ObjCInterfaceDecl::getDefinition().

◆ VisitObjCInterfaceType()

QualType ASTNodeImporter::VisitObjCInterfaceType ( const ObjCInterfaceType T)

Definition at line 968 of file ASTImporter.cpp.

References clang::ObjCInterfaceType::getDecl().

Referenced by ASTNodeImporter().

◆ VisitObjCIvarDecl()

Decl * ASTNodeImporter::VisitObjCIvarDecl ( ObjCIvarDecl D)

Definition at line 2786 of file ASTImporter.cpp.

◆ VisitObjCMethodDecl()

Decl * ASTNodeImporter::VisitObjCMethodDecl ( ObjCMethodDecl D)

Definition at line 3057 of file ASTImporter.cpp.

◆ VisitObjCObjectPointerType()

QualType ASTNodeImporter::VisitObjCObjectPointerType ( const ObjCObjectPointerType T)

◆ VisitObjCObjectType()

QualType ASTNodeImporter::VisitObjCObjectType ( const ObjCObjectType T)

◆ VisitObjCPropertyDecl()

Decl * ASTNodeImporter::VisitObjCPropertyDecl ( ObjCPropertyDecl D)

Definition at line 3863 of file ASTImporter.cpp.

◆ VisitObjCPropertyImplDecl()

Decl * ASTNodeImporter::VisitObjCPropertyImplDecl ( ObjCPropertyImplDecl D)

◆ VisitObjCProtocolDecl()

Decl * ASTNodeImporter::VisitObjCProtocolDecl ( ObjCProtocolDecl D)

Definition at line 3322 of file ASTImporter.cpp.

References clang::ObjCProtocolDecl::getDefinition().

◆ VisitObjCTypeParamDecl()

Decl * ASTNodeImporter::VisitObjCTypeParamDecl ( ObjCTypeParamDecl D)

Definition at line 3175 of file ASTImporter.cpp.

◆ VisitOffsetOfExpr()

Expr * ASTNodeImporter::VisitOffsetOfExpr ( OffsetOfExpr OE)

Definition at line 5772 of file ASTImporter.cpp.

References clang::Expr::getType(), clang::QualType::isNull(), Nodes, and clang::T.

◆ VisitOpaqueValueExpr()

Expr * ASTNodeImporter::VisitOpaqueValueExpr ( OpaqueValueExpr E)

Definition at line 5602 of file ASTImporter.cpp.

◆ VisitPackExpansionExpr()

Expr * ASTNodeImporter::VisitPackExpansionExpr ( PackExpansionExpr E)

Definition at line 5952 of file ASTImporter.cpp.

◆ VisitPackExpansionType()

QualType ASTNodeImporter::VisitPackExpansionType ( const PackExpansionType T)

◆ VisitParenExpr()

Expr * ASTNodeImporter::VisitParenExpr ( ParenExpr E)

Definition at line 5420 of file ASTImporter.cpp.

◆ VisitParenListExpr()

Expr * ASTNodeImporter::VisitParenListExpr ( ParenListExpr E)

Definition at line 5431 of file ASTImporter.cpp.

◆ VisitParenType()

QualType ASTNodeImporter::VisitParenType ( const ParenType T)

Definition at line 717 of file ASTImporter.cpp.

References clang::ParenType::getInnerType(), and clang::QualType::isNull().

Referenced by ASTNodeImporter().

◆ VisitParmVarDecl()

Decl * ASTNodeImporter::VisitParmVarDecl ( ParmVarDecl D)

Definition at line 2997 of file ASTImporter.cpp.

◆ VisitPointerType()

QualType ASTNodeImporter::VisitPointerType ( const PointerType T)

Definition at line 523 of file ASTImporter.cpp.

References clang::PointerType::getPointeeType(), and clang::QualType::isNull().

Referenced by ASTNodeImporter().

◆ VisitPredefinedExpr()

Expr * ASTNodeImporter::VisitPredefinedExpr ( PredefinedExpr E)

Definition at line 5211 of file ASTImporter.cpp.

◆ VisitRecordDecl()

Decl * ASTNodeImporter::VisitRecordDecl ( RecordDecl D)

◆ VisitRecordType()

QualType ASTNodeImporter::VisitRecordType ( const RecordType T)

Definition at line 810 of file ASTImporter.cpp.

References clang::RecordType::getDecl().

Referenced by ASTNodeImporter().

◆ VisitReturnStmt()

Stmt * ASTNodeImporter::VisitReturnStmt ( ReturnStmt S)

Definition at line 4991 of file ASTImporter.cpp.

◆ VisitRValueReferenceType()

QualType ASTNodeImporter::VisitRValueReferenceType ( const RValueReferenceType T)

◆ VisitSizeOfPackExpr()

Expr * ASTNodeImporter::VisitSizeOfPackExpr ( SizeOfPackExpr E)

Definition at line 5966 of file ASTImporter.cpp.

◆ VisitStaticAssertDecl()

Decl * ASTNodeImporter::VisitStaticAssertDecl ( StaticAssertDecl D)

◆ VisitStmt()

Stmt * ASTNodeImporter::VisitStmt ( Stmt S)

Definition at line 4661 of file ASTImporter.cpp.

◆ VisitStmtExpr()

Expr * ASTNodeImporter::VisitStmtExpr ( StmtExpr E)

Definition at line 5441 of file ASTImporter.cpp.

◆ VisitStringLiteral()

Expr * ASTNodeImporter::VisitStringLiteral ( StringLiteral E)

Definition at line 5359 of file ASTImporter.cpp.

◆ VisitSubstNonTypeTemplateParmExpr()

Expr * ASTNodeImporter::VisitSubstNonTypeTemplateParmExpr ( SubstNonTypeTemplateParmExpr E)

Definition at line 6578 of file ASTImporter.cpp.

◆ VisitSubstTemplateTypeParmType()

QualType ASTNodeImporter::VisitSubstTemplateTypeParmType ( const SubstTemplateTypeParmType T)

◆ VisitSwitchStmt()

Stmt * ASTNodeImporter::VisitSwitchStmt ( SwitchStmt S)

Definition at line 4853 of file ASTImporter.cpp.

◆ VisitTemplateSpecializationType()

QualType ASTNodeImporter::VisitTemplateSpecializationType ( const TemplateSpecializationType T)

◆ VisitTemplateTemplateParmDecl()

Decl * ASTNodeImporter::VisitTemplateTemplateParmDecl ( TemplateTemplateParmDecl D)

Definition at line 4061 of file ASTImporter.cpp.

◆ VisitTemplateTypeParmDecl()

Decl * ASTNodeImporter::VisitTemplateTypeParmDecl ( TemplateTypeParmDecl D)

◆ VisitTemplateTypeParmType()

QualType ASTNodeImporter::VisitTemplateTypeParmType ( const TemplateTypeParmType T)

◆ VisitTranslationUnitDecl()

Decl * ASTNodeImporter::VisitTranslationUnitDecl ( TranslationUnitDecl D)

Definition at line 1536 of file ASTImporter.cpp.

References clang::Decl::getTranslationUnitDecl().

◆ VisitType()

QualType ASTNodeImporter::VisitType ( const Type T)

Definition at line 448 of file ASTImporter.cpp.

References clang::Type::getTypeClassName().

Referenced by ASTNodeImporter().

◆ VisitTypeAliasDecl()

Decl * ASTNodeImporter::VisitTypeAliasDecl ( TypeAliasDecl D)

Definition at line 1786 of file ASTImporter.cpp.

References VisitTypedefNameDecl().

◆ VisitTypeAliasTemplateDecl()

Decl * ASTNodeImporter::VisitTypeAliasTemplateDecl ( TypeAliasTemplateDecl D)

Definition at line 1790 of file ASTImporter.cpp.

◆ VisitTypedefDecl()

Decl * ASTNodeImporter::VisitTypedefDecl ( TypedefDecl D)

Definition at line 1782 of file ASTImporter.cpp.

References VisitTypedefNameDecl().

◆ VisitTypedefNameDecl()

Decl * ASTNodeImporter::VisitTypedefNameDecl ( TypedefNameDecl D,
bool  IsAlias 
)

Definition at line 1707 of file ASTImporter.cpp.

Referenced by VisitTypeAliasDecl(), and VisitTypedefDecl().

◆ VisitTypedefType()

QualType ASTNodeImporter::VisitTypedefType ( const TypedefType T)

Definition at line 725 of file ASTImporter.cpp.

References clang::TypedefType::getDecl().

Referenced by ASTNodeImporter().

◆ VisitTypeOfExprType()

QualType ASTNodeImporter::VisitTypeOfExprType ( const TypeOfExprType T)

Definition at line 734 of file ASTImporter.cpp.

References clang::TypeOfExprType::getUnderlyingExpr().

Referenced by ASTNodeImporter().

◆ VisitTypeOfType()

QualType ASTNodeImporter::VisitTypeOfType ( const TypeOfType T)

Definition at line 742 of file ASTImporter.cpp.

References clang::TypeOfType::getUnderlyingType(), and clang::QualType::isNull().

Referenced by ASTNodeImporter().

◆ VisitTypeTraitExpr()

Expr * ASTNodeImporter::VisitTypeTraitExpr ( TypeTraitExpr E)

Definition at line 6598 of file ASTImporter.cpp.

◆ VisitUnaryExprOrTypeTraitExpr()

Expr * ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr ( UnaryExprOrTypeTraitExpr E)

Definition at line 5470 of file ASTImporter.cpp.

◆ VisitUnaryOperator()

Expr * ASTNodeImporter::VisitUnaryOperator ( UnaryOperator E)

Definition at line 5455 of file ASTImporter.cpp.

◆ VisitUnaryTransformType()

QualType ASTNodeImporter::VisitUnaryTransformType ( const UnaryTransformType T)

◆ VisitUnresolvedLookupExpr()

Expr * ASTNodeImporter::VisitUnresolvedLookupExpr ( UnresolvedLookupExpr E)

Definition at line 6286 of file ASTImporter.cpp.

◆ VisitUnresolvedMemberExpr()

Expr * ASTNodeImporter::VisitUnresolvedMemberExpr ( UnresolvedMemberExpr E)

Definition at line 6329 of file ASTImporter.cpp.

◆ VisitUnresolvedUsingType()

QualType ASTNodeImporter::VisitUnresolvedUsingType ( const UnresolvedUsingType T)

◆ VisitUnresolvedUsingTypenameDecl()

Decl * ASTNodeImporter::VisitUnresolvedUsingTypenameDecl ( UnresolvedUsingTypenameDecl D)

Definition at line 3549 of file ASTImporter.cpp.

◆ VisitUnresolvedUsingValueDecl()

Decl * ASTNodeImporter::VisitUnresolvedUsingValueDecl ( UnresolvedUsingValueDecl D)

Definition at line 3522 of file ASTImporter.cpp.

◆ VisitUsingDecl()

Decl * ASTNodeImporter::VisitUsingDecl ( UsingDecl D)

Definition at line 3404 of file ASTImporter.cpp.

◆ VisitUsingDirectiveDecl()

Decl * ASTNodeImporter::VisitUsingDirectiveDecl ( UsingDirectiveDecl D)

Definition at line 3491 of file ASTImporter.cpp.

◆ VisitUsingShadowDecl()

Decl * ASTNodeImporter::VisitUsingShadowDecl ( UsingShadowDecl D)

Definition at line 3447 of file ASTImporter.cpp.

◆ VisitVAArgExpr()

Expr * ASTNodeImporter::VisitVAArgExpr ( VAArgExpr E)

Definition at line 5184 of file ASTImporter.cpp.

◆ VisitVarDecl()

Decl * ASTNodeImporter::VisitVarDecl ( VarDecl D)

Definition at line 2838 of file ASTImporter.cpp.

◆ VisitVariableArrayType()

QualType ASTNodeImporter::VisitVariableArrayType ( const VariableArrayType T)

◆ VisitVarTemplateDecl()

Decl * ASTNodeImporter::VisitVarTemplateDecl ( VarTemplateDecl D)

◆ VisitVarTemplateSpecializationDecl()

Decl * ASTNodeImporter::VisitVarTemplateSpecializationDecl ( VarTemplateSpecializationDecl D)

Definition at line 4440 of file ASTImporter.cpp.

References clang::DeclContext::addDeclInternal(), clang::Create(), clang::VarTemplateSpecializationDecl::Create(), clang::TemplateArgumentList::data(), clang::Decl::getAccess(), clang::Decl::getDeclContext(), clang::VarDecl::getDefinition(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), clang::DeclaratorDecl::getLocStart(), 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::hasInit(), ImportDefinition(), ImportTemplateArgumentListInfo(), ImportTemplateArguments(), ImportTemplateParameterList(), clang::VarDecl::isConstexpr(), clang::QualType::isNull(), IsStructuralMatch(), clang::VarDecl::isThisDeclarationADefinition(), clang::Decl::setAccess(), clang::VarDecl::setConstexpr(), clang::Decl::setLexicalDeclContext(), clang::VarTemplateSpecializationDecl::setPointOfInstantiation(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarTemplateSpecializationDecl::setSpecializationKind(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TemplateArgumentList::size(), and clang::T.

◆ VisitVectorType()

QualType ASTNodeImporter::VisitVectorType ( const VectorType T)

◆ VisitWhileStmt()

Stmt * ASTNodeImporter::VisitWhileStmt ( WhileStmt S)

Definition at line 4891 of file ASTImporter.cpp.


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