clang
13.0.0git
|
Public Types | |
enum | ImportDefinitionKind { IDK_Default, IDK_Everything, IDK_Basic } |
What we should import from the definition. More... | |
using | Designator = DesignatedInitExpr::Designator |
using | TemplateArgsTy = SmallVector< TemplateArgument, 8 > |
using | FunctionTemplateAndArgsTy = std::tuple< FunctionTemplateDecl *, TemplateArgsTy > |
Additional Inherited Members | |
![]() | |
ParamTys | P |
Definition at line 140 of file ASTImporter.cpp.
Definition at line 399 of file ASTImporter.cpp.
using clang::ASTNodeImporter::FunctionTemplateAndArgsTy = std::tuple<FunctionTemplateDecl *, TemplateArgsTy> |
Definition at line 449 of file ASTImporter.cpp.
Definition at line 447 of file ASTImporter.cpp.
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 402 of file ASTImporter.cpp.
|
inlineexplicit |
Definition at line 326 of file ASTImporter.cpp.
Expected< FunctionDecl * > ASTNodeImporter::FindFunctionTemplateSpecialization | ( | FunctionDecl * | FromFD | ) |
Definition at line 3157 of file ASTImporter.cpp.
References clang::FunctionTemplateDecl::findSpecialization(), and ImportFunctionTemplateWithTemplateArgsFromSpecialization().
bool ASTNodeImporter::hasAutoReturnTypeDeclaredInside | ( | FunctionDecl * | D | ) |
Definition at line 3194 of file ASTImporter.cpp.
References clang::Type::getAs(), clang::Type::getContainedAutoType(), clang::Decl::getDeclContext(), clang::Decl::getLexicalDeclContext(), clang::FunctionType::getReturnType(), clang::ValueDecl::getType(), isAncestorDeclContextOf(), and clang::QualType::isNull().
bool clang::ASTNodeImporter::hasSameVisibilityContextAndLinkage | ( | T * | Found, |
T * | From | ||
) |
Definition at line 977 of file ASTImporter.cpp.
References clang::ASTImporter::GetFromTU(), and clang::Decl::getTranslationUnitDecl().
bool clang::ASTNodeImporter::hasSameVisibilityContextAndLinkage | ( | TypedefNameDecl * | Found, |
TypedefNameDecl * | From | ||
) |
Definition at line 993 of file ASTImporter.cpp.
References clang::ASTImporter::GetFromTU(), clang::NamedDecl::getLinkageInternal(), clang::Decl::getTranslationUnitDecl(), and clang::Decl::isInAnonymousNamespace().
Expected<DeclGroupRef> clang::ASTNodeImporter::import | ( | const DeclGroupRef & | DG | ) |
Definition at line 896 of file ASTImporter.cpp.
References clang::DeclGroupRef::begin(), clang::DeclGroupRef::Create(), clang::DeclGroupRef::end(), clang::ASTImporter::getToContext(), and clang::DeclGroupRef::isNull().
Expected<ASTNodeImporter::Designator> clang::ASTNodeImporter::import | ( | const Designator & | D | ) |
Definition at line 915 of file ASTImporter.cpp.
References clang::DesignatedInitExpr::Designator::getDotLoc(), clang::DesignatedInitExpr::Designator::getEllipsisLoc(), clang::DesignatedInitExpr::Designator::getFieldLoc(), clang::DesignatedInitExpr::Designator::getFieldName(), clang::DesignatedInitExpr::Designator::getFirstExprIndex(), clang::DesignatedInitExpr::Designator::getLBracketLoc(), clang::DesignatedInitExpr::Designator::getRBracketLoc(), clang::ASTImporter::Import(), clang::DesignatedInitExpr::Designator::isArrayDesignator(), clang::DesignatedInitExpr::Designator::isArrayRangeDesignator(), and clang::DesignatedInitExpr::Designator::isFieldDesignator().
Expected<LambdaCapture> clang::ASTNodeImporter::import | ( | const LambdaCapture & | From | ) |
Definition at line 953 of file ASTImporter.cpp.
References clang::LambdaCapture::capturesVariable(), clang::LambdaCapture::getCapturedVar(), clang::LambdaCapture::getCaptureKind(), clang::LambdaCapture::getEllipsisLoc(), clang::LambdaCapture::getLocation(), clang::LambdaCapture::isImplicit(), and clang::LambdaCapture::isPackExpansion().
Expected<TemplateArgument> clang::ASTNodeImporter::import | ( | const TemplateArgument & | From | ) |
Definition at line 779 of file ASTImporter.cpp.
References clang::TemplateArgument::Declaration, clang::TemplateArgument::Expression, clang::TemplateArgument::getAsDecl(), clang::TemplateArgument::getAsExpr(), clang::TemplateArgument::getAsTemplate(), clang::TemplateArgument::getAsTemplateOrTemplatePattern(), clang::TemplateArgument::getAsType(), clang::TemplateArgument::getIntegralType(), clang::TemplateArgument::getKind(), clang::TemplateArgument::getNullPtrType(), clang::TemplateArgument::getNumTemplateExpansions(), clang::TemplateArgument::getParamTypeForDecl(), clang::ASTImporter::getToContext(), ImportTemplateArguments(), clang::TemplateArgument::Integral, clang::TemplateArgument::Null, clang::TemplateArgument::NullPtr, clang::TemplateArgument::Pack, clang::TemplateArgument::pack_begin(), clang::TemplateArgument::pack_size(), clang::TemplateArgument::Template, clang::TemplateArgument::TemplateExpansion, and clang::TemplateArgument::Type.
Expected<TemplateArgumentLoc> clang::ASTNodeImporter::import | ( | const TemplateArgumentLoc & | TALoc | ) |
Definition at line 856 of file ASTImporter.cpp.
References clang::TemplateArgument::Expression, clang::TemplateArgumentLoc::getArgument(), clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgumentLocInfo::getAsTypeSourceInfo(), clang::TemplateArgument::getKind(), clang::TemplateArgumentLoc::getLocInfo(), clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc(), clang::TemplateArgumentLocInfo::getTemplateNameLoc(), clang::TemplateArgumentLocInfo::getTemplateQualifierLoc(), clang::ASTImporter::getToContext(), and clang::TemplateArgument::Type.
Expected<TemplateParameterList *> clang::ASTNodeImporter::import | ( | TemplateParameterList * | From | ) |
Definition at line 749 of file ASTImporter.cpp.
References clang::TemplateParameterList::Create(), clang::TemplateParameterList::getLAngleLoc(), clang::TemplateParameterList::getRAngleLoc(), clang::TemplateParameterList::getRequiresClause(), clang::TemplateParameterList::getTemplateLoc(), clang::ASTImporter::getToContext(), ImportContainerChecked(), and clang::TemplateParameterList::size().
llvm::Expected< APValue > ASTNodeImporter::ImportAPValue | ( | const APValue & | FromValue | ) |
Definition at line 9137 of file ASTImporter.cpp.
References clang::APValue::AddrLabelDiff, clang::APValue::Array, clang::APValue::ComplexFloat, clang::APValue::ComplexInt, clang::APValue::FixedPoint, clang::APValue::Float, clang::APValue::getAddrLabelDiffLHS(), clang::APValue::getAddrLabelDiffRHS(), clang::APValue::getArrayInitializedElts(), clang::APValue::getArraySize(), clang::Decl::getCanonicalDecl(), clang::APValue::getKind(), clang::APValue::getMemberPointerDecl(), clang::APValue::getMemberPointerPath(), clang::APValue::getStructNumBases(), clang::APValue::getStructNumFields(), clang::APValue::getUnionField(), clang::APValue::getUnionValue(), clang::APValue::getVectorLength(), clang::APValue::Indeterminate, clang::APValue::Int, clang::APValue::isMemberPointerToDerivedMember(), clang::APValue::LValue, clang::APValue::MemberPointer, clang::APValue::None, clang::APValue::Struct, clang::APValue::Union, and clang::APValue::Vector.
Referenced by clang::ASTImporter::Import().
|
inline |
Definition at line 676 of file ASTImporter.cpp.
References ImportArrayChecked().
|
inline |
Definition at line 653 of file ASTImporter.cpp.
Referenced by ImportArrayChecked(), ImportContainerChecked(), VisitAtomicExpr(), VisitCXXUnresolvedConstructExpr(), and VisitStringLiteral().
Expected< CXXCastPath > ASTNodeImporter::ImportCastPath | ( | CastExpr * | E | ) |
Definition at line 7082 of file ASTImporter.cpp.
References clang::CastExpr::path_begin(), and clang::CastExpr::path_end().
Referenced by VisitCXXNamedCastExpr(), VisitExplicitCastExpr(), and VisitImplicitCastExpr().
|
inline |
Definition at line 669 of file ASTImporter.cpp.
References ImportArrayChecked().
Referenced by import(), VisitCallExpr(), VisitCXXConstructExpr(), VisitCXXMemberCallExpr(), VisitCXXNewExpr(), VisitCXXTemporaryObjectExpr(), VisitDesignatedInitExpr(), VisitExprWithCleanups(), VisitGenericSelectionExpr(), VisitInitListExpr(), VisitLambdaExpr(), VisitParenListExpr(), and VisitTypeTraitExpr().
Error ASTNodeImporter::ImportDeclarationNameLoc | ( | const DeclarationNameInfo & | From, |
DeclarationNameInfo & | To | ||
) |
Definition at line 1717 of file ASTImporter.cpp.
References clang::DeclarationName::CXXConstructorName, clang::DeclarationName::CXXConversionFunctionName, clang::DeclarationName::CXXDeductionGuideName, clang::DeclarationName::CXXDestructorName, clang::DeclarationName::CXXLiteralOperatorName, clang::DeclarationName::CXXOperatorName, clang::DeclarationName::CXXUsingDirective, clang::DeclarationNameInfo::getCXXLiteralOperatorNameLoc(), clang::DeclarationNameInfo::getCXXOperatorNameRange(), clang::DeclarationNameInfo::getName(), clang::DeclarationNameInfo::getNamedTypeInfo(), clang::DeclarationName::getNameKind(), clang::DeclarationName::Identifier, clang::DeclarationName::ObjCMultiArgSelector, clang::DeclarationName::ObjCOneArgSelector, clang::DeclarationName::ObjCZeroArgSelector, clang::DeclarationNameInfo::setCXXLiteralOperatorNameLoc(), clang::DeclarationNameInfo::setCXXOperatorNameRange(), and clang::DeclarationNameInfo::setNamedTypeInfo().
Referenced by VisitCXXDependentScopeMemberExpr(), VisitDependentScopeDeclRefExpr(), VisitUnresolvedLookupExpr(), and VisitUnresolvedMemberExpr().
Error ASTNodeImporter::ImportDeclContext | ( | Decl * | From, |
DeclContext *& | ToDC, | ||
DeclContext *& | ToLexicalDC | ||
) |
Definition at line 1886 of file ASTImporter.cpp.
References clang::Decl::getDeclContext(), clang::Decl::getLexicalDeclContext(), and clang::ASTImporter::ImportContext().
Error ASTNodeImporter::ImportDeclContext | ( | DeclContext * | FromDC, |
bool | ForceImport = false |
||
) |
Definition at line 1758 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::DeclContext::containsDecl(), clang::DeclContext::decls(), clang::ASTImporter::GetAlreadyImportedOrNull(), clang::Type::getAs(), clang::Type::getAsRecordDecl(), clang::Type::getBaseElementTypeUnsafe(), clang::RecordType::getDecl(), clang::Decl::getLexicalDeclContext(), clang::ValueDecl::getType(), clang::ASTImporter::ImportContext(), ImportDefinition(), clang::Type::isArrayType(), clang::TagDecl::isCompleteDefinition(), clang::ASTImporter::isMinimalImport(), and clang::DeclContext::removeDecl().
Referenced by ImportDefinition(), clang::ASTImporter::ImportDefinition(), VisitClassTemplateSpecializationDecl(), VisitEmptyDecl(), VisitFriendDecl(), VisitLifetimeExtendedTemporaryDecl(), VisitLinkageSpecDecl(), VisitObjCCategoryImplDecl(), VisitObjCImplementationDecl(), VisitObjCPropertyImplDecl(), and VisitVarTemplateSpecializationDecl().
Error ASTNodeImporter::ImportDeclParts | ( | NamedDecl * | D, |
DeclarationName & | Name, | ||
NamedDecl *& | ToD, | ||
SourceLocation & | Loc | ||
) |
Definition at line 1665 of file ASTImporter.cpp.
Error ASTNodeImporter::ImportDeclParts | ( | NamedDecl * | D, |
DeclContext *& | DC, | ||
DeclContext *& | LexicalDC, | ||
DeclarationName & | Name, | ||
NamedDecl *& | ToD, | ||
SourceLocation & | Loc | ||
) |
Definition at line 1614 of file ASTImporter.cpp.
Error ASTNodeImporter::ImportDefaultArgOfParmVarDecl | ( | const ParmVarDecl * | FromParam, |
ParmVarDecl * | ToParam | ||
) |
Definition at line 4113 of file ASTImporter.cpp.
References clang::ParmVarDecl::getDefaultArg(), clang::ParmVarDecl::getUninstantiatedDefaultArg(), clang::ParmVarDecl::hasDefaultArg(), clang::ParmVarDecl::hasInheritedDefaultArg(), clang::ParmVarDecl::hasUninstantiatedDefaultArg(), clang::ParmVarDecl::hasUnparsedDefaultArg(), clang::ParmVarDecl::isKNRPromoted(), clang::ParmVarDecl::setDefaultArg(), clang::ParmVarDecl::setHasInheritedDefaultArg(), clang::ParmVarDecl::setKNRPromoted(), clang::ParmVarDecl::setUninstantiatedDefaultArg(), and clang::ParmVarDecl::setUnparsedDefaultArg().
Referenced by VisitCXXDefaultArgExpr(), and VisitParmVarDecl().
Error ASTNodeImporter::ImportDefinition | ( | EnumDecl * | From, |
EnumDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 2071 of file ASTImporter.cpp.
References clang::EnumDecl::completeDefinition(), clang::EnumDecl::getDefinition(), clang::ASTImporter::getFromContext(), clang::EnumDecl::getNumNegativeBits(), clang::EnumDecl::getNumPositiveBits(), clang::EnumDecl::getPromotionType(), clang::ASTContext::getTypeDeclType(), IDK_Everything, ImportDeclContext(), clang::TagDecl::isBeingDefined(), setTypedefNameForAnonDecl(), shouldForceImportDeclContext(), and clang::TagDecl::startDefinition().
Error ASTNodeImporter::ImportDefinition | ( | ObjCInterfaceDecl * | From, |
ObjCInterfaceDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 4777 of file ASTImporter.cpp.
References clang::declaresSameEntity(), clang::ASTImporter::FromDiag(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getDefinition(), clang::ObjCInterfaceDecl::getImplementation(), clang::Decl::getLocation(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCInterfaceDecl::getSuperClassLoc(), clang::ObjCInterfaceDecl::getSuperClassTInfo(), clang::ASTImporter::getToContext(), ImportDeclContext(), clang::ObjCInterfaceDecl::known_categories(), clang::ObjCInterfaceDecl::protocol_begin(), clang::ObjCInterfaceDecl::protocol_end(), clang::ObjCInterfaceDecl::protocol_loc_begin(), clang::ObjCInterfaceDecl::setImplementation(), clang::ObjCInterfaceDecl::setProtocolList(), clang::ObjCInterfaceDecl::setSuperClass(), shouldForceImportDeclContext(), clang::ObjCInterfaceDecl::startDefinition(), and clang::ASTImporter::ToDiag().
Error ASTNodeImporter::ImportDefinition | ( | ObjCProtocolDecl * | From, |
ObjCProtocolDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 4428 of file ASTImporter.cpp.
References clang::ObjCProtocolDecl::getDefinition(), clang::ASTImporter::getToContext(), ImportDeclContext(), clang::ObjCProtocolDecl::protocol_begin(), clang::ObjCProtocolDecl::protocol_end(), clang::ObjCProtocolDecl::protocol_loc_begin(), clang::ObjCProtocolDecl::setProtocolList(), shouldForceImportDeclContext(), and clang::ObjCProtocolDecl::startDefinition().
Error ASTNodeImporter::ImportDefinition | ( | RecordDecl * | From, |
RecordDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 1931 of file ASTImporter.cpp.
References clang::RecordDecl::completeDefinition(), clang::RecordDecl::getDefinition(), clang::ASTImporter::getToContext(), IDK_Everything, ImportDeclContext(), ImportDefinitionIfNeeded(), clang::TagDecl::isBeingDefined(), clang::RecordDecl::isLambda(), clang::TagDecl::setCompleteDefinition(), setTypedefNameForAnonDecl(), shouldForceImportDeclContext(), and clang::TagDecl::startDefinition().
Referenced by ImportDeclContext(), clang::ASTImporter::ImportDefinition(), ImportDefinitionIfNeeded(), and VisitClassTemplateSpecializationDecl().
Definition at line 1684 of file ASTImporter.cpp.
References ImportDefinition().
Referenced by ImportDefinition().
Error ASTNodeImporter::ImportFunctionDeclBody | ( | FunctionDecl * | FromFD, |
FunctionDecl * | ToFD | ||
) |
Definition at line 3171 of file ASTImporter.cpp.
References clang::FunctionDecl::getBody(), and clang::FunctionDecl::setBody().
Expected< ASTNodeImporter::FunctionTemplateAndArgsTy > clang::ASTNodeImporter::ImportFunctionTemplateWithTemplateArgsFromSpecialization | ( | FunctionDecl * | FromFD | ) |
Definition at line 727 of file ASTImporter.cpp.
References clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), ImportTemplateArguments(), and clang::FunctionDecl::TK_FunctionTemplateSpecialization.
Referenced by FindFunctionTemplateSpecialization(), and ImportTemplateInformation().
Error ASTNodeImporter::ImportImplicitMethods | ( | const CXXRecordDecl * | From, |
CXXRecordDecl * | To | ||
) |
Definition at line 1905 of file ASTImporter.cpp.
References clang::CXXRecordDecl::getDefinition(), clang::TagDecl::isCompleteDefinition(), and clang::CXXRecordDecl::methods().
Definition at line 2047 of file ASTImporter.cpp.
References clang::VarDecl::ensureEvaluatedStmt(), clang::VarDecl::getAnyInitializer(), clang::VarDecl::getEvaluatedStmt(), clang::VarDecl::getInit(), clang::EvaluatedStmt::HasConstantDestruction, clang::EvaluatedStmt::HasConstantInitialization, and clang::VarDecl::setInit().
Referenced by VisitVarTemplateSpecializationDecl().
Expected< ObjCTypeParamList * > ASTNodeImporter::ImportObjCTypeParamList | ( | ObjCTypeParamList * | list | ) |
Definition at line 4878 of file ASTImporter.cpp.
References clang::ObjCTypeParamList::create(), and clang::ASTImporter::getToContext().
Error ASTNodeImporter::ImportOverriddenMethods | ( | CXXMethodDecl * | ToMethod, |
CXXMethodDecl * | FromMethod | ||
) |
Definition at line 8097 of file ASTImporter.cpp.
References clang::CXXMethodDecl::addOverriddenMethod(), clang::CXXMethodDecl::getCanonicalDecl(), and clang::CXXMethodDecl::overridden_methods().
Expected< TemplateArgument > ASTNodeImporter::ImportTemplateArgument | ( | const TemplateArgument & | From | ) |
Definition at line 2120 of file ASTImporter.cpp.
Referenced by clang::ASTImporter::Import().
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const ASTTemplateArgumentListInfo & | From, |
TemplateArgumentListInfo & | Result | ||
) |
Definition at line 719 of file ASTImporter.cpp.
Error ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const InContainerTy & | Container, |
TemplateArgumentListInfo & | ToTAInfo | ||
) |
Definition at line 2125 of file ASTImporter.cpp.
Referenced by ImportTemplateArgumentListInfo(), ImportTemplateInformation(), VisitClassTemplateSpecializationDecl(), VisitCXXDependentScopeMemberExpr(), VisitDeclRefExpr(), VisitDependentScopeDeclRefExpr(), VisitMemberExpr(), VisitTemplateTypeParmDecl(), VisitUnresolvedLookupExpr(), VisitUnresolvedMemberExpr(), and VisitVarTemplateSpecializationDecl().
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const TemplateArgumentListInfo & | From, |
TemplateArgumentListInfo & | Result | ||
) |
Definition at line 711 of file ASTImporter.cpp.
References clang::TemplateArgumentListInfo::arguments(), clang::TemplateArgumentListInfo::getLAngleLoc(), clang::TemplateArgumentListInfo::getRAngleLoc(), and ImportTemplateArgumentListInfo().
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | SourceLocation | FromLAngleLoc, |
SourceLocation | FromRAngleLoc, | ||
const InContainerTy & | Container, | ||
TemplateArgumentListInfo & | Result | ||
) |
Definition at line 693 of file ASTImporter.cpp.
Error ASTNodeImporter::ImportTemplateArguments | ( | const TemplateArgument * | FromArgs, |
unsigned | NumFromArgs, | ||
SmallVectorImpl< TemplateArgument > & | ToArgs | ||
) |
Definition at line 2105 of file ASTImporter.cpp.
Referenced by import(), ImportFunctionTemplateWithTemplateArgsFromSpecialization(), VisitAutoType(), VisitClassTemplateSpecializationDecl(), VisitDependentTemplateSpecializationType(), VisitSizeOfPackExpr(), VisitTemplateSpecializationType(), and VisitVarTemplateSpecializationDecl().
Error ASTNodeImporter::ImportTemplateInformation | ( | FunctionDecl * | FromFD, |
FunctionDecl * | ToFD | ||
) |
Definition at line 3071 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::TemplateArgumentList::CreateCopy(), clang::FunctionDecl::getDependentSpecializationInfo(), clang::FunctionDecl::getInstantiatedFromMemberFunction(), clang::FunctionDecl::getMemberSpecializationInfo(), clang::MemberSpecializationInfo::getPointOfInstantiation(), clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::FunctionDecl::getTemplateSpecializationKind(), clang::ASTImporter::getToContext(), ImportFunctionTemplateWithTemplateArgsFromSpecialization(), ImportTemplateArgumentListInfo(), ImportTemplateParameterLists(), clang::FunctionDecl::setDependentTemplateSpecialization(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::FunctionDecl::TK_DependentFunctionTemplateSpecialization, clang::FunctionDecl::TK_FunctionTemplate, clang::FunctionDecl::TK_FunctionTemplateSpecialization, clang::FunctionDecl::TK_MemberSpecialization, and clang::FunctionDecl::TK_NonTemplate.
Error ASTNodeImporter::ImportTemplateParameterLists | ( | const DeclaratorDecl * | FromD, |
DeclaratorDecl * | ToD | ||
) |
Definition at line 3055 of file ASTImporter.cpp.
References clang::DeclaratorDecl::getNumTemplateParameterLists(), clang::DeclaratorDecl::getTemplateParameterList(), and clang::DeclaratorDecl::setTemplateParameterListsInfo().
Referenced by ImportTemplateInformation().
bool ASTNodeImporter::IsStructuralMatch | ( | ClassTemplateDecl * | From, |
ClassTemplateDecl * | To | ||
) |
Definition at line 2218 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), getStructuralEquivalenceKind(), clang::ASTImporter::getToContext(), and clang::StructuralEquivalenceContext::IsEquivalent().
Definition at line 2142 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), getStructuralEquivalenceKind(), clang::ASTImporter::getToContext(), and clang::StructuralEquivalenceContext::IsEquivalent().
Referenced by VisitClassTemplateSpecializationDecl(), VisitFriendDecl(), and VisitVarTemplateSpecializationDecl().
bool ASTNodeImporter::IsStructuralMatch | ( | EnumConstantDecl * | FromEC, |
EnumConstantDecl * | ToEC | ||
) |
Definition at line 2208 of file ASTImporter.cpp.
References clang::EnumConstantDecl::getInitVal().
Definition at line 2178 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), clang::ASTImporter::GetOriginalDecl(), getStructuralEquivalenceKind(), clang::ASTImporter::getToContext(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | FunctionDecl * | From, |
FunctionDecl * | To | ||
) |
Definition at line 2200 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), getStructuralEquivalenceKind(), clang::ASTImporter::getToContext(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | FunctionTemplateDecl * | From, |
FunctionTemplateDecl * | To | ||
) |
Definition at line 2191 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), getStructuralEquivalenceKind(), clang::ASTImporter::getToContext(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | RecordDecl * | FromRecord, |
RecordDecl * | ToRecord, | ||
bool | Complain = true |
||
) |
Definition at line 2150 of file ASTImporter.cpp.
References clang::Decl::getASTContext(), clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), clang::ASTImporter::GetOriginalDecl(), getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | VarDecl * | FromVar, |
VarDecl * | ToVar, | ||
bool | Complain = true |
||
) |
Definition at line 2169 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), getStructuralEquivalenceKind(), clang::ASTImporter::getToContext(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | VarTemplateDecl * | From, |
VarTemplateDecl * | To | ||
) |
Definition at line 2227 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), getStructuralEquivalenceKind(), clang::ASTImporter::getToContext(), and clang::StructuralEquivalenceContext::IsEquivalent().
|
inline |
Definition at line 414 of file ASTImporter.cpp.
References IDK_Default, IDK_Everything, and clang::ASTImporter::isMinimalImport().
Referenced by ImportDefinition().
ExpectedDecl ASTNodeImporter::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |
Definition at line 2277 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Decl::getAccess(), clang::AccessSpecDecl::getColonLoc(), clang::Decl::getDeclContext(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTImporter::ImportContext(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitAddrLabelExpr | ( | AddrLabelExpr * | E | ) |
Definition at line 6847 of file ASTImporter.cpp.
References clang::AddrLabelExpr::getAmpAmpLoc(), clang::AddrLabelExpr::getLabel(), clang::AddrLabelExpr::getLabelLoc(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitArrayInitIndexExpr | ( | ArrayInitIndexExpr * | E | ) |
Definition at line 7953 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitArrayInitLoopExpr | ( | ArrayInitLoopExpr * | E | ) |
Definition at line 7941 of file ASTImporter.cpp.
References clang::ArrayInitLoopExpr::getCommonExpr(), clang::ArrayInitLoopExpr::getSubExpr(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitArraySubscriptExpr | ( | ArraySubscriptExpr * | E | ) |
Definition at line 7047 of file ASTImporter.cpp.
References clang::ArraySubscriptExpr::getLHS(), clang::Expr::getObjectKind(), clang::ArraySubscriptExpr::getRBracketLoc(), clang::ArraySubscriptExpr::getRHS(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitArrayTypeTraitExpr | ( | ArrayTypeTraitExpr * | E | ) |
Definition at line 7005 of file ASTImporter.cpp.
References clang::ArrayTypeTraitExpr::getBeginLoc(), clang::ArrayTypeTraitExpr::getDimensionExpression(), clang::ArrayTypeTraitExpr::getEndLoc(), clang::ArrayTypeTraitExpr::getQueriedTypeSourceInfo(), clang::ASTImporter::getToContext(), clang::ArrayTypeTraitExpr::getTrait(), clang::Expr::getType(), and clang::ArrayTypeTraitExpr::getValue().
ExpectedStmt ASTNodeImporter::VisitAtomicExpr | ( | AtomicExpr * | E | ) |
Definition at line 6827 of file ASTImporter.cpp.
References clang::AtomicExpr::getBuiltinLoc(), clang::AtomicExpr::getNumSubExprs(), clang::AtomicExpr::getOp(), clang::AtomicExpr::getRParenLoc(), clang::AtomicExpr::getSubExprs(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and ImportArrayChecked().
ExpectedType ASTNodeImporter::VisitAtomicType | ( | const AtomicType * | T | ) |
Definition at line 1017 of file ASTImporter.cpp.
References clang::ASTContext::getAtomicType(), clang::ASTImporter::getToContext(), and clang::AtomicType::getValueType().
ExpectedStmt ASTNodeImporter::VisitAttributedStmt | ( | AttributedStmt * | S | ) |
Definition at line 6180 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitAttributedType | ( | const AttributedType * | T | ) |
Definition at line 1433 of file ASTImporter.cpp.
References clang::ASTContext::getAttributedType(), clang::AttributedType::getAttrKind(), clang::AttributedType::getEquivalentType(), clang::AttributedType::getModifiedType(), and clang::ASTImporter::getToContext().
ExpectedType ASTNodeImporter::VisitAutoType | ( | const AutoType * | T | ) |
Definition at line 1358 of file ASTImporter.cpp.
References clang::ASTContext::getAutoType(), clang::DeducedType::getDeducedType(), clang::AutoType::getKeyword(), clang::ASTImporter::getToContext(), clang::AutoType::getTypeConstraintArguments(), clang::AutoType::getTypeConstraintConcept(), and ImportTemplateArguments().
ExpectedStmt ASTNodeImporter::VisitBinaryConditionalOperator | ( | BinaryConditionalOperator * | E | ) |
Definition at line 6986 of file ASTImporter.cpp.
References clang::AbstractConditionalOperator::getColonLoc(), clang::BinaryConditionalOperator::getCommon(), clang::BinaryConditionalOperator::getCond(), clang::BinaryConditionalOperator::getFalseExpr(), clang::Expr::getObjectKind(), clang::BinaryConditionalOperator::getOpaqueValue(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::ASTImporter::getToContext(), clang::BinaryConditionalOperator::getTrueExpr(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitBinaryOperator | ( | BinaryOperator * | E | ) |
Definition at line 6954 of file ASTImporter.cpp.
References clang::BinaryOperator::Create(), clang::BinaryOperator::getFPFeatures(), clang::ASTImporter::getFromContext(), clang::ASTContext::getLangOpts(), clang::BinaryOperator::getLHS(), clang::Expr::getObjectKind(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getRHS(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedType ASTNodeImporter::VisitBlockPointerType | ( | const BlockPointerType * | T | ) |
Definition at line 1110 of file ASTImporter.cpp.
References clang::ASTContext::getBlockPointerType(), clang::BlockPointerType::getPointeeType(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitBreakStmt | ( | BreakStmt * | S | ) |
Definition at line 6336 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitBuiltinTemplateDecl | ( | BuiltinTemplateDecl * | D | ) |
Definition at line 4762 of file ASTImporter.cpp.
References clang::BTK__make_integer_seq, clang::BTK__type_pack_element, clang::BuiltinTemplateDecl::getBuiltinTemplateKind(), clang::ASTContext::getMakeIntegerSeqDecl(), clang::ASTImporter::getToContext(), clang::ASTContext::getTypePackElementDecl(), and clang::ASTImporter::MapImported().
ExpectedType ASTNodeImporter::VisitBuiltinType | ( | const BuiltinType * | T | ) |
Definition at line 1025 of file ASTImporter.cpp.
References clang::ASTContext::CharTy, clang::BuiltinType::getKind(), clang::ASTContext::getLangOpts(), clang::ASTImporter::getToContext(), clang::ASTContext::SignedCharTy, clang::ASTContext::UnsignedCharTy, and clang::ASTContext::WCharTy.
ExpectedStmt ASTNodeImporter::VisitCallExpr | ( | CallExpr * | E | ) |
Definition at line 7813 of file ASTImporter.cpp.
References clang::CallExpr::arguments(), clang::CXXOperatorCallExpr::Create(), clang::CallExpr::Create(), clang::CallExpr::getADLCallKind(), clang::CallExpr::getCallee(), clang::CallExpr::getFPFeatures(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and ImportContainerChecked().
ExpectedStmt ASTNodeImporter::VisitCaseStmt | ( | CaseStmt * | S | ) |
Definition at line 6135 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCharacterLiteral | ( | CharacterLiteral * | E | ) |
Definition at line 6784 of file ASTImporter.cpp.
References clang::CharacterLiteral::getKind(), clang::CharacterLiteral::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::CharacterLiteral::getValue().
ExpectedStmt ASTNodeImporter::VisitChooseExpr | ( | ChooseExpr * | E | ) |
Definition at line 6558 of file ASTImporter.cpp.
References clang::ChooseExpr::getBuiltinLoc(), clang::ChooseExpr::getCond(), clang::ChooseExpr::getLHS(), clang::Expr::getObjectKind(), clang::ChooseExpr::getRHS(), clang::ChooseExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ChooseExpr::isConditionDependent(), and clang::ChooseExpr::isConditionTrue().
ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |
Definition at line 5388 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitClassTemplateSpecializationDecl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 5499 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ClassTemplateDecl::AddPartialSpecialization(), clang::ClassTemplateDecl::AddSpecialization(), clang::TemplateArgumentList::data(), clang::RecordDecl::fields(), clang::ClassTemplateDecl::findPartialSpecialization(), clang::ClassTemplateDecl::findSpecialization(), clang::TypeDecl::getBeginLoc(), clang::TagDecl::getBraceRange(), clang::QualType::getCanonicalType(), clang::CXXRecordDecl::getDefinition(), clang::ClassTemplateSpecializationDecl::getExternLoc(), clang::ClassTemplatePartialSpecializationDecl::getInjectedSpecializationType(), clang::Decl::getLocation(), clang::ClassTemplateSpecializationDecl::getPointOfInstantiation(), clang::TagDecl::getQualifierLoc(), clang::ClassTemplateSpecializationDecl::getSpecializationKind(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplate(), clang::TagDecl::getTagKind(), clang::ClassTemplateSpecializationDecl::getTemplateArgs(), clang::ClassTemplatePartialSpecializationDecl::getTemplateArgsAsWritten(), clang::ClassTemplateSpecializationDecl::getTemplateKeywordLoc(), clang::ClassTemplatePartialSpecializationDecl::getTemplateParameters(), clang::CXXRecordDecl::getTemplateSpecializationKind(), clang::ASTImporter::getToContext(), clang::ClassTemplateSpecializationDecl::getTypeAsWritten(), ImportDeclContext(), ImportDefinition(), ImportTemplateArgumentListInfo(), ImportTemplateArguments(), clang::TagDecl::isCompleteDefinition(), clang::ClassTemplateSpecializationDecl::isExplicitInstantiationOrSpecialization(), IsStructuralMatch(), clang::TagDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::ASTImporter::MapImported(), clang::CXXRecordDecl::methods(), clang::ImportError::NameConflict, clang::TagDecl::setBraceRange(), clang::ClassTemplateSpecializationDecl::setExternLoc(), clang::Decl::setLexicalDeclContext(), clang::ClassTemplateSpecializationDecl::setPointOfInstantiation(), clang::TagDecl::setQualifierInfo(), clang::ClassTemplateSpecializationDecl::setSpecializationKind(), clang::ClassTemplateSpecializationDecl::setTemplateKeywordLoc(), clang::CXXRecordDecl::setTemplateSpecializationKind(), clang::ClassTemplateSpecializationDecl::setTypeAsWritten(), and clang::TemplateArgumentList::size().
ExpectedType ASTNodeImporter::VisitComplexType | ( | const ComplexType * | T | ) |
Definition at line 1094 of file ASTImporter.cpp.
References clang::ASTContext::getComplexType(), clang::ComplexType::getElementType(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitCompoundAssignOperator | ( | CompoundAssignOperator * | E | ) |
Definition at line 7062 of file ASTImporter.cpp.
References clang::CompoundAssignOperator::Create(), clang::CompoundAssignOperator::getComputationLHSType(), clang::CompoundAssignOperator::getComputationResultType(), clang::BinaryOperator::getFPFeatures(), clang::ASTImporter::getFromContext(), clang::ASTContext::getLangOpts(), clang::BinaryOperator::getLHS(), clang::Expr::getObjectKind(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getRHS(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitCompoundLiteralExpr | ( | CompoundLiteralExpr * | E | ) |
Definition at line 6812 of file ASTImporter.cpp.
References clang::CompoundLiteralExpr::getInitializer(), clang::CompoundLiteralExpr::getLParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CompoundLiteralExpr::getTypeSourceInfo(), clang::Expr::getValueKind(), and clang::CompoundLiteralExpr::isFileScope().
ExpectedStmt ASTNodeImporter::VisitCompoundStmt | ( | CompoundStmt * | S | ) |
Definition at line 6116 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitConditionalOperator | ( | ConditionalOperator * | E | ) |
Definition at line 6969 of file ASTImporter.cpp.
References clang::AbstractConditionalOperator::getColonLoc(), clang::ConditionalOperator::getCond(), clang::ConditionalOperator::getLHS(), clang::Expr::getObjectKind(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::ConditionalOperator::getRHS(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedType ASTNodeImporter::VisitConstantArrayType | ( | const ConstantArrayType * | T | ) |
Definition at line 1155 of file ASTImporter.cpp.
References clang::ASTContext::getConstantArrayType(), clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::ConstantArrayType::getSize(), clang::ConstantArrayType::getSizeExpr(), clang::ArrayType::getSizeModifier(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitConstantExpr | ( | ConstantExpr * | E | ) |
Definition at line 6859 of file ASTImporter.cpp.
References clang::ConstantExpr::Create(), clang::ConstantExpr::getAPValueResult(), clang::FullExpr::getSubExpr(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitContinueStmt | ( | ContinueStmt * | S | ) |
Definition at line 6329 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXBindTemporaryExpr | ( | CXXBindTemporaryExpr * | E | ) |
ExpectedStmt ASTNodeImporter::VisitCXXBoolLiteralExpr | ( | CXXBoolLiteralExpr * | E | ) |
Definition at line 7539 of file ASTImporter.cpp.
References clang::CXXBoolLiteralExpr::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::CXXBoolLiteralExpr::getValue().
ExpectedStmt ASTNodeImporter::VisitCXXCatchStmt | ( | CXXCatchStmt * | S | ) |
Definition at line 6356 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXConstructExpr | ( | CXXConstructExpr * | E | ) |
Definition at line 7474 of file ASTImporter.cpp.
References clang::CXXConstructExpr::arguments(), clang::CXXConstructExpr::Create(), clang::CXXConstructExpr::getConstructionKind(), clang::CXXConstructExpr::getConstructor(), clang::CXXConstructExpr::getLocation(), clang::CXXConstructExpr::getNumArgs(), clang::CXXConstructExpr::getParenOrBraceRange(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CXXConstructExpr::hadMultipleCandidates(), ImportContainerChecked(), clang::CXXConstructExpr::isElidable(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().
ExpectedDecl ASTNodeImporter::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 3583 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
ExpectedDecl ASTNodeImporter::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 3591 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
ExpectedDecl ASTNodeImporter::VisitCXXDeductionGuideDecl | ( | CXXDeductionGuideDecl * | D | ) |
Definition at line 3596 of file ASTImporter.cpp.
References VisitFunctionDecl().
ExpectedStmt ASTNodeImporter::VisitCXXDefaultArgExpr | ( | CXXDefaultArgExpr * | E | ) |
Definition at line 7265 of file ASTImporter.cpp.
References clang::CXXDefaultArgExpr::Create(), clang::ParmVarDecl::getDefaultArg(), clang::ASTImporter::getImportedFromDecl(), clang::CXXDefaultArgExpr::getParam(), clang::ASTImporter::getToContext(), clang::CXXDefaultArgExpr::getUsedContext(), clang::CXXDefaultArgExpr::getUsedLocation(), clang::ASTImporter::ImportContext(), and ImportDefaultArgOfParmVarDecl().
ExpectedStmt ASTNodeImporter::VisitCXXDefaultInitExpr | ( | CXXDefaultInitExpr * | E | ) |
ExpectedStmt ASTNodeImporter::VisitCXXDeleteExpr | ( | CXXDeleteExpr * | E | ) |
Definition at line 7459 of file ASTImporter.cpp.
References clang::CXXDeleteExpr::doesUsualArrayDeleteWantSize(), clang::CXXDeleteExpr::getArgument(), clang::CXXDeleteExpr::getBeginLoc(), clang::CXXDeleteExpr::getOperatorDelete(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CXXDeleteExpr::isArrayForm(), clang::CXXDeleteExpr::isArrayFormAsWritten(), and clang::CXXDeleteExpr::isGlobalDelete().
ExpectedStmt ASTNodeImporter::VisitCXXDependentScopeMemberExpr | ( | CXXDependentScopeMemberExpr * | E | ) |
Definition at line 7618 of file ASTImporter.cpp.
References clang::CXXDependentScopeMemberExpr::Create(), clang::CXXDependentScopeMemberExpr::getBase(), clang::CXXDependentScopeMemberExpr::getFirstQualifierFoundInScope(), clang::CXXDependentScopeMemberExpr::getLAngleLoc(), clang::CXXDependentScopeMemberExpr::getMember(), clang::CXXDependentScopeMemberExpr::getMemberLoc(), clang::CXXDependentScopeMemberExpr::getMemberNameInfo(), clang::CXXDependentScopeMemberExpr::getOperatorLoc(), clang::CXXDependentScopeMemberExpr::getQualifierLoc(), clang::CXXDependentScopeMemberExpr::getRAngleLoc(), clang::CXXDependentScopeMemberExpr::getTemplateKeywordLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CXXDependentScopeMemberExpr::hasExplicitTemplateArgs(), ImportDeclarationNameLoc(), ImportTemplateArgumentListInfo(), clang::CXXDependentScopeMemberExpr::isArrow(), clang::CXXDependentScopeMemberExpr::isImplicitAccess(), and clang::CXXDependentScopeMemberExpr::template_arguments().
ExpectedDecl ASTNodeImporter::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 3587 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
ExpectedStmt ASTNodeImporter::VisitCXXFoldExpr | ( | CXXFoldExpr * | E | ) |
Definition at line 8078 of file ASTImporter.cpp.
References clang::CXXFoldExpr::getCallee(), clang::CXXFoldExpr::getEllipsisLoc(), clang::CXXFoldExpr::getLHS(), clang::CXXFoldExpr::getLParenLoc(), clang::CXXFoldExpr::getNumExpansions(), clang::CXXFoldExpr::getOperator(), clang::CXXFoldExpr::getRHS(), clang::CXXFoldExpr::getRParenLoc(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXForRangeStmt | ( | CXXForRangeStmt * | S | ) |
Definition at line 6391 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXInheritedCtorInitExpr | ( | CXXInheritedCtorInitExpr * | E | ) |
Definition at line 7927 of file ASTImporter.cpp.
References clang::CXXInheritedCtorInitExpr::constructsVBase(), clang::CXXInheritedCtorInitExpr::getConstructor(), clang::CXXInheritedCtorInitExpr::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::CXXInheritedCtorInitExpr::inheritedFromVBase().
ExpectedStmt ASTNodeImporter::VisitCXXMemberCallExpr | ( | CXXMemberCallExpr * | E | ) |
Definition at line 7509 of file ASTImporter.cpp.
References clang::CallExpr::arguments(), clang::CXXMemberCallExpr::Create(), clang::CallExpr::getCallee(), clang::CallExpr::getFPFeatures(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and ImportContainerChecked().
ExpectedDecl ASTNodeImporter::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 3579 of file ASTImporter.cpp.
References VisitFunctionDecl().
Referenced by VisitCXXConstructorDecl(), VisitCXXConversionDecl(), and VisitCXXDestructorDecl().
ExpectedStmt ASTNodeImporter::VisitCXXNamedCastExpr | ( | CXXNamedCastExpr * | E | ) |
Definition at line 7977 of file ASTImporter.cpp.
References clang::CXXStaticCastExpr::Create(), clang::CXXDynamicCastExpr::Create(), clang::CXXReinterpretCastExpr::Create(), clang::CXXConstCastExpr::Create(), clang::CXXNamedCastExpr::getAngleBrackets(), clang::CastExpr::getCastKind(), clang::CXXNamedCastExpr::getOperatorLoc(), clang::CXXNamedCastExpr::getRParenLoc(), clang::CastExpr::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), clang::Expr::getValueKind(), and ImportCastPath().
ExpectedStmt ASTNodeImporter::VisitCXXNewExpr | ( | CXXNewExpr * | E | ) |
Definition at line 7431 of file ASTImporter.cpp.
References clang::CXXNewExpr::Create(), clang::CXXNewExpr::doesUsualArrayDeleteWantSize(), clang::CXXNewExpr::getAllocatedTypeSourceInfo(), clang::CXXNewExpr::getArraySize(), clang::CXXNewExpr::getDirectInitRange(), clang::CXXNewExpr::getInitializationStyle(), clang::CXXNewExpr::getInitializer(), clang::CXXNewExpr::getNumPlacementArgs(), clang::CXXNewExpr::getOperatorDelete(), clang::CXXNewExpr::getOperatorNew(), clang::CXXNewExpr::getSourceRange(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CXXNewExpr::getTypeIdParens(), ImportContainerChecked(), clang::CXXNewExpr::isGlobalNew(), clang::CXXNewExpr::passAlignment(), and clang::CXXNewExpr::placement_arguments().
ExpectedStmt ASTNodeImporter::VisitCXXNoexceptExpr | ( | CXXNoexceptExpr * | E | ) |
Definition at line 7234 of file ASTImporter.cpp.
References clang::CT_Can, clang::CT_Cannot, clang::CT_Dependent, clang::CXXNoexceptExpr::getBeginLoc(), clang::CXXNoexceptExpr::getEndLoc(), clang::CXXNoexceptExpr::getOperand(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CXXNoexceptExpr::getValue(), and clang::Expr::isValueDependent().
ExpectedStmt ASTNodeImporter::VisitCXXNullPtrLiteralExpr | ( | CXXNullPtrLiteralExpr * | E | ) |
Definition at line 6716 of file ASTImporter.cpp.
References clang::CXXNullPtrLiteralExpr::getLocation(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXPseudoDestructorExpr | ( | CXXPseudoDestructorExpr * | E | ) |
Definition at line 7588 of file ASTImporter.cpp.
References clang::CXXPseudoDestructorExpr::getBase(), clang::CXXPseudoDestructorExpr::getColonColonLoc(), clang::CXXPseudoDestructorExpr::getDestroyedTypeIdentifier(), clang::CXXPseudoDestructorExpr::getDestroyedTypeInfo(), clang::CXXPseudoDestructorExpr::getDestroyedTypeLoc(), clang::CXXPseudoDestructorExpr::getOperatorLoc(), clang::CXXPseudoDestructorExpr::getQualifierLoc(), clang::CXXPseudoDestructorExpr::getScopeTypeInfo(), clang::CXXPseudoDestructorExpr::getTildeLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::CXXPseudoDestructorExpr::isArrow().
ExpectedStmt ASTNodeImporter::VisitCXXScalarValueInitExpr | ( | CXXScalarValueInitExpr * | E | ) |
Definition at line 7298 of file ASTImporter.cpp.
References clang::CXXScalarValueInitExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::CXXScalarValueInitExpr::getTypeSourceInfo().
ExpectedStmt ASTNodeImporter::VisitCXXStdInitializerListExpr | ( | CXXStdInitializerListExpr * | E | ) |
Definition at line 7913 of file ASTImporter.cpp.
References clang::CXXStdInitializerListExpr::getSubExpr(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXTemporaryObjectExpr | ( | CXXTemporaryObjectExpr * | E | ) |
Definition at line 7327 of file ASTImporter.cpp.
References clang::CXXConstructExpr::arguments(), clang::CXXTemporaryObjectExpr::Create(), clang::CXXConstructExpr::getConstructor(), clang::CXXConstructExpr::getNumArgs(), clang::CXXConstructExpr::getParenOrBraceRange(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CXXTemporaryObjectExpr::getTypeSourceInfo(), clang::CXXConstructExpr::hadMultipleCandidates(), ImportContainerChecked(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().
ExpectedStmt ASTNodeImporter::VisitCXXThisExpr | ( | CXXThisExpr * | E | ) |
Definition at line 7526 of file ASTImporter.cpp.
References clang::CXXThisExpr::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::CXXThisExpr::isImplicit().
ExpectedStmt ASTNodeImporter::VisitCXXThrowExpr | ( | CXXThrowExpr * | E | ) |
Definition at line 7253 of file ASTImporter.cpp.
References clang::CXXThrowExpr::getSubExpr(), clang::CXXThrowExpr::getThrowLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::CXXThrowExpr::isThrownVariableInScope().
ExpectedStmt ASTNodeImporter::VisitCXXTryStmt | ( | CXXTryStmt * | S | ) |
Definition at line 6369 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXTypeidExpr | ( | CXXTypeidExpr * | E | ) |
ExpectedStmt ASTNodeImporter::VisitCXXUnresolvedConstructExpr | ( | CXXUnresolvedConstructExpr * | E | ) |
Definition at line 7694 of file ASTImporter.cpp.
References clang::CXXUnresolvedConstructExpr::arg_begin(), clang::CXXUnresolvedConstructExpr::arg_end(), clang::CXXUnresolvedConstructExpr::Create(), clang::CXXUnresolvedConstructExpr::getLParenLoc(), clang::CXXUnresolvedConstructExpr::getNumArgs(), clang::CXXUnresolvedConstructExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CXXUnresolvedConstructExpr::getTypeSourceInfo(), and ImportArrayChecked().
ExpectedType ASTNodeImporter::VisitDecayedType | ( | const DecayedType * | T | ) |
Definition at line 1086 of file ASTImporter.cpp.
References clang::ASTContext::getDecayedType(), clang::AdjustedType::getOriginalType(), and clang::ASTImporter::getToContext().
ExpectedDecl ASTNodeImporter::VisitDecl | ( | Decl * | D | ) |
Definition at line 2236 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitDeclRefExpr | ( | DeclRefExpr * | E | ) |
Definition at line 6641 of file ASTImporter.cpp.
References clang::DeclRefExpr::Create(), clang::DeclRefExpr::getDecl(), clang::DeclRefExpr::getFoundDecl(), clang::DeclRefExpr::getLAngleLoc(), clang::DeclRefExpr::getLocation(), clang::DeclRefExpr::getQualifierLoc(), clang::DeclRefExpr::getRAngleLoc(), clang::DeclRefExpr::getTemplateKeywordLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::DeclRefExpr::hadMultipleCandidates(), clang::DeclRefExpr::hasExplicitTemplateArgs(), ImportTemplateArgumentListInfo(), clang::DeclRefExpr::isNonOdrUse(), clang::DeclRefExpr::refersToEnclosingVariableOrCapture(), and clang::DeclRefExpr::template_arguments().
ExpectedStmt ASTNodeImporter::VisitDeclStmt | ( | DeclStmt * | S | ) |
Definition at line 6097 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitDecltypeType | ( | const DecltypeType * | T | ) |
Definition at line 1330 of file ASTImporter.cpp.
References clang::ASTContext::getDecltypeType(), clang::ASTImporter::getToContext(), clang::DecltypeType::getUnderlyingExpr(), and clang::DecltypeType::getUnderlyingType().
ExpectedType ASTNodeImporter::VisitDeducedTemplateSpecializationType | ( | const DeducedTemplateSpecializationType * | T | ) |
ExpectedStmt ASTNodeImporter::VisitDefaultStmt | ( | DefaultStmt * | S | ) |
Definition at line 6154 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitDependentNameType | ( | const DependentNameType * | T | ) |
Definition at line 1546 of file ASTImporter.cpp.
References clang::DependentNameType::getQualifier().
ExpectedStmt ASTNodeImporter::VisitDependentScopeDeclRefExpr | ( | DependentScopeDeclRefExpr * | E | ) |
Definition at line 7665 of file ASTImporter.cpp.
References clang::DependentScopeDeclRefExpr::Create(), clang::DependentScopeDeclRefExpr::getDeclName(), clang::DependentScopeDeclRefExpr::getLAngleLoc(), clang::DeclarationNameInfo::getLoc(), clang::DependentScopeDeclRefExpr::getNameInfo(), clang::DependentScopeDeclRefExpr::getQualifierLoc(), clang::DependentScopeDeclRefExpr::getRAngleLoc(), clang::DependentScopeDeclRefExpr::getTemplateKeywordLoc(), clang::ASTImporter::getToContext(), clang::DependentScopeDeclRefExpr::hasExplicitTemplateArgs(), ImportDeclarationNameLoc(), ImportTemplateArgumentListInfo(), and clang::DependentScopeDeclRefExpr::template_arguments().
ExpectedType ASTNodeImporter::VisitDependentSizedArrayType | ( | const DependentSizedArrayType * | T | ) |
Definition at line 1191 of file ASTImporter.cpp.
References clang::DependentSizedArrayType::getBracketsRange(), clang::ASTContext::getDependentSizedArrayType(), clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::DependentSizedArrayType::getSizeExpr(), clang::ArrayType::getSizeModifier(), and clang::ASTImporter::getToContext().
ExpectedType ASTNodeImporter::VisitDependentTemplateSpecializationType | ( | const DependentTemplateSpecializationType * | T | ) |
Definition at line 1527 of file ASTImporter.cpp.
References clang::DependentTemplateSpecializationType::getArgs(), clang::ASTContext::getDependentTemplateSpecializationType(), clang::DependentTemplateSpecializationType::getIdentifier(), clang::TypeWithKeyword::getKeyword(), clang::DependentTemplateSpecializationType::getNumArgs(), clang::DependentTemplateSpecializationType::getQualifier(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and ImportTemplateArguments().
ExpectedStmt ASTNodeImporter::VisitDesignatedInitExpr | ( | DesignatedInitExpr * | E | ) |
Definition at line 6687 of file ASTImporter.cpp.
References clang::DesignatedInitExpr::Create(), clang::DesignatedInitExpr::designators(), clang::DesignatedInitExpr::getEqualOrColonLoc(), clang::DesignatedInitExpr::getInit(), clang::DesignatedInitExpr::getNumSubExprs(), clang::DesignatedInitExpr::getSubExpr(), clang::ASTImporter::getToContext(), ImportContainerChecked(), clang::DesignatedInitExpr::size(), and clang::DesignatedInitExpr::usesGNUSyntax().
ExpectedStmt ASTNodeImporter::VisitDoStmt | ( | DoStmt * | S | ) |
Definition at line 6268 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitElaboratedType | ( | const ElaboratedType * | T | ) |
ExpectedDecl ASTNodeImporter::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 2248 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitEnumConstantDecl | ( | EnumConstantDecl * | D | ) |
Definition at line 2997 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitEnumDecl | ( | EnumDecl * | D | ) |
Definition at line 2652 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitEnumType | ( | const EnumType * | T | ) |
Definition at line 1425 of file ASTImporter.cpp.
References clang::EnumType::getDecl(), clang::ASTContext::getTagDeclType(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitExplicitCastExpr | ( | ExplicitCastExpr * | E | ) |
Definition at line 7111 of file ASTImporter.cpp.
References clang::CXXFunctionalCastExpr::Create(), clang::CStyleCastExpr::Create(), clang::CastExpr::getCastKind(), clang::Stmt::getStmtClass(), clang::CastExpr::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), clang::Expr::getValueKind(), ImportCastPath(), and clang::ImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitExpr | ( | Expr * | E | ) |
Definition at line 6521 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), clang::Stmt::getBeginLoc(), clang::Stmt::getStmtClassName(), and clang::ImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitExpressionTraitExpr | ( | ExpressionTraitExpr * | E | ) |
Definition at line 7021 of file ASTImporter.cpp.
References clang::ExpressionTraitExpr::getBeginLoc(), clang::ExpressionTraitExpr::getEndLoc(), clang::ExpressionTraitExpr::getQueriedExpression(), clang::ASTImporter::getToContext(), clang::ExpressionTraitExpr::getTrait(), clang::Expr::getType(), and clang::ExpressionTraitExpr::getValue().
ExpectedStmt ASTNodeImporter::VisitExprWithCleanups | ( | ExprWithCleanups * | E | ) |
Definition at line 7495 of file ASTImporter.cpp.
References clang::ExprWithCleanups::cleanupsHaveSideEffects(), clang::ExprWithCleanups::Create(), clang::ExprWithCleanups::getNumObjects(), clang::ExprWithCleanups::getObjects(), clang::FullExpr::getSubExpr(), clang::ASTImporter::getToContext(), and ImportContainerChecked().
ExpectedType ASTNodeImporter::VisitExtVectorType | ( | const ExtVectorType * | T | ) |
Definition at line 1217 of file ASTImporter.cpp.
References clang::VectorType::getElementType(), clang::ASTContext::getExtVectorType(), clang::VectorType::getNumElements(), and clang::ASTImporter::getToContext().
ExpectedDecl ASTNodeImporter::VisitFieldDecl | ( | FieldDecl * | D | ) |
Definition at line 3600 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitFixedPointLiteral | ( | FixedPointLiteral * | E | ) |
Definition at line 6770 of file ASTImporter.cpp.
References clang::ASTContext::getFixedPointScale(), clang::FixedPointLiteral::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::APIntStorage::getValue().
ExpectedStmt ASTNodeImporter::VisitFloatingLiteral | ( | FloatingLiteral * | E | ) |
Definition at line 6743 of file ASTImporter.cpp.
References clang::FloatingLiteral::Create(), clang::FloatingLiteral::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::FloatingLiteral::getValue(), and clang::FloatingLiteral::isExact().
ExpectedStmt ASTNodeImporter::VisitForStmt | ( | ForStmt * | S | ) |
Definition at line 6283 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 3805 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Decl::FOK_None, clang::Decl::getAccess(), getFriendCountAndPosition(), clang::FriendDecl::getFriendDecl(), clang::FriendDecl::getFriendLoc(), clang::FriendDecl::getFriendType(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::TypeSourceInfo::getType(), clang::Decl::IDNS_NonMemberOperator, ImportDeclContext(), FriendCountAndPosition::IndexOfDecl, clang::ASTImporter::IsStructurallyEquivalent(), IsStructuralMatch(), clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::Decl::setLexicalDeclContext(), clang::Decl::setObjectOfFriendDecl(), and FriendCountAndPosition::TotalCount.
ExpectedDecl ASTNodeImporter::VisitFunctionDecl | ( | FunctionDecl * | D | ) |
Definition at line 3230 of file ASTImporter.cpp.
References clang::getCanonicalForwardRedeclChain().
Referenced by VisitCXXDeductionGuideDecl(), and VisitCXXMethodDecl().
ExpectedType ASTNodeImporter::VisitFunctionNoProtoType | ( | const FunctionNoProtoType * | T | ) |
Definition at line 1227 of file ASTImporter.cpp.
References clang::FunctionType::getExtInfo(), clang::ASTContext::getFunctionNoProtoType(), clang::FunctionType::getReturnType(), and clang::ASTImporter::getToContext().
ExpectedType ASTNodeImporter::VisitFunctionProtoType | ( | const FunctionProtoType * | T | ) |
Definition at line 1239 of file ASTImporter.cpp.
References clang::FunctionProtoType::ExceptionSpecInfo::Exceptions, clang::FunctionProtoType::exceptions(), clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, clang::FunctionProtoType::ExtProtoInfo::ExtInfo, clang::FunctionProtoType::getExtProtoInfo(), clang::ASTContext::getFunctionType(), clang::FunctionType::getReturnType(), clang::ASTImporter::getToContext(), clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn, clang::FunctionProtoType::ExceptionSpecInfo::NoexceptExpr, clang::FunctionProtoType::param_types(), clang::FunctionProtoType::ExtProtoInfo::RefQualifier, clang::FunctionProtoType::ExceptionSpecInfo::SourceDecl, clang::FunctionProtoType::ExceptionSpecInfo::SourceTemplate, clang::FunctionProtoType::ExceptionSpecInfo::Type, clang::FunctionProtoType::ExtProtoInfo::TypeQuals, and clang::FunctionProtoType::ExtProtoInfo::Variadic.
ExpectedDecl ASTNodeImporter::VisitFunctionTemplateDecl | ( | FunctionTemplateDecl * | D | ) |
Definition at line 5927 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitGCCAsmStmt | ( | GCCAsmStmt * | S | ) |
Definition at line 6015 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitGenericSelectionExpr | ( | GenericSelectionExpr * | E | ) |
Definition at line 6595 of file ASTImporter.cpp.
References clang::Expr::containsUnexpandedParameterPack(), clang::GenericSelectionExpr::Create(), clang::GenericSelectionExpr::getAssocExprs(), clang::GenericSelectionExpr::getAssocTypeSourceInfos(), clang::GenericSelectionExpr::getControllingExpr(), clang::GenericSelectionExpr::getDefaultLoc(), clang::GenericSelectionExpr::getGenericLoc(), clang::GenericSelectionExpr::getResultIndex(), clang::GenericSelectionExpr::getRParenLoc(), clang::ASTImporter::getToContext(), ImportContainerChecked(), and clang::GenericSelectionExpr::isResultDependent().
ExpectedStmt ASTNodeImporter::VisitGNUNullExpr | ( | GNUNullExpr * | E | ) |
Definition at line 6582 of file ASTImporter.cpp.
References clang::GNUNullExpr::getBeginLoc(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitGotoStmt | ( | GotoStmt * | S | ) |
Definition at line 6303 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitIfStmt | ( | IfStmt * | S | ) |
Definition at line 6196 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitImaginaryLiteral | ( | ImaginaryLiteral * | E | ) |
Definition at line 6757 of file ASTImporter.cpp.
References clang::ImaginaryLiteral::getSubExpr(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitImplicitCastExpr | ( | ImplicitCastExpr * | E | ) |
Definition at line 7093 of file ASTImporter.cpp.
References clang::ImplicitCastExpr::Create(), clang::CastExpr::getCastKind(), clang::CastExpr::getFPFeatures(), clang::CastExpr::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and ImportCastPath().
ExpectedDecl ASTNodeImporter::VisitImplicitParamDecl | ( | ImplicitParamDecl * | D | ) |
Definition at line 4092 of file ASTImporter.cpp.
References clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::ImplicitParamDecl::getParameterKind(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), and clang::ValueDecl::getType().
ExpectedStmt ASTNodeImporter::VisitImplicitValueInitExpr | ( | ImplicitValueInitExpr * | E | ) |
Definition at line 6679 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedDecl ASTNodeImporter::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 2242 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ImportError::UnsupportedConstruct.
ExpectedType ASTNodeImporter::VisitIncompleteArrayType | ( | const IncompleteArrayType * | T | ) |
Definition at line 1168 of file ASTImporter.cpp.
References clang::ArrayType::getElementType(), clang::ASTContext::getIncompleteArrayType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::ArrayType::getSizeModifier(), and clang::ASTImporter::getToContext().
ExpectedDecl ASTNodeImporter::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | D | ) |
Definition at line 3687 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitIndirectGotoStmt | ( | IndirectGotoStmt * | S | ) |
Definition at line 6316 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitInitListExpr | ( | InitListExpr * | E | ) |
Definition at line 7868 of file ASTImporter.cpp.
References clang::InitListExpr::getArrayFiller(), clang::InitListExpr::getInitializedFieldInUnion(), clang::InitListExpr::getLBraceLoc(), clang::InitListExpr::getNumInits(), clang::InitListExpr::getRBraceLoc(), clang::InitListExpr::getSyntacticForm(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::InitListExpr::hadArrayRangeDesignator(), clang::InitListExpr::hasArrayFiller(), ImportContainerChecked(), clang::InitListExpr::inits(), clang::InitListExpr::sawArrayRangeDesignator(), clang::InitListExpr::setArrayFiller(), clang::InitListExpr::setInitializedFieldInUnion(), clang::InitListExpr::setSyntacticForm(), and clang::Expr::setType().
ExpectedType ASTNodeImporter::VisitInjectedClassNameType | ( | const InjectedClassNameType * | T | ) |
Definition at line 1395 of file ASTImporter.cpp.
References clang::InjectedClassNameType::getDecl(), clang::InjectedClassNameType::getInjectedSpecializationType(), clang::ASTImporter::getToContext(), clang::TypeAlignment, and clang::TypeAlignmentInBits.
ExpectedStmt ASTNodeImporter::VisitIntegerLiteral | ( | IntegerLiteral * | E | ) |
Definition at line 6729 of file ASTImporter.cpp.
References clang::IntegerLiteral::Create(), clang::IntegerLiteral::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::APIntStorage::getValue().
ExpectedDecl ASTNodeImporter::VisitLabelDecl | ( | LabelDecl * | D | ) |
Definition at line 2613 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitLabelStmt | ( | LabelStmt * | S | ) |
Definition at line 6167 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitLambdaExpr | ( | LambdaExpr * | LE | ) |
Definition at line 7838 of file ASTImporter.cpp.
References clang::LambdaExpr::capture_inits(), clang::LambdaExpr::capture_size(), clang::Expr::containsUnexpandedParameterPack(), clang::LambdaExpr::Create(), clang::LambdaExpr::getCallOperator(), clang::LambdaExpr::getCaptureDefault(), clang::LambdaExpr::getCaptureDefaultLoc(), clang::LambdaExpr::getEndLoc(), clang::LambdaExpr::getIntroducerRange(), clang::LambdaExpr::getLambdaClass(), clang::ASTImporter::getToContext(), clang::LambdaExpr::hasExplicitParameters(), clang::LambdaExpr::hasExplicitResultType(), and ImportContainerChecked().
ExpectedDecl ASTNodeImporter::VisitLifetimeExtendedTemporaryDecl | ( | LifetimeExtendedTemporaryDecl * | D | ) |
Definition at line 7347 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::LifetimeExtendedTemporaryDecl::getExtendingDecl(), clang::LifetimeExtendedTemporaryDecl::getManglingNumber(), clang::LifetimeExtendedTemporaryDecl::getTemporaryExpr(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 4529 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::LinkageSpecDecl::getExternLoc(), clang::LinkageSpecDecl::getLanguage(), clang::Decl::getLocation(), clang::LinkageSpecDecl::getRBraceLoc(), clang::ASTImporter::getToContext(), clang::LinkageSpecDecl::hasBraces(), ImportDeclContext(), clang::Decl::setLexicalDeclContext(), and clang::LinkageSpecDecl::setRBraceLoc().
ExpectedType ASTNodeImporter::VisitLValueReferenceType | ( | const LValueReferenceType * | T | ) |
Definition at line 1120 of file ASTImporter.cpp.
References clang::ASTContext::getLValueReferenceType(), clang::ReferenceType::getPointeeTypeAsWritten(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitMaterializeTemporaryExpr | ( | MaterializeTemporaryExpr * | E | ) |
Definition at line 7371 of file ASTImporter.cpp.
References clang::MaterializeTemporaryExpr::getLifetimeExtendedTemporaryDecl(), clang::MaterializeTemporaryExpr::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::MaterializeTemporaryExpr::isBoundToLvalueReference().
ExpectedStmt ASTNodeImporter::VisitMemberExpr | ( | MemberExpr * | E | ) |
Definition at line 7552 of file ASTImporter.cpp.
References clang::MemberExpr::Create(), clang::DeclAccessPair::getAccess(), clang::MemberExpr::getBase(), clang::DeclAccessPair::getDecl(), clang::MemberExpr::getFoundDecl(), clang::MemberExpr::getLAngleLoc(), clang::DeclarationNameInfo::getLoc(), clang::MemberExpr::getMemberDecl(), clang::MemberExpr::getMemberNameInfo(), clang::DeclarationNameInfo::getName(), clang::Expr::getObjectKind(), clang::MemberExpr::getOperatorLoc(), clang::MemberExpr::getQualifierLoc(), clang::MemberExpr::getRAngleLoc(), clang::MemberExpr::getTemplateKeywordLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::MemberExpr::hasExplicitTemplateArgs(), ImportTemplateArgumentListInfo(), clang::MemberExpr::isArrow(), clang::MemberExpr::isNonOdrUse(), clang::DeclAccessPair::make(), and clang::MemberExpr::template_arguments().
ExpectedType ASTNodeImporter::VisitMemberPointerType | ( | const MemberPointerType * | T | ) |
Definition at line 1140 of file ASTImporter.cpp.
References clang::MemberPointerType::getClass(), clang::ASTContext::getMemberPointerType(), clang::MemberPointerType::getPointeeType(), and clang::ASTImporter::getToContext().
ExpectedDecl ASTNodeImporter::VisitNamespaceAliasDecl | ( | NamespaceAliasDecl * | D | ) |
Definition at line 2413 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 2330 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitNonTypeTemplateParmDecl | ( | NonTypeTemplateParmDecl * | D | ) |
Definition at line 5311 of file ASTImporter.cpp.
References clang::NamedDecl::getDeclName(), clang::NonTypeTemplateParmDecl::getDefaultArgument(), clang::NonTypeTemplateParmDecl::getDepth(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), clang::NonTypeTemplateParmDecl::getPosition(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::NonTypeTemplateParmDecl::hasDefaultArgument(), clang::NonTypeTemplateParmDecl::isParameterPack(), and clang::NonTypeTemplateParmDecl::setDefaultArgument().
ExpectedStmt ASTNodeImporter::VisitNullStmt | ( | NullStmt * | S | ) |
Definition at line 6108 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAtCatchStmt | ( | ObjCAtCatchStmt * | S | ) |
Definition at line 6432 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAtFinallyStmt | ( | ObjCAtFinallyStmt * | S | ) |
Definition at line 6446 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAtSynchronizedStmt | ( | ObjCAtSynchronizedStmt * | S | ) |
Definition at line 6482 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAtThrowStmt | ( | ObjCAtThrowStmt * | S | ) |
Definition at line 6495 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAtTryStmt | ( | ObjCAtTryStmt * | S | ) |
Definition at line 6457 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAutoreleasePoolStmt | ( | ObjCAutoreleasePoolStmt * | S | ) |
Definition at line 6506 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
Definition at line 4337 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitObjCCategoryImplDecl | ( | ObjCCategoryImplDecl * | D | ) |
Definition at line 4970 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), Category, clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCCategoryImplDecl::getCategoryDecl(), clang::ObjCCategoryImplDecl::getCategoryNameLoc(), clang::NamedDecl::getIdentifier(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportDeclContext(), clang::ASTImporter::MapImported(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitObjCForCollectionStmt | ( | ObjCForCollectionStmt * | S | ) |
Definition at line 6415 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |
Definition at line 5007 of file ASTImporter.cpp.
References clang::declaresSameEntity(), clang::ASTImporter::FromDiag(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCInterfaceDecl::getCanonicalDecl(), clang::ObjCImplDecl::getClassInterface(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getImplementation(), clang::ObjCImplementationDecl::getIvarLBraceLoc(), clang::ObjCImplementationDecl::getIvarRBraceLoc(), clang::Decl::getLocation(), clang::ObjCImplementationDecl::getSuperClass(), clang::ObjCImplementationDecl::getSuperClassLoc(), clang::ASTImporter::getToContext(), ImportDeclContext(), clang::ASTImporter::MapImported(), clang::ImportError::NameConflict, clang::ObjCInterfaceDecl::setImplementation(), clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
ExpectedDecl ASTNodeImporter::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 4904 of file ASTImporter.cpp.
References clang::ObjCInterfaceDecl::getDefinition(), and clang::ASTImporter::MapImported().
ExpectedType ASTNodeImporter::VisitObjCInterfaceType | ( | const ObjCInterfaceType * | T | ) |
Definition at line 1567 of file ASTImporter.cpp.
References clang::ObjCInterfaceType::getDecl(), clang::ASTContext::getObjCInterfaceType(), and clang::ASTImporter::getToContext().
ExpectedDecl ASTNodeImporter::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 3890 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 4174 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitObjCObjectPointerType | ( | const ObjCObjectPointerType * | T | ) |
Definition at line 1603 of file ASTImporter.cpp.
References clang::ASTContext::getObjCObjectPointerType(), clang::ObjCObjectPointerType::getPointeeType(), and clang::ASTImporter::getToContext().
ExpectedType ASTNodeImporter::VisitObjCObjectType | ( | const ObjCObjectType * | T | ) |
Definition at line 1575 of file ASTImporter.cpp.
References clang::ObjCObjectType::getBaseType(), clang::ASTContext::getObjCObjectType(), clang::ASTImporter::getToContext(), clang::ObjCObjectType::getTypeArgsAsWritten(), clang::ObjCObjectType::isKindOfTypeAsWritten(), clang::StmtVisitorBase< std::add_pointer, ASTNodeImporter, ExpectedStmt, ParamTys... >::P, and clang::ObjCProtocolQualifiers< T >::quals().
ExpectedDecl ASTNodeImporter::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |
Definition at line 5089 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 5170 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCPropertyImplDecl::Dynamic, clang::ASTImporter::FromDiag(), clang::ObjCPropertyImplDecl::getBeginLoc(), clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::ObjCPropertyImplDecl::getPropertyDecl(), clang::ObjCPropertyImplDecl::getPropertyImplementation(), clang::ObjCPropertyImplDecl::getPropertyIvarDecl(), clang::ObjCPropertyImplDecl::getPropertyIvarDeclLoc(), clang::ASTImporter::getToContext(), ImportDeclContext(), clang::ASTImporter::MapImported(), clang::ImportError::NameConflict, clang::Property, clang::Decl::setLexicalDeclContext(), clang::ObjCPropertyImplDecl::Synthesize, and clang::ASTImporter::ToDiag().
ExpectedDecl ASTNodeImporter::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 4473 of file ASTImporter.cpp.
References clang::ObjCProtocolDecl::getDefinition(), and clang::ASTImporter::MapImported().
ExpectedDecl ASTNodeImporter::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 4306 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitOffsetOfExpr | ( | OffsetOfExpr * | OE | ) |
Definition at line 7171 of file ASTImporter.cpp.
References clang::OffsetOfNode::Array, clang::OffsetOfNode::Base, clang::OffsetOfExpr::Create(), clang::OffsetOfNode::Field, clang::OffsetOfNode::getArrayExprIndex(), clang::OffsetOfNode::getBase(), clang::OffsetOfNode::getBeginLoc(), clang::OffsetOfExpr::getComponent(), clang::OffsetOfNode::getEndLoc(), clang::OffsetOfNode::getField(), clang::OffsetOfNode::getFieldName(), clang::OffsetOfExpr::getIndexExpr(), clang::OffsetOfNode::getKind(), clang::OffsetOfExpr::getNumComponents(), clang::OffsetOfExpr::getNumExpressions(), clang::OffsetOfExpr::getOperatorLoc(), clang::OffsetOfExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::OffsetOfExpr::getTypeSourceInfo(), clang::OffsetOfNode::Identifier, and clang::ASTImporter::Import().
ExpectedStmt ASTNodeImporter::VisitOpaqueValueExpr | ( | OpaqueValueExpr * | E | ) |
Definition at line 7035 of file ASTImporter.cpp.
References clang::OpaqueValueExpr::getLocation(), clang::Expr::getObjectKind(), clang::OpaqueValueExpr::getSourceExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitPackExpansionExpr | ( | PackExpansionExpr * | E | ) |
Definition at line 7391 of file ASTImporter.cpp.
References clang::PackExpansionExpr::getEllipsisLoc(), clang::PackExpansionExpr::getNumExpansions(), clang::PackExpansionExpr::getPattern(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedType ASTNodeImporter::VisitPackExpansionType | ( | const PackExpansionType * | T | ) |
Definition at line 1517 of file ASTImporter.cpp.
References clang::PackExpansionType::getNumExpansions(), clang::ASTContext::getPackExpansionType(), clang::PackExpansionType::getPattern(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitParenExpr | ( | ParenExpr * | E | ) |
Definition at line 6868 of file ASTImporter.cpp.
References clang::ParenExpr::getLParen(), clang::ParenExpr::getRParen(), clang::ParenExpr::getSubExpr(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitParenListExpr | ( | ParenListExpr * | E | ) |
Definition at line 6880 of file ASTImporter.cpp.
References clang::ParenListExpr::Create(), clang::ParenListExpr::exprs(), clang::ParenListExpr::getLParenLoc(), clang::ParenListExpr::getNumExprs(), clang::ParenListExpr::getRParenLoc(), clang::ASTImporter::getToContext(), and ImportContainerChecked().
ExpectedType ASTNodeImporter::VisitParenType | ( | const ParenType * | T | ) |
Definition at line 1298 of file ASTImporter.cpp.
References clang::ParenType::getInnerType(), clang::ASTContext::getParenType(), and clang::ASTImporter::getToContext().
ExpectedDecl ASTNodeImporter::VisitParmVarDecl | ( | ParmVarDecl * | D | ) |
Definition at line 4135 of file ASTImporter.cpp.
References clang::NamedDecl::getDeclName(), clang::ParmVarDecl::getFunctionScopeDepth(), clang::ParmVarDecl::getFunctionScopeIndex(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), clang::ParmVarDecl::getObjCDeclQualifier(), clang::VarDecl::getStorageClass(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), ImportDefaultArgOfParmVarDecl(), clang::ParmVarDecl::isObjCMethodParameter(), clang::ParmVarDecl::setObjCDeclQualifier(), clang::ParmVarDecl::setObjCMethodScopeInfo(), and clang::ParmVarDecl::setScopeInfo().
ExpectedType ASTNodeImporter::VisitPointerType | ( | const PointerType * | T | ) |
Definition at line 1102 of file ASTImporter.cpp.
References clang::PointerType::getPointeeType(), clang::ASTContext::getPointerType(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitPredefinedExpr | ( | PredefinedExpr * | E | ) |
Definition at line 6628 of file ASTImporter.cpp.
References clang::PredefinedExpr::Create(), clang::PredefinedExpr::getBeginLoc(), clang::PredefinedExpr::getFunctionName(), clang::PredefinedExpr::getIdentKind(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedDecl ASTNodeImporter::VisitRecordDecl | ( | RecordDecl * | D | ) |
Definition at line 2758 of file ASTImporter.cpp.
References clang::Decl::FOK_None.
ExpectedType ASTNodeImporter::VisitRecordType | ( | const RecordType * | T | ) |
Definition at line 1417 of file ASTImporter.cpp.
References clang::RecordType::getDecl(), clang::ASTContext::getTagDeclType(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitReturnStmt | ( | ReturnStmt * | S | ) |
Definition at line 6343 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitRValueReferenceType | ( | const RValueReferenceType * | T | ) |
Definition at line 1130 of file ASTImporter.cpp.
References clang::ReferenceType::getPointeeTypeAsWritten(), clang::ASTContext::getRValueReferenceType(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitSizeOfPackExpr | ( | SizeOfPackExpr * | E | ) |
Definition at line 7403 of file ASTImporter.cpp.
References clang::SizeOfPackExpr::Create(), clang::SizeOfPackExpr::getOperatorLoc(), clang::SizeOfPackExpr::getPack(), clang::SizeOfPackExpr::getPackLength(), clang::SizeOfPackExpr::getPackLoc(), clang::SizeOfPackExpr::getPartialArguments(), clang::SizeOfPackExpr::getRParenLoc(), clang::ASTImporter::getToContext(), ImportTemplateArguments(), clang::SizeOfPackExpr::isPartiallySubstituted(), and clang::Expr::isValueDependent().
ExpectedStmt ASTNodeImporter::VisitSourceLocExpr | ( | SourceLocExpr * | E | ) |
ExpectedDecl ASTNodeImporter::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |
Definition at line 2304 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::StaticAssertDecl::getAssertExpr(), clang::Decl::getDeclContext(), clang::Decl::getLocation(), clang::StaticAssertDecl::getMessage(), clang::StaticAssertDecl::getRParenLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::ImportContext(), clang::StaticAssertDecl::isFailed(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitStmt | ( | Stmt * | S | ) |
Definition at line 6008 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitStmtExpr | ( | StmtExpr * | E | ) |
Definition at line 6897 of file ASTImporter.cpp.
References clang::StmtExpr::getLParenLoc(), clang::StmtExpr::getRParenLoc(), clang::StmtExpr::getSubStmt(), clang::StmtExpr::getTemplateDepth(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitStringLiteral | ( | StringLiteral * | E | ) |
Definition at line 6797 of file ASTImporter.cpp.
References clang::StringLiteral::Create(), clang::StringLiteral::getBytes(), clang::StringLiteral::getKind(), clang::StringLiteral::getNumConcatenated(), clang::ASTImporter::getToContext(), clang::Expr::getType(), ImportArrayChecked(), clang::StringLiteral::isPascal(), clang::StringLiteral::tokloc_begin(), and clang::StringLiteral::tokloc_end().
ExpectedStmt ASTNodeImporter::VisitSubstNonTypeTemplateParmExpr | ( | SubstNonTypeTemplateParmExpr * | E | ) |
Definition at line 8017 of file ASTImporter.cpp.
References clang::Expr::getExprLoc(), clang::SubstNonTypeTemplateParmExpr::getParameter(), clang::SubstNonTypeTemplateParmExpr::getReplacement(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and clang::SubstNonTypeTemplateParmExpr::isReferenceParameter().
ExpectedType ASTNodeImporter::VisitSubstTemplateTypeParmType | ( | const SubstTemplateTypeParmType * | T | ) |
ExpectedStmt ASTNodeImporter::VisitSwitchStmt | ( | SwitchStmt * | S | ) |
Definition at line 6216 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitTemplateSpecializationType | ( | const TemplateSpecializationType * | T | ) |
Definition at line 1471 of file ASTImporter.cpp.
References clang::TemplateSpecializationType::getArgs(), clang::ASTContext::getCanonicalType(), clang::ASTImporter::getFromContext(), clang::TemplateSpecializationType::getNumArgs(), clang::TemplateSpecializationType::getTemplateName(), clang::ASTContext::getTemplateSpecializationType(), clang::ASTImporter::getToContext(), ImportTemplateArguments(), and clang::QualType::isCanonical().
ExpectedDecl ASTNodeImporter::VisitTemplateTemplateParmDecl | ( | TemplateTemplateParmDecl * | D | ) |
Definition at line 5342 of file ASTImporter.cpp.
References clang::NamedDecl::getDeclName(), clang::TemplateTemplateParmDecl::getDefaultArgument(), clang::TemplateTemplateParmDecl::getDepth(), clang::Decl::getLocation(), clang::TemplateTemplateParmDecl::getPosition(), clang::TemplateDecl::getTemplateParameters(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::TemplateTemplateParmDecl::hasDefaultArgument(), clang::TemplateTemplateParmDecl::isParameterPack(), and clang::TemplateTemplateParmDecl::setDefaultArgument().
ExpectedDecl ASTNodeImporter::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 5248 of file ASTImporter.cpp.
References clang::ASTTemplateArgumentListInfo::Create(), clang::TypeDecl::getBeginLoc(), clang::TemplateTypeParmDecl::getDefaultArgumentInfo(), clang::TemplateTypeParmDecl::getDepth(), clang::NamedDecl::getIdentifier(), clang::TemplateTypeParmDecl::getIndex(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::TemplateTypeParmDecl::getTypeConstraint(), clang::TemplateTypeParmDecl::hasDefaultArgument(), clang::TemplateTypeParmDecl::hasTypeConstraint(), clang::ASTImporter::Import(), ImportTemplateArgumentListInfo(), clang::TemplateTypeParmDecl::isParameterPack(), clang::TemplateTypeParmDecl::setDefaultArgument(), clang::TemplateTypeParmDecl::setTypeConstraint(), and clang::TemplateTypeParmDecl::wasDeclaredWithTypename().
ExpectedType ASTNodeImporter::VisitTemplateTypeParmType | ( | const TemplateTypeParmType * | T | ) |
Definition at line 1445 of file ASTImporter.cpp.
References clang::TemplateTypeParmType::getDecl(), clang::TemplateTypeParmType::getDepth(), clang::TemplateTypeParmType::getIndex(), clang::ASTContext::getTemplateTypeParmType(), clang::ASTImporter::getToContext(), and clang::TemplateTypeParmType::isParameterPack().
ExpectedDecl ASTNodeImporter::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | D | ) |
Definition at line 2268 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), and clang::ASTImporter::MapImported().
ExpectedType ASTNodeImporter::VisitType | ( | const Type * | T | ) |
Definition at line 1011 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), clang::Type::getTypeClassName(), and clang::ImportError::UnsupportedConstruct.
ExpectedDecl ASTNodeImporter::VisitTypeAliasDecl | ( | TypeAliasDecl * | D | ) |
Definition at line 2553 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
ExpectedDecl ASTNodeImporter::VisitTypeAliasTemplateDecl | ( | TypeAliasTemplateDecl * | D | ) |
Definition at line 2558 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitTypedefDecl | ( | TypedefDecl * | D | ) |
Definition at line 2549 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
ExpectedDecl ASTNodeImporter::VisitTypedefNameDecl | ( | TypedefNameDecl * | D, |
bool | IsAlias | ||
) |
Definition at line 2450 of file ASTImporter.cpp.
Referenced by VisitTypeAliasDecl(), and VisitTypedefDecl().
ExpectedType ASTNodeImporter::VisitTypedefType | ( | const TypedefType * | T | ) |
Definition at line 1306 of file ASTImporter.cpp.
References clang::TypedefType::getDecl(), clang::ASTImporter::getToContext(), and clang::ASTContext::getTypeDeclType().
ExpectedType ASTNodeImporter::VisitTypeOfExprType | ( | const TypeOfExprType * | T | ) |
Definition at line 1314 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::ASTContext::getTypeOfExprType(), and clang::TypeOfExprType::getUnderlyingExpr().
ExpectedType ASTNodeImporter::VisitTypeOfType | ( | const TypeOfType * | T | ) |
Definition at line 1322 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::ASTContext::getTypeOfType(), and clang::TypeOfType::getUnderlyingType().
ExpectedStmt ASTNodeImporter::VisitTypeTraitExpr | ( | TypeTraitExpr * | E | ) |
Definition at line 8032 of file ASTImporter.cpp.
References clang::TypeTraitExpr::Create(), false, clang::TypeTraitExpr::getArgs(), clang::TypeTraitExpr::getBeginLoc(), clang::TypeTraitExpr::getEndLoc(), clang::TypeTraitExpr::getNumArgs(), clang::ASTImporter::getToContext(), clang::TypeTraitExpr::getTrait(), clang::Expr::getType(), clang::TypeTraitExpr::getValue(), ImportContainerChecked(), and clang::Expr::isValueDependent().
ExpectedStmt ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr | ( | UnaryExprOrTypeTraitExpr * | E | ) |
Definition at line 6927 of file ASTImporter.cpp.
References clang::UnaryExprOrTypeTraitExpr::getArgumentExpr(), clang::UnaryExprOrTypeTraitExpr::getArgumentTypeInfo(), clang::UnaryExprOrTypeTraitExpr::getKind(), clang::UnaryExprOrTypeTraitExpr::getOperatorLoc(), clang::UnaryExprOrTypeTraitExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::UnaryExprOrTypeTraitExpr::isArgumentType().
ExpectedStmt ASTNodeImporter::VisitUnaryOperator | ( | UnaryOperator * | E | ) |
Definition at line 6911 of file ASTImporter.cpp.
References clang::UnaryOperator::canOverflow(), clang::UnaryOperator::Create(), clang::UnaryOperator::getFPOptionsOverride(), clang::Expr::getObjectKind(), clang::UnaryOperator::getOpcode(), clang::UnaryOperator::getOperatorLoc(), clang::UnaryOperator::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedType ASTNodeImporter::VisitUnaryTransformType | ( | const UnaryTransformType * | T | ) |
ExpectedStmt ASTNodeImporter::VisitUnresolvedLookupExpr | ( | UnresolvedLookupExpr * | E | ) |
Definition at line 7715 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::UnresolvedLookupExpr::Create(), clang::OverloadExpr::decls(), clang::UnresolvedSetImpl::end(), clang::OverloadExpr::getLAngleLoc(), clang::OverloadExpr::getName(), clang::OverloadExpr::getNameInfo(), clang::OverloadExpr::getNameLoc(), clang::UnresolvedLookupExpr::getNamingClass(), clang::OverloadExpr::getQualifierLoc(), clang::OverloadExpr::getRAngleLoc(), clang::OverloadExpr::getTemplateKeywordLoc(), clang::ASTImporter::getToContext(), clang::OverloadExpr::hasExplicitTemplateArgs(), ImportDeclarationNameLoc(), ImportTemplateArgumentListInfo(), clang::UnresolvedLookupExpr::isOverloaded(), clang::UnresolvedLookupExpr::requiresADL(), and clang::OverloadExpr::template_arguments().
ExpectedStmt ASTNodeImporter::VisitUnresolvedMemberExpr | ( | UnresolvedMemberExpr * | E | ) |
Definition at line 7766 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::OverloadExpr::copyTemplateArgumentsInto(), clang::UnresolvedMemberExpr::Create(), clang::OverloadExpr::decls(), clang::UnresolvedSetImpl::end(), clang::UnresolvedMemberExpr::getBase(), clang::OverloadExpr::getName(), clang::OverloadExpr::getNameInfo(), clang::OverloadExpr::getNameLoc(), clang::UnresolvedMemberExpr::getOperatorLoc(), clang::OverloadExpr::getQualifierLoc(), clang::OverloadExpr::getTemplateKeywordLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::OverloadExpr::hasExplicitTemplateArgs(), clang::UnresolvedMemberExpr::hasUnresolvedUsing(), ImportDeclarationNameLoc(), ImportTemplateArgumentListInfo(), clang::UnresolvedMemberExpr::isArrow(), and clang::UnresolvedMemberExpr::isImplicitAccess().
ExpectedType ASTNodeImporter::VisitUnresolvedUsingType | ( | const UnresolvedUsingType * | T | ) |
Definition at line 1286 of file ASTImporter.cpp.
References clang::UnresolvedUsingType::getDecl(), clang::Decl::getPreviousDecl(), clang::ASTImporter::getToContext(), and clang::ASTContext::getTypeDeclType().
ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingTypenameDecl | ( | UnresolvedUsingTypenameDecl * | D | ) |
Definition at line 4730 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingValueDecl | ( | UnresolvedUsingValueDecl * | D | ) |
Definition at line 4694 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 4563 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitUsingDirectiveDecl | ( | UsingDirectiveDecl * | D | ) |
Definition at line 4655 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 4613 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitVAArgExpr | ( | VAArgExpr * | E | ) |
Definition at line 6542 of file ASTImporter.cpp.
References clang::VAArgExpr::getBuiltinLoc(), clang::VAArgExpr::getRParenLoc(), clang::VAArgExpr::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::VAArgExpr::getWrittenTypeInfo(), and clang::VAArgExpr::isMicrosoftABI().
ExpectedDecl ASTNodeImporter::VisitVarDecl | ( | VarDecl * | D | ) |
Definition at line 3941 of file ASTImporter.cpp.
References clang::getCanonicalForwardRedeclChain().
ExpectedType ASTNodeImporter::VisitVariableArrayType | ( | const VariableArrayType * | T | ) |
Definition at line 1179 of file ASTImporter.cpp.
References clang::VariableArrayType::getBracketsRange(), clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::VariableArrayType::getSizeExpr(), clang::ArrayType::getSizeModifier(), clang::ASTImporter::getToContext(), and clang::ASTContext::getVariableArrayType().
ExpectedDecl ASTNodeImporter::VisitVarTemplateDecl | ( | VarTemplateDecl * | D | ) |
Definition at line 5677 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitVarTemplateSpecializationDecl | ( | VarTemplateSpecializationDecl * | D | ) |
Definition at line 5779 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::VarTemplateDecl::AddSpecialization(), clang::TemplateArgumentList::data(), clang::VarTemplateDecl::findSpecialization(), clang::Decl::getAccess(), clang::DeclaratorDecl::getBeginLoc(), clang::VarDecl::getDefinition(), clang::Decl::getLocation(), clang::VarTemplateSpecializationDecl::getPointOfInstantiation(), clang::DeclaratorDecl::getQualifierLoc(), clang::VarTemplateSpecializationDecl::getSpecializationKind(), clang::VarTemplateSpecializationDecl::getSpecializedTemplate(), clang::VarDecl::getStorageClass(), clang::VarTemplateSpecializationDecl::getTemplateArgs(), clang::VarTemplateSpecializationDecl::getTemplateArgsInfo(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), ImportDeclContext(), ImportInitializer(), ImportTemplateArgumentListInfo(), ImportTemplateArguments(), clang::VarDecl::isConstexpr(), IsStructuralMatch(), clang::VarDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::VarDecl::setConstexpr(), clang::Decl::setLexicalDeclContext(), clang::VarTemplateSpecializationDecl::setPointOfInstantiation(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarTemplateSpecializationDecl::setSpecializationKind(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateArgumentList::size().
ExpectedType ASTNodeImporter::VisitVectorType | ( | const VectorType * | T | ) |
Definition at line 1207 of file ASTImporter.cpp.
References clang::VectorType::getElementType(), clang::VectorType::getNumElements(), clang::ASTImporter::getToContext(), clang::VectorType::getVectorKind(), and clang::ASTContext::getVectorType().
ExpectedStmt ASTNodeImporter::VisitWhileStmt | ( | WhileStmt * | S | ) |
Definition at line 6252 of file ASTImporter.cpp.