clang  6.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...
 
typedef DesignatedInitExpr::Designator 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 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 VisitPackExpansionType (const PackExpansionType *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)
 
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)
 
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 (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)
 
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)
 
ExprVisitCXXNewExpr (CXXNewExpr *CE)
 
ExprVisitCXXDeleteExpr (CXXDeleteExpr *E)
 
ExprVisitCXXConstructExpr (CXXConstructExpr *E)
 
ExprVisitCXXMemberCallExpr (CXXMemberCallExpr *E)
 
ExprVisitExprWithCleanups (ExprWithCleanups *EWC)
 
ExprVisitCXXThisExpr (CXXThisExpr *E)
 
ExprVisitCXXBoolLiteralExpr (CXXBoolLiteralExpr *E)
 
ExprVisitCXXPseudoDestructorExpr (CXXPseudoDestructorExpr *E)
 
ExprVisitMemberExpr (MemberExpr *E)
 
ExprVisitCallExpr (CallExpr *E)
 
ExprVisitInitListExpr (InitListExpr *E)
 
ExprVisitArrayInitLoopExpr (ArrayInitLoopExpr *E)
 
ExprVisitArrayInitIndexExpr (ArrayInitIndexExpr *E)
 
ExprVisitCXXDefaultInitExpr (CXXDefaultInitExpr *E)
 
ExprVisitCXXNamedCastExpr (CXXNamedCastExpr *E)
 
ExprVisitSubstNonTypeTemplateParmExpr (SubstNonTypeTemplateParmExpr *E)
 
ExprVisitTypeTraitExpr (TypeTraitExpr *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)
 
- 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 29 of file ASTImporter.cpp.

Member Typedef Documentation

◆ Designator

Definition at line 97 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 102 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 299 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 332 of file ASTImporter.cpp.

References ImportArrayChecked(), and ImportOverrides().

◆ ImportCastPath()

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

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

◆ ImportObjCTypeParamList()

ObjCTypeParamList * ASTNodeImporter::ImportObjCTypeParamList ( ObjCTypeParamList list)

Definition at line 3341 of file ASTImporter.cpp.

References clang::ObjCTypeParamList::create().

Referenced by shouldForceImportDeclContext().

◆ ImportOverrides()

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

◆ ImportTemplateArgument()

TemplateArgument ASTNodeImporter::ImportTemplateArgument ( const TemplateArgument From)

◆ ImportTemplateArgumentLoc()

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

◆ ImportTemplateArguments()

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

◆ ImportTemplateParameterList()

TemplateParameterList * ASTNodeImporter::ImportTemplateParameterList ( TemplateParameterList Params)

◆ IsStructuralMatch() [1/6]

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

◆ IsStructuralMatch() [2/6]

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

◆ IsStructuralMatch() [3/6]

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

◆ IsStructuralMatch() [4/6]

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

Definition at line 1283 of file ASTImporter.cpp.

References clang::EnumConstantDecl::getInitVal().

◆ IsStructuralMatch() [5/6]

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

◆ IsStructuralMatch() [6/6]

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

◆ shouldForceImportDeclContext()

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

Definition at line 114 of file ASTImporter.cpp.

References IDK_Default, IDK_Everything, ImportDeclGroup(), ImportDefinition(), ImportObjCTypeParamList(), ImportTemplateArgument(), ImportTemplateArgumentLoc(), ImportTemplateArguments(), ImportTemplateParameterList(), clang::ASTImporter::isMinimalImport(), IsStructuralMatch(), VisitAccessSpecDecl(), VisitClassTemplateDecl(), VisitClassTemplateSpecializationDecl(), VisitCXXConstructorDecl(), VisitCXXConversionDecl(), VisitCXXDestructorDecl(), VisitCXXMethodDecl(), VisitDecl(), VisitEmptyDecl(), VisitEnumConstantDecl(), VisitEnumDecl(), VisitFieldDecl(), VisitFriendDecl(), VisitFunctionDecl(), VisitImplicitParamDecl(), VisitIndirectFieldDecl(), VisitLabelDecl(), VisitLinkageSpecDecl(), VisitNamespaceAliasDecl(), VisitNamespaceDecl(), VisitNonTypeTemplateParmDecl(), VisitObjCCategoryDecl(), VisitObjCCategoryImplDecl(), VisitObjCImplementationDecl(), VisitObjCInterfaceDecl(), VisitObjCIvarDecl(), VisitObjCMethodDecl(), VisitObjCPropertyDecl(), VisitObjCPropertyImplDecl(), VisitObjCProtocolDecl(), VisitObjCTypeParamDecl(), VisitParmVarDecl(), VisitRecordDecl(), VisitStaticAssertDecl(), VisitStmt(), VisitTemplateTemplateParmDecl(), VisitTemplateTypeParmDecl(), VisitTranslationUnitDecl(), VisitTypeAliasDecl(), VisitTypeAliasTemplateDecl(), VisitTypedefDecl(), VisitTypedefNameDecl(), VisitUnresolvedUsingTypenameDecl(), VisitUnresolvedUsingValueDecl(), VisitUsingDecl(), VisitUsingDirectiveDecl(), VisitUsingShadowDecl(), VisitVarDecl(), VisitVarTemplateDecl(), and VisitVarTemplateSpecializationDecl().

Referenced by ImportDefinition().

◆ VisitAccessSpecDecl()

Decl * ASTNodeImporter::VisitAccessSpecDecl ( AccessSpecDecl D)

◆ VisitAddrLabelExpr()

Expr * ASTNodeImporter::VisitAddrLabelExpr ( AddrLabelExpr E)

Definition at line 4981 of file ASTImporter.cpp.

◆ VisitArrayInitIndexExpr()

Expr * ASTNodeImporter::VisitArrayInitIndexExpr ( ArrayInitIndexExpr E)

Definition at line 5856 of file ASTImporter.cpp.

◆ VisitArrayInitLoopExpr()

Expr * ASTNodeImporter::VisitArrayInitLoopExpr ( ArrayInitLoopExpr E)

Definition at line 5839 of file ASTImporter.cpp.

◆ VisitArraySubscriptExpr()

Expr * ASTNodeImporter::VisitArraySubscriptExpr ( ArraySubscriptExpr E)

Definition at line 5192 of file ASTImporter.cpp.

◆ VisitArrayTypeTraitExpr()

Expr * ASTNodeImporter::VisitArrayTypeTraitExpr ( ArrayTypeTraitExpr E)

Definition at line 5146 of file ASTImporter.cpp.

◆ VisitAtomicExpr()

Expr * ASTNodeImporter::VisitAtomicExpr ( AtomicExpr E)

Definition at line 4965 of file ASTImporter.cpp.

◆ VisitAtomicType()

QualType ASTNodeImporter::VisitAtomicType ( const AtomicType T)

Definition at line 353 of file ASTImporter.cpp.

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

Referenced by ASTNodeImporter().

◆ VisitAttributedStmt()

Stmt * ASTNodeImporter::VisitAttributedStmt ( AttributedStmt S)

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

◆ VisitBinaryOperator()

Expr * ASTNodeImporter::VisitBinaryOperator ( BinaryOperator E)

Definition at line 5070 of file ASTImporter.cpp.

◆ VisitBlockPointerType()

QualType ASTNodeImporter::VisitBlockPointerType ( const BlockPointerType T)

◆ VisitBreakStmt()

Stmt * ASTNodeImporter::VisitBreakStmt ( BreakStmt S)

Definition at line 4554 of file ASTImporter.cpp.

◆ VisitBuiltinType()

QualType ASTNodeImporter::VisitBuiltinType ( const BuiltinType T)

Definition at line 361 of file ASTImporter.cpp.

References clang::BuiltinType::getKind().

Referenced by ASTNodeImporter().

◆ VisitCallExpr()

Expr * ASTNodeImporter::VisitCallExpr ( CallExpr E)

Definition at line 5762 of file ASTImporter.cpp.

◆ VisitCaseStmt()

Stmt * ASTNodeImporter::VisitCaseStmt ( CaseStmt S)

Definition at line 4329 of file ASTImporter.cpp.

◆ VisitCharacterLiteral()

Expr * ASTNodeImporter::VisitCharacterLiteral ( CharacterLiteral E)

Definition at line 4924 of file ASTImporter.cpp.

◆ VisitClassTemplateDecl()

Decl * ASTNodeImporter::VisitClassTemplateDecl ( ClassTemplateDecl D)

◆ VisitClassTemplateSpecializationDecl()

Decl * ASTNodeImporter::VisitClassTemplateSpecializationDecl ( ClassTemplateSpecializationDecl D)

◆ VisitComplexType()

QualType ASTNodeImporter::VisitComplexType ( const ComplexType T)

Definition at line 414 of file ASTImporter.cpp.

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

Referenced by ASTNodeImporter().

◆ VisitCompoundAssignOperator()

Expr * ASTNodeImporter::VisitCompoundAssignOperator ( CompoundAssignOperator E)

Definition at line 5210 of file ASTImporter.cpp.

◆ VisitCompoundLiteralExpr()

Expr * ASTNodeImporter::VisitCompoundLiteralExpr ( CompoundLiteralExpr E)

Definition at line 4947 of file ASTImporter.cpp.

◆ VisitCompoundStmt()

Stmt * ASTNodeImporter::VisitCompoundStmt ( CompoundStmt S)

Definition at line 4316 of file ASTImporter.cpp.

◆ VisitConditionalOperator()

Expr * ASTNodeImporter::VisitConditionalOperator ( ConditionalOperator E)

Definition at line 5090 of file ASTImporter.cpp.

◆ VisitConstantArrayType()

QualType ASTNodeImporter::VisitConstantArrayType ( const ConstantArrayType T)

◆ VisitContinueStmt()

Stmt * ASTNodeImporter::VisitContinueStmt ( ContinueStmt S)

Definition at line 4549 of file ASTImporter.cpp.

◆ VisitCXXBindTemporaryExpr()

Expr * ASTNodeImporter::VisitCXXBindTemporaryExpr ( CXXBindTemporaryExpr E)

Definition at line 5465 of file ASTImporter.cpp.

◆ VisitCXXBoolLiteralExpr()

Expr * ASTNodeImporter::VisitCXXBoolLiteralExpr ( CXXBoolLiteralExpr E)

Definition at line 5684 of file ASTImporter.cpp.

◆ VisitCXXCatchStmt()

Stmt * ASTNodeImporter::VisitCXXCatchStmt ( CXXCatchStmt S)

Definition at line 4572 of file ASTImporter.cpp.

◆ VisitCXXConstructExpr()

Expr * ASTNodeImporter::VisitCXXConstructExpr ( CXXConstructExpr E)

Definition at line 5614 of file ASTImporter.cpp.

◆ VisitCXXConstructorDecl()

Decl * ASTNodeImporter::VisitCXXConstructorDecl ( CXXConstructorDecl D)

Definition at line 2241 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

Referenced by shouldForceImportDeclContext().

◆ VisitCXXConversionDecl()

Decl * ASTNodeImporter::VisitCXXConversionDecl ( CXXConversionDecl D)

Definition at line 2249 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

Referenced by shouldForceImportDeclContext().

◆ VisitCXXDefaultArgExpr()

Expr * ASTNodeImporter::VisitCXXDefaultArgExpr ( CXXDefaultArgExpr E)

Definition at line 5442 of file ASTImporter.cpp.

◆ VisitCXXDefaultInitExpr()

Expr * ASTNodeImporter::VisitCXXDefaultInitExpr ( CXXDefaultInitExpr E)

◆ VisitCXXDeleteExpr()

Expr * ASTNodeImporter::VisitCXXDeleteExpr ( CXXDeleteExpr E)

Definition at line 5590 of file ASTImporter.cpp.

◆ VisitCXXDestructorDecl()

Decl * ASTNodeImporter::VisitCXXDestructorDecl ( CXXDestructorDecl D)

Definition at line 2245 of file ASTImporter.cpp.

References VisitCXXMethodDecl().

Referenced by shouldForceImportDeclContext().

◆ VisitCXXForRangeStmt()

Stmt * ASTNodeImporter::VisitCXXForRangeStmt ( CXXForRangeStmt S)

Definition at line 4606 of file ASTImporter.cpp.

◆ VisitCXXMemberCallExpr()

Expr * ASTNodeImporter::VisitCXXMemberCallExpr ( CXXMemberCallExpr E)

Definition at line 5657 of file ASTImporter.cpp.

◆ VisitCXXMethodDecl()

Decl * ASTNodeImporter::VisitCXXMethodDecl ( CXXMethodDecl D)

◆ VisitCXXNamedCastExpr()

Expr * ASTNodeImporter::VisitCXXNamedCastExpr ( CXXNamedCastExpr E)

Definition at line 5873 of file ASTImporter.cpp.

◆ VisitCXXNewExpr()

Expr * ASTNodeImporter::VisitCXXNewExpr ( CXXNewExpr CE)

◆ VisitCXXNoexceptExpr()

Expr * ASTNodeImporter::VisitCXXNoexceptExpr ( CXXNoexceptExpr E)

Definition at line 5408 of file ASTImporter.cpp.

◆ VisitCXXNullPtrLiteralExpr()

Expr * ASTNodeImporter::VisitCXXNullPtrLiteralExpr ( CXXNullPtrLiteralExpr E)

Definition at line 4895 of file ASTImporter.cpp.

◆ VisitCXXPseudoDestructorExpr()

Expr * ASTNodeImporter::VisitCXXPseudoDestructorExpr ( CXXPseudoDestructorExpr E)

Definition at line 5729 of file ASTImporter.cpp.

◆ VisitCXXScalarValueInitExpr()

Expr * ASTNodeImporter::VisitCXXScalarValueInitExpr ( CXXScalarValueInitExpr E)

Definition at line 5452 of file ASTImporter.cpp.

◆ VisitCXXTemporaryObjectExpr()

Expr * ASTNodeImporter::VisitCXXTemporaryObjectExpr ( CXXTemporaryObjectExpr CE)

◆ VisitCXXThisExpr()

Expr * ASTNodeImporter::VisitCXXThisExpr ( CXXThisExpr E)

Definition at line 5675 of file ASTImporter.cpp.

◆ VisitCXXThrowExpr()

Expr * ASTNodeImporter::VisitCXXThrowExpr ( CXXThrowExpr E)

Definition at line 5428 of file ASTImporter.cpp.

◆ VisitCXXTryStmt()

Stmt * ASTNodeImporter::VisitCXXTryStmt ( CXXTryStmt S)

Definition at line 4589 of file ASTImporter.cpp.

◆ VisitDecayedType()

QualType ASTNodeImporter::VisitDecayedType ( const DecayedType T)

Definition at line 406 of file ASTImporter.cpp.

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

Referenced by ASTNodeImporter().

◆ VisitDecl()

Decl * ASTNodeImporter::VisitDecl ( Decl D)

◆ VisitDeclRefExpr()

Expr * ASTNodeImporter::VisitDeclRefExpr ( DeclRefExpr E)

Definition at line 4794 of file ASTImporter.cpp.

◆ VisitDeclStmt()

Stmt * ASTNodeImporter::VisitDeclStmt ( DeclStmt S)

Definition at line 4299 of file ASTImporter.cpp.

◆ VisitDecltypeType()

QualType ASTNodeImporter::VisitDecltypeType ( const DecltypeType T)

◆ VisitDefaultStmt()

Stmt * ASTNodeImporter::VisitDefaultStmt ( DefaultStmt S)

Definition at line 4348 of file ASTImporter.cpp.

◆ VisitDesignatedInitExpr()

Expr * ASTNodeImporter::VisitDesignatedInitExpr ( DesignatedInitExpr E)

◆ VisitDoStmt()

Stmt * ASTNodeImporter::VisitDoStmt ( DoStmt S)

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

Referenced by shouldForceImportDeclContext().

◆ VisitEnumDecl()

Decl * ASTNodeImporter::VisitEnumDecl ( EnumDecl D)

Definition at line 1678 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitEnumType()

QualType ASTNodeImporter::VisitEnumType ( const EnumType T)

Definition at line 700 of file ASTImporter.cpp.

References clang::EnumType::getDecl().

Referenced by ASTNodeImporter().

◆ VisitExplicitCastExpr()

Expr * ASTNodeImporter::VisitExplicitCastExpr ( ExplicitCastExpr E)

Definition at line 5267 of file ASTImporter.cpp.

◆ VisitExpr()

Expr * ASTNodeImporter::VisitExpr ( Expr E)

Definition at line 4746 of file ASTImporter.cpp.

◆ VisitExpressionTraitExpr()

Expr * ASTNodeImporter::VisitExpressionTraitExpr ( ExpressionTraitExpr E)

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

Referenced by shouldForceImportDeclContext().

◆ VisitFloatingLiteral()

Expr * ASTNodeImporter::VisitFloatingLiteral ( FloatingLiteral E)

Definition at line 4914 of file ASTImporter.cpp.

◆ VisitForStmt()

Stmt * ASTNodeImporter::VisitForStmt ( ForStmt S)

Definition at line 4495 of file ASTImporter.cpp.

◆ VisitFriendDecl()

Decl * ASTNodeImporter::VisitFriendDecl ( FriendDecl D)

◆ VisitFunctionDecl()

Decl * ASTNodeImporter::VisitFunctionDecl ( FunctionDecl D)

Definition at line 2018 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext(), and VisitCXXMethodDecl().

◆ VisitFunctionNoProtoType()

QualType ASTNodeImporter::VisitFunctionNoProtoType ( const FunctionNoProtoType T)

◆ VisitFunctionProtoType()

QualType ASTNodeImporter::VisitFunctionProtoType ( const FunctionProtoType T)

◆ VisitGCCAsmStmt()

Stmt * ASTNodeImporter::VisitGCCAsmStmt ( GCCAsmStmt S)

Definition at line 4226 of file ASTImporter.cpp.

◆ VisitGNUNullExpr()

Expr * ASTNodeImporter::VisitGNUNullExpr ( GNUNullExpr E)

Definition at line 4771 of file ASTImporter.cpp.

◆ VisitGotoStmt()

Stmt * ASTNodeImporter::VisitGotoStmt ( GotoStmt S)

Definition at line 4526 of file ASTImporter.cpp.

◆ VisitIfStmt()

Stmt * ASTNodeImporter::VisitIfStmt ( IfStmt S)

Definition at line 4391 of file ASTImporter.cpp.

◆ VisitImplicitCastExpr()

Expr * ASTNodeImporter::VisitImplicitCastExpr ( ImplicitCastExpr E)

Definition at line 5250 of file ASTImporter.cpp.

◆ VisitImplicitParamDecl()

Decl * ASTNodeImporter::VisitImplicitParamDecl ( ImplicitParamDecl D)

Definition at line 2652 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitImplicitValueInitExpr()

Expr * ASTNodeImporter::VisitImplicitValueInitExpr ( ImplicitValueInitExpr ILE)

Definition at line 4836 of file ASTImporter.cpp.

◆ VisitIncompleteArrayType()

QualType ASTNodeImporter::VisitIncompleteArrayType ( const IncompleteArrayType T)

◆ VisitIndirectFieldDecl()

Decl * ASTNodeImporter::VisitIndirectFieldDecl ( IndirectFieldDecl D)

Definition at line 2334 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitIndirectGotoStmt()

Stmt * ASTNodeImporter::VisitIndirectGotoStmt ( IndirectGotoStmt S)

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

◆ VisitLabelDecl()

Decl * ASTNodeImporter::VisitLabelDecl ( LabelDecl D)

Definition at line 1645 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitLabelStmt()

Stmt * ASTNodeImporter::VisitLabelStmt ( LabelStmt S)

Definition at line 4358 of file ASTImporter.cpp.

◆ VisitLinkageSpecDecl()

Decl * ASTNodeImporter::VisitLinkageSpecDecl ( LinkageSpecDecl D)

◆ VisitLValueReferenceType()

QualType ASTNodeImporter::VisitLValueReferenceType ( const LValueReferenceType T)

◆ VisitMaterializeTemporaryExpr()

Expr * ASTNodeImporter::VisitMaterializeTemporaryExpr ( MaterializeTemporaryExpr E)

Definition at line 5510 of file ASTImporter.cpp.

◆ VisitMemberExpr()

Expr * ASTNodeImporter::VisitMemberExpr ( MemberExpr E)

Definition at line 5694 of file ASTImporter.cpp.

◆ VisitMemberPointerType()

QualType ASTNodeImporter::VisitMemberPointerType ( const MemberPointerType T)

◆ VisitNamespaceAliasDecl()

Decl * ASTNodeImporter::VisitNamespaceAliasDecl ( NamespaceAliasDecl D)

Definition at line 1473 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitNamespaceDecl()

Decl * ASTNodeImporter::VisitNamespaceDecl ( NamespaceDecl D)

Definition at line 1402 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitNonTypeTemplateParmDecl()

Decl * ASTNodeImporter::VisitNonTypeTemplateParmDecl ( NonTypeTemplateParmDecl D)

Definition at line 3705 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitNullStmt()

Stmt * ASTNodeImporter::VisitNullStmt ( NullStmt S)

Definition at line 4310 of file ASTImporter.cpp.

◆ VisitObjCAtCatchStmt()

Stmt * ASTNodeImporter::VisitObjCAtCatchStmt ( ObjCAtCatchStmt S)

Definition at line 4661 of file ASTImporter.cpp.

◆ VisitObjCAtFinallyStmt()

Stmt * ASTNodeImporter::VisitObjCAtFinallyStmt ( ObjCAtFinallyStmt S)

Definition at line 4680 of file ASTImporter.cpp.

◆ VisitObjCAtSynchronizedStmt()

Stmt * ASTNodeImporter::VisitObjCAtSynchronizedStmt ( ObjCAtSynchronizedStmt S)

Definition at line 4712 of file ASTImporter.cpp.

◆ VisitObjCAtThrowStmt()

Stmt * ASTNodeImporter::VisitObjCAtThrowStmt ( ObjCAtThrowStmt S)

◆ VisitObjCAtTryStmt()

Stmt * ASTNodeImporter::VisitObjCAtTryStmt ( ObjCAtTryStmt S)

Definition at line 4689 of file ASTImporter.cpp.

◆ VisitObjCAutoreleasePoolStmt()

Stmt * ASTNodeImporter::VisitObjCAutoreleasePoolStmt ( ObjCAutoreleasePoolStmt S)

◆ VisitObjCCategoryDecl()

Decl * ASTNodeImporter::VisitObjCCategoryDecl ( ObjCCategoryDecl D)

Definition at line 2872 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitObjCCategoryImplDecl()

Decl * ASTNodeImporter::VisitObjCCategoryImplDecl ( ObjCCategoryImplDecl D)

◆ VisitObjCForCollectionStmt()

Stmt * ASTNodeImporter::VisitObjCForCollectionStmt ( ObjCForCollectionStmt S)

Definition at line 4643 of file ASTImporter.cpp.

◆ VisitObjCImplementationDecl()

Decl * ASTNodeImporter::VisitObjCImplementationDecl ( ObjCImplementationDecl D)

◆ VisitObjCInterfaceDecl()

Decl * ASTNodeImporter::VisitObjCInterfaceDecl ( ObjCInterfaceDecl D)

Definition at line 3361 of file ASTImporter.cpp.

References clang::ObjCInterfaceDecl::getDefinition().

Referenced by shouldForceImportDeclContext().

◆ VisitObjCInterfaceType()

QualType ASTNodeImporter::VisitObjCInterfaceType ( const ObjCInterfaceType T)

Definition at line 808 of file ASTImporter.cpp.

References clang::ObjCInterfaceType::getDecl().

Referenced by ASTNodeImporter().

◆ VisitObjCIvarDecl()

Decl * ASTNodeImporter::VisitObjCIvarDecl ( ObjCIvarDecl D)

Definition at line 2468 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitObjCMethodDecl()

Decl * ASTNodeImporter::VisitObjCMethodDecl ( ObjCMethodDecl D)

Definition at line 2729 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitObjCObjectPointerType()

QualType ASTNodeImporter::VisitObjCObjectPointerType ( const ObjCObjectPointerType T)

◆ VisitObjCObjectType()

QualType ASTNodeImporter::VisitObjCObjectType ( const ObjCObjectType T)

◆ VisitObjCPropertyDecl()

Decl * ASTNodeImporter::VisitObjCPropertyDecl ( ObjCPropertyDecl D)

Definition at line 3536 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitObjCPropertyImplDecl()

Decl * ASTNodeImporter::VisitObjCPropertyImplDecl ( ObjCPropertyImplDecl D)

◆ VisitObjCProtocolDecl()

Decl * ASTNodeImporter::VisitObjCProtocolDecl ( ObjCProtocolDecl D)

Definition at line 2992 of file ASTImporter.cpp.

References clang::ObjCProtocolDecl::getDefinition().

Referenced by shouldForceImportDeclContext().

◆ VisitObjCTypeParamDecl()

Decl * ASTNodeImporter::VisitObjCTypeParamDecl ( ObjCTypeParamDecl D)

Definition at line 2843 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitOffsetOfExpr()

Expr * ASTNodeImporter::VisitOffsetOfExpr ( OffsetOfExpr OE)

Definition at line 5348 of file ASTImporter.cpp.

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

◆ VisitOpaqueValueExpr()

Expr * ASTNodeImporter::VisitOpaqueValueExpr ( OpaqueValueExpr E)

Definition at line 5178 of file ASTImporter.cpp.

◆ VisitPackExpansionExpr()

Expr * ASTNodeImporter::VisitPackExpansionExpr ( PackExpansionExpr E)

Definition at line 5532 of file ASTImporter.cpp.

◆ VisitPackExpansionType()

QualType ASTNodeImporter::VisitPackExpansionType ( const PackExpansionType T)

◆ VisitParenExpr()

Expr * ASTNodeImporter::VisitParenExpr ( ParenExpr E)

Definition at line 4995 of file ASTImporter.cpp.

◆ VisitParenListExpr()

Expr * ASTNodeImporter::VisitParenListExpr ( ParenListExpr E)

Definition at line 5006 of file ASTImporter.cpp.

◆ VisitParenType()

QualType ASTNodeImporter::VisitParenType ( const ParenType T)

Definition at line 598 of file ASTImporter.cpp.

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

Referenced by ASTNodeImporter().

◆ VisitParmVarDecl()

Decl * ASTNodeImporter::VisitParmVarDecl ( ParmVarDecl D)

Definition at line 2677 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitPointerType()

QualType ASTNodeImporter::VisitPointerType ( const PointerType T)

Definition at line 422 of file ASTImporter.cpp.

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

Referenced by ASTNodeImporter().

◆ VisitPredefinedExpr()

Expr * ASTNodeImporter::VisitPredefinedExpr ( PredefinedExpr E)

Definition at line 4780 of file ASTImporter.cpp.

◆ VisitRecordDecl()

Decl * ASTNodeImporter::VisitRecordDecl ( RecordDecl D)

Definition at line 1754 of file ASTImporter.cpp.

References clang::RecordDecl::getDefinition().

Referenced by shouldForceImportDeclContext().

◆ VisitRecordType()

QualType ASTNodeImporter::VisitRecordType ( const RecordType T)

Definition at line 691 of file ASTImporter.cpp.

References clang::RecordType::getDecl().

Referenced by ASTNodeImporter().

◆ VisitReturnStmt()

Stmt * ASTNodeImporter::VisitReturnStmt ( ReturnStmt S)

Definition at line 4559 of file ASTImporter.cpp.

◆ VisitRValueReferenceType()

QualType ASTNodeImporter::VisitRValueReferenceType ( const RValueReferenceType T)

◆ VisitStaticAssertDecl()

Decl * ASTNodeImporter::VisitStaticAssertDecl ( StaticAssertDecl D)

◆ VisitStmt()

Stmt * ASTNodeImporter::VisitStmt ( Stmt S)

Definition at line 4219 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitStmtExpr()

Expr * ASTNodeImporter::VisitStmtExpr ( StmtExpr E)

Definition at line 5016 of file ASTImporter.cpp.

◆ VisitStringLiteral()

Expr * ASTNodeImporter::VisitStringLiteral ( StringLiteral E)

Definition at line 4934 of file ASTImporter.cpp.

◆ VisitSubstNonTypeTemplateParmExpr()

Expr * ASTNodeImporter::VisitSubstNonTypeTemplateParmExpr ( SubstNonTypeTemplateParmExpr E)

Definition at line 5908 of file ASTImporter.cpp.

◆ VisitSubstTemplateTypeParmType()

QualType ASTNodeImporter::VisitSubstTemplateTypeParmType ( const SubstTemplateTypeParmType T)

◆ VisitSwitchStmt()

Stmt * ASTNodeImporter::VisitSwitchStmt ( SwitchStmt S)

Definition at line 4421 of file ASTImporter.cpp.

◆ VisitTemplateSpecializationType()

QualType ASTNodeImporter::VisitTemplateSpecializationType ( const TemplateSpecializationType T)

◆ VisitTemplateTemplateParmDecl()

Decl * ASTNodeImporter::VisitTemplateTemplateParmDecl ( TemplateTemplateParmDecl D)

Definition at line 3735 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitTemplateTypeParmDecl()

Decl * ASTNodeImporter::VisitTemplateTypeParmDecl ( TemplateTypeParmDecl D)

◆ VisitTemplateTypeParmType()

QualType ASTNodeImporter::VisitTemplateTypeParmType ( const TemplateTypeParmType T)

◆ VisitTranslationUnitDecl()

Decl * ASTNodeImporter::VisitTranslationUnitDecl ( TranslationUnitDecl D)

Definition at line 1339 of file ASTImporter.cpp.

References clang::Decl::getTranslationUnitDecl().

Referenced by shouldForceImportDeclContext().

◆ VisitType()

QualType ASTNodeImporter::VisitType ( const Type T)

Definition at line 347 of file ASTImporter.cpp.

References clang::Type::getTypeClassName().

Referenced by ASTNodeImporter().

◆ VisitTypeAliasDecl()

Decl * ASTNodeImporter::VisitTypeAliasDecl ( TypeAliasDecl D)

Definition at line 1584 of file ASTImporter.cpp.

References VisitTypedefNameDecl().

Referenced by shouldForceImportDeclContext().

◆ VisitTypeAliasTemplateDecl()

Decl * ASTNodeImporter::VisitTypeAliasTemplateDecl ( TypeAliasTemplateDecl D)

Definition at line 1588 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitTypedefDecl()

Decl * ASTNodeImporter::VisitTypedefDecl ( TypedefDecl D)

Definition at line 1580 of file ASTImporter.cpp.

References VisitTypedefNameDecl().

Referenced by shouldForceImportDeclContext().

◆ VisitTypedefNameDecl()

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

◆ VisitTypedefType()

QualType ASTNodeImporter::VisitTypedefType ( const TypedefType T)

Definition at line 606 of file ASTImporter.cpp.

References clang::TypedefType::getDecl().

Referenced by ASTNodeImporter().

◆ VisitTypeOfExprType()

QualType ASTNodeImporter::VisitTypeOfExprType ( const TypeOfExprType T)

Definition at line 615 of file ASTImporter.cpp.

References clang::TypeOfExprType::getUnderlyingExpr().

Referenced by ASTNodeImporter().

◆ VisitTypeOfType()

QualType ASTNodeImporter::VisitTypeOfType ( const TypeOfType T)

Definition at line 623 of file ASTImporter.cpp.

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

Referenced by ASTNodeImporter().

◆ VisitTypeTraitExpr()

Expr * ASTNodeImporter::VisitTypeTraitExpr ( TypeTraitExpr E)

Definition at line 5928 of file ASTImporter.cpp.

◆ VisitUnaryExprOrTypeTraitExpr()

Expr * ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr ( UnaryExprOrTypeTraitExpr E)

Definition at line 5045 of file ASTImporter.cpp.

◆ VisitUnaryOperator()

Expr * ASTNodeImporter::VisitUnaryOperator ( UnaryOperator E)

Definition at line 5030 of file ASTImporter.cpp.

◆ VisitUnaryTransformType()

QualType ASTNodeImporter::VisitUnaryTransformType ( const UnaryTransformType T)

◆ VisitUnresolvedUsingType()

QualType ASTNodeImporter::VisitUnresolvedUsingType ( const UnresolvedUsingType T)

◆ VisitUnresolvedUsingTypenameDecl()

Decl * ASTNodeImporter::VisitUnresolvedUsingTypenameDecl ( UnresolvedUsingTypenameDecl D)

Definition at line 3220 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitUnresolvedUsingValueDecl()

Decl * ASTNodeImporter::VisitUnresolvedUsingValueDecl ( UnresolvedUsingValueDecl D)

Definition at line 3193 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitUsingDecl()

Decl * ASTNodeImporter::VisitUsingDecl ( UsingDecl D)

Definition at line 3074 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitUsingDirectiveDecl()

Decl * ASTNodeImporter::VisitUsingDirectiveDecl ( UsingDirectiveDecl D)

Definition at line 3162 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitUsingShadowDecl()

Decl * ASTNodeImporter::VisitUsingShadowDecl ( UsingShadowDecl D)

Definition at line 3117 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitVAArgExpr()

Expr * ASTNodeImporter::VisitVAArgExpr ( VAArgExpr E)

Definition at line 4752 of file ASTImporter.cpp.

◆ VisitVarDecl()

Decl * ASTNodeImporter::VisitVarDecl ( VarDecl D)

Definition at line 2521 of file ASTImporter.cpp.

Referenced by shouldForceImportDeclContext().

◆ VisitVariableArrayType()

QualType ASTNodeImporter::VisitVariableArrayType ( const VariableArrayType T)

◆ VisitVarTemplateDecl()

Decl * ASTNodeImporter::VisitVarTemplateDecl ( VarTemplateDecl D)

◆ VisitVarTemplateSpecializationDecl()

Decl * ASTNodeImporter::VisitVarTemplateSpecializationDecl ( VarTemplateSpecializationDecl D)

◆ VisitVectorType()

QualType ASTNodeImporter::VisitVectorType ( const VectorType T)

◆ VisitWhileStmt()

Stmt * ASTNodeImporter::VisitWhileStmt ( WhileStmt S)

Definition at line 4459 of file ASTImporter.cpp.


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