clang 22.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 { return RetTy() |
Definition at line 177 of file ASTImporter.cpp.
Definition at line 431 of file ASTImporter.cpp.
using clang::ASTNodeImporter::FunctionTemplateAndArgsTy = std::tuple<FunctionTemplateDecl *, TemplateArgsTy> |
Definition at line 479 of file ASTImporter.cpp.
Definition at line 478 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 434 of file ASTImporter.cpp.
|
inlineexplicit |
Definition at line 401 of file ASTImporter.cpp.
Expected< FunctionDecl * > ASTNodeImporter::FindFunctionTemplateSpecialization | ( | FunctionDecl * | FromFD | ) |
Definition at line 3658 of file ASTImporter.cpp.
References ImportFunctionTemplateWithTemplateArgsFromSpecialization(), and clang::Template.
Referenced by VisitFunctionDecl().
bool ASTNodeImporter::hasReturnTypeDeclaredInside | ( | FunctionDecl * | D | ) |
This function checks if the given function has a return type that contains a reference (in any way) to a declaration inside the same function.
Definition at line 3879 of file ASTImporter.cpp.
References D, clang::Type::getAs(), clang::ASTContext::getLangOpts(), clang::QualType::getTypePtr(), and clang::isLambdaMethod().
Referenced by VisitFunctionDecl().
bool clang::ASTNodeImporter::hasSameVisibilityContextAndLinkage | ( | T * | Found, |
T * | From | ||
) |
Definition at line 1256 of file ASTImporter.cpp.
References clang::Found, clang::ASTImporter::GetFromTU(), and clang::Decl::getTranslationUnitDecl().
Referenced by VisitClassTemplateDecl(), VisitEnumDecl(), VisitFunctionDecl(), VisitFunctionTemplateDecl(), VisitRecordDecl(), VisitTypedefNameDecl(), VisitVarDecl(), and VisitVarTemplateDecl().
bool clang::ASTNodeImporter::hasSameVisibilityContextAndLinkage | ( | TypedefNameDecl * | Found, |
TypedefNameDecl * | From | ||
) |
Definition at line 1272 of file ASTImporter.cpp.
References clang::Found, clang::ASTImporter::GetFromTU(), clang::NamedDecl::getLinkageInternal(), clang::Decl::getTranslationUnitDecl(), and clang::Decl::isInAnonymousNamespace().
Expected< ConceptReference * > clang::ASTNodeImporter::import | ( | ConceptReference * | From | ) |
Definition at line 1034 of file ASTImporter.cpp.
References clang::ASTTemplateArgumentListInfo::Create(), clang::ConceptReference::Create(), clang::ConceptReference::getConceptNameInfo(), clang::ConceptReference::getFoundDecl(), clang::DeclarationNameInfo::getLoc(), clang::DeclarationNameInfo::getName(), clang::ConceptReference::getNamedConcept(), clang::ConceptReference::getNestedNameSpecifierLoc(), clang::ConceptReference::getTemplateArgsAsWritten(), clang::ConceptReference::getTemplateKWLoc(), clang::ASTImporter::getToContext(), importChecked(), and ImportTemplateArgumentListInfo().
Expected< concepts::Requirement * > clang::ASTNodeImporter::import | ( | concepts::Requirement * | FromRequire | ) |
Definition at line 1217 of file ASTImporter.cpp.
References clang::concepts::Requirement::getKind(), ImportExprRequirement(), ImportNestedRequirement(), ImportTypeRequirement(), clang::concepts::Requirement::RK_Compound, clang::concepts::Requirement::RK_Nested, clang::concepts::Requirement::RK_Simple, and clang::concepts::Requirement::RK_Type.
Expected< concepts::Requirement::SubstitutionDiagnostic * > clang::ASTNodeImporter::import | ( | concepts::Requirement::SubstitutionDiagnostic * | FromDiag | ) |
Definition at line 1096 of file ASTImporter.cpp.
References clang::concepts::Requirement::SubstitutionDiagnostic::DiagLoc, clang::concepts::Requirement::SubstitutionDiagnostic::DiagMessage, clang::ASTImporter::getToContext(), ImportASTStringRef(), and clang::concepts::Requirement::SubstitutionDiagnostic::SubstitutedEntity.
Expected< DeclGroupRef > clang::ASTNodeImporter::import | ( | const DeclGroupRef & | DG | ) |
Definition at line 975 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 | ) |
Expected< LambdaCapture > clang::ASTNodeImporter::import | ( | const LambdaCapture & | From | ) |
Definition at line 1232 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 842 of file ASTImporter.cpp.
References clang::TemplateArgument::Declaration, clang::TemplateArgument::Expression, clang::TemplateArgument::getAsDecl(), clang::TemplateArgument::getAsExpr(), clang::TemplateArgument::getAsStructuralValue(), clang::TemplateArgument::getAsTemplate(), clang::TemplateArgument::getAsTemplateOrTemplatePattern(), clang::TemplateArgument::getAsType(), clang::TemplateArgument::getIntegralType(), clang::TemplateArgument::getIsDefaulted(), clang::TemplateArgument::getKind(), clang::TemplateArgument::getNullPtrType(), clang::TemplateArgument::getNumTemplateExpansions(), clang::TemplateArgument::getParamTypeForDecl(), clang::TemplateArgument::getStructuralValueType(), clang::ASTImporter::getToContext(), ImportTemplateArguments(), clang::TemplateArgument::Integral, clang::TemplateArgument::isCanonicalExpr(), clang::TemplateArgument::Null, clang::TemplateArgument::NullPtr, clang::TemplateArgument::Pack, clang::TemplateArgument::pack_elements(), clang::TemplateArgument::pack_size(), clang::TemplateArgument::StructuralValue, clang::TemplateArgument::Template, clang::TemplateArgument::TemplateExpansion, and clang::TemplateArgument::Type.
Expected< TemplateArgumentLoc > clang::ASTNodeImporter::import | ( | const TemplateArgumentLoc & | TALoc | ) |
Definition at line 932 of file ASTImporter.cpp.
References E, clang::TemplateArgument::Expression, clang::TemplateArgumentLoc::getArgument(), clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgumentLocInfo::getAsTypeSourceInfo(), clang::TemplateArgument::getKind(), clang::TemplateArgumentLoc::getLocInfo(), clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc(), clang::TemplateArgumentLocInfo::getTemplateKwLoc(), clang::TemplateArgumentLocInfo::getTemplateNameLoc(), clang::TemplateArgumentLoc::getTemplateQualifierLoc(), clang::ASTImporter::getToContext(), and clang::TemplateArgument::Type.
Expected< TemplateParameterList * > clang::ASTNodeImporter::import | ( | TemplateParameterList * | From | ) |
Definition at line 812 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 10532 of file ASTImporter.cpp.
References clang::APValue::AddrLabelDiff, clang::APValue::Array, clang::APValue::LValuePathEntry::ArrayIndex(), clang::APValue::ComplexFloat, clang::APValue::ComplexInt, clang::APValue::LValueBase::dyn_cast(), E, clang::APValue::FixedPoint, clang::APValue::Float, FromDecl, clang::APValue::LValueBase::get(), clang::APValue::getAddrLabelDiffLHS(), clang::APValue::getAddrLabelDiffRHS(), clang::APValue::getArrayInitializedElts(), clang::APValue::getArraySize(), clang::ASTContext::getAsArrayType(), clang::APValue::LValueBase::getCallIndex(), clang::Decl::getCanonicalDecl(), clang::ASTContext::getCanonicalTagType(), clang::ArrayType::getElementType(), clang::APValue::getKind(), clang::APValue::getLValueBase(), clang::APValue::getLValueOffset(), clang::APValue::getLValuePath(), clang::APValue::getMemberPointerDecl(), clang::APValue::getMemberPointerPath(), clang::APValue::getStructNumBases(), clang::APValue::getStructNumFields(), clang::TypeInfoLValue::getType(), clang::Expr::getType(), clang::APValue::LValueBase::getTypeInfo(), clang::APValue::LValueBase::getTypeInfoType(), clang::APValue::getUnionField(), clang::APValue::getUnionValue(), clang::APValue::getVectorLength(), clang::APValue::LValueBase::getVersion(), clang::APValue::hasLValuePath(), importChecked(), clang::APValue::Indeterminate, clang::APValue::Int, clang::APValue::LValueBase::is(), clang::APValue::isLValueOnePastTheEnd(), clang::APValue::isMemberPointerToDerivedMember(), clang::APValue::isNullPointer(), clang::Type::isRecordType(), clang::APValue::LValue, clang::APValue::MemberPointer, clang::APValue::None, clang::Result, clang::APValue::Struct, clang::APValue::Union, and clang::APValue::Vector.
Referenced by clang::ASTImporter::Import().
|
inline |
Definition at line 740 of file ASTImporter.cpp.
References ImportArrayChecked().
|
inline |
Definition at line 717 of file ASTImporter.cpp.
Referenced by ImportArrayChecked(), ImportContainerChecked(), VisitAtomicExpr(), VisitCXXUnresolvedConstructExpr(), VisitGCCAsmStmt(), VisitRequiresExpr(), VisitStringLiteral(), VisitUsingPackDecl(), and VisitVarDecl().
StringRef clang::ASTNodeImporter::ImportASTStringRef | ( | StringRef | FromStr | ) |
Definition at line 1060 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext().
Referenced by import(), ImportConstraintSatisfaction(), and ImportNestedRequirement().
Expected< CXXCastPath > ASTNodeImporter::ImportCastPath | ( | CastExpr * | E | ) |
Definition at line 8177 of file ASTImporter.cpp.
References E, Path, clang::CastExpr::path_begin(), and clang::CastExpr::path_end().
Referenced by VisitCXXNamedCastExpr(), VisitExplicitCastExpr(), and VisitImplicitCastExpr().
|
inline |
Definition at line 704 of file ASTImporter.cpp.
References clang::T.
Referenced by import(), ImportAPValue(), ImportInheritedConstructor(), ImportLoopControlStmt(), VisitAddrLabelExpr(), VisitArrayInitLoopExpr(), VisitArraySubscriptExpr(), VisitArrayTypeTraitExpr(), VisitAtomicExpr(), VisitBinaryConditionalOperator(), VisitBinaryOperator(), VisitBindingDecl(), VisitCallExpr(), VisitCaseStmt(), VisitChooseExpr(), VisitCompoundAssignOperator(), VisitCompoundLiteralExpr(), VisitConceptDecl(), VisitConceptSpecializationExpr(), VisitConditionalOperator(), VisitConstantExpr(), VisitConvertVectorExpr(), VisitCXXCatchStmt(), VisitCXXConstructExpr(), VisitCXXDeleteExpr(), VisitCXXDependentScopeMemberExpr(), VisitCXXFoldExpr(), VisitCXXForRangeStmt(), VisitCXXInheritedCtorInitExpr(), VisitCXXMemberCallExpr(), VisitCXXNamedCastExpr(), VisitCXXNewExpr(), VisitCXXNoexceptExpr(), VisitCXXPseudoDestructorExpr(), VisitCXXRewrittenBinaryOperator(), VisitCXXScalarValueInitExpr(), VisitCXXTemporaryObjectExpr(), VisitCXXThrowExpr(), VisitCXXUnresolvedConstructExpr(), VisitDeclRefExpr(), VisitDeclStmt(), VisitDefaultStmt(), VisitDependentScopeDeclRefExpr(), VisitDoStmt(), VisitEnumDecl(), VisitExplicitCastExpr(), VisitExpressionTraitExpr(), VisitFieldDecl(), VisitForStmt(), VisitFunctionDecl(), VisitGenericSelectionExpr(), VisitGotoStmt(), VisitIfStmt(), VisitImplicitConceptSpecializationDecl(), VisitImplicitParamDecl(), VisitIndirectGotoStmt(), VisitInitListExpr(), VisitLabelStmt(), VisitLambdaExpr(), VisitLifetimeExtendedTemporaryDecl(), VisitMaterializeTemporaryExpr(), VisitMemberExpr(), VisitNamespaceAliasDecl(), VisitNonTypeTemplateParmDecl(), VisitObjCAtCatchStmt(), VisitObjCAtSynchronizedStmt(), VisitObjCAtTryStmt(), VisitObjCCategoryDecl(), VisitObjCCategoryImplDecl(), VisitObjCForCollectionStmt(), VisitObjCImplementationDecl(), VisitObjCIvarDecl(), VisitObjCMethodDecl(), VisitObjCPropertyDecl(), VisitObjCPropertyImplDecl(), VisitObjCTypeParamDecl(), VisitOffsetOfExpr(), VisitOpaqueValueExpr(), VisitPackExpansionExpr(), VisitParenExpr(), VisitParmVarDecl(), VisitPredefinedExpr(), VisitRequiresExpr(), VisitRequiresExprBodyDecl(), VisitReturnStmt(), VisitShuffleVectorExpr(), VisitSizeOfPackExpr(), VisitSourceLocExpr(), VisitStaticAssertDecl(), VisitStmtExpr(), VisitSubstNonTypeTemplateParmExpr(), VisitSwitchStmt(), VisitTemplateTypeParmDecl(), VisitTypeAliasTemplateDecl(), VisitTypedefNameDecl(), VisitTypeTraitExpr(), VisitUnaryExprOrTypeTraitExpr(), VisitUnaryOperator(), VisitUnresolvedLookupExpr(), VisitUnresolvedMemberExpr(), VisitUnresolvedUsingTypenameDecl(), VisitUnresolvedUsingValueDecl(), VisitUsingDecl(), VisitUsingDirectiveDecl(), VisitUsingEnumDecl(), VisitUsingShadowDecl(), VisitVAArgExpr(), VisitVarDecl(), and VisitWhileStmt().
Error clang::ASTNodeImporter::ImportConstraintSatisfaction | ( | const ASTConstraintSatisfaction & | FromSat, |
ConstraintSatisfaction & | ToSat | ||
) |
Definition at line 1066 of file ASTImporter.cpp.
References clang::ASTConstraintSatisfaction::begin(), clang::ConstraintSatisfaction::ContainsErrors, clang::ASTConstraintSatisfaction::ContainsErrors, clang::ConstraintSatisfaction::Details, E, clang::ASTConstraintSatisfaction::end(), clang::ASTImporter::getToContext(), ImportASTStringRef(), clang::ConstraintSatisfaction::IsSatisfied, and clang::ASTConstraintSatisfaction::IsSatisfied.
Referenced by ImportNestedRequirement(), and VisitConceptSpecializationExpr().
|
inline |
Definition at line 733 of file ASTImporter.cpp.
References ImportArrayChecked().
Referenced by import(), VisitAttributedStmt(), VisitCallExpr(), VisitCompoundStmt(), VisitCXXConstructExpr(), VisitCXXMemberCallExpr(), VisitCXXNewExpr(), VisitCXXTemporaryObjectExpr(), VisitDesignatedInitExpr(), VisitExprWithCleanups(), VisitFunctionDecl(), VisitGCCAsmStmt(), VisitGenericSelectionExpr(), VisitInitListExpr(), VisitLambdaExpr(), VisitObjCMethodDecl(), VisitParenListExpr(), VisitShuffleVectorExpr(), and VisitTypeTraitExpr().
Error ASTNodeImporter::ImportDeclarationNameLoc | ( | const DeclarationNameInfo & | From, |
DeclarationNameInfo & | To | ||
) |
Definition at line 2248 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(), VisitFunctionDecl(), VisitUnresolvedLookupExpr(), VisitUnresolvedMemberExpr(), VisitUnresolvedUsingValueDecl(), and VisitUsingDecl().
Error ASTNodeImporter::ImportDeclContext | ( | Decl * | From, |
DeclContext *& | ToDC, | ||
DeclContext *& | ToLexicalDC | ||
) |
Definition at line 2435 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 2289 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::DeclContext::containsDecl(), D, clang::DeclContext::decls(), clang::ASTImporter::GetAlreadyImportedOrNull(), clang::ChildErrorHandlingStrategy::handleChildImportResult(), clang::ASTImporter::ImportContext(), ImportFieldDeclDefinition(), clang::ASTImporter::isMinimalImport(), and clang::DeclContext::removeDecl().
Referenced by ImportDeclParts(), clang::ASTImporter::ImportDefinition(), ImportDefinition(), VisitClassTemplateSpecializationDecl(), VisitConceptDecl(), VisitEmptyDecl(), VisitFriendDecl(), VisitImplicitConceptSpecializationDecl(), VisitLifetimeExtendedTemporaryDecl(), VisitLinkageSpecDecl(), VisitNamespaceDecl(), VisitObjCCategoryDecl(), VisitObjCCategoryImplDecl(), VisitObjCImplementationDecl(), VisitObjCPropertyImplDecl(), VisitRequiresExprBodyDecl(), VisitTypedefNameDecl(), and VisitVarTemplateSpecializationDecl().
Error ASTNodeImporter::ImportDeclParts | ( | NamedDecl * | D, |
DeclarationName & | Name, | ||
NamedDecl *& | ToD, | ||
SourceLocation & | Loc | ||
) |
Definition at line 2196 of file ASTImporter.cpp.
References D, clang::ASTImporter::GetAlreadyImportedOrNull(), clang::Decl::getLocation(), ImportDefinitionIfNeeded(), and Loc.
Referenced by VisitBindingDecl(), VisitClassTemplateDecl(), VisitEnumConstantDecl(), VisitEnumDecl(), VisitFieldDecl(), VisitFunctionDecl(), VisitFunctionTemplateDecl(), VisitIndirectFieldDecl(), VisitLabelDecl(), VisitNamespaceAliasDecl(), VisitNamespaceDecl(), VisitObjCCategoryDecl(), VisitObjCInterfaceDecl(), VisitObjCIvarDecl(), VisitObjCMethodDecl(), VisitObjCPropertyDecl(), VisitObjCProtocolDecl(), VisitObjCTypeParamDecl(), VisitRecordDecl(), VisitTypeAliasTemplateDecl(), VisitTypedefNameDecl(), VisitUnresolvedUsingTypenameDecl(), VisitUnresolvedUsingValueDecl(), VisitUsingDecl(), VisitUsingDirectiveDecl(), VisitUsingEnumDecl(), VisitUsingPackDecl(), VisitUsingShadowDecl(), VisitVarDecl(), and VisitVarTemplateDecl().
Error ASTNodeImporter::ImportDeclParts | ( | NamedDecl * | D, |
DeclContext *& | DC, | ||
DeclContext *& | LexicalDC, | ||
DeclarationName & | Name, | ||
NamedDecl *& | ToD, | ||
SourceLocation & | Loc | ||
) |
Definition at line 2145 of file ASTImporter.cpp.
References D, clang::ASTImporter::FromDiag(), clang::ASTImporter::GetAlreadyImportedOrNull(), clang::Decl::getDeclContext(), clang::Decl::getDeclKindName(), clang::Decl::getLocation(), clang::Type::getPointeeOrArrayElementType(), clang::FunctionDecl::hasBody(), ImportDeclContext(), ImportDefinitionIfNeeded(), clang::Type::isArrayType(), clang::Type::isPointerType(), Loc, clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::P, clang::FunctionDecl::parameters(), clang::T, and clang::ASTImportError::UnsupportedConstruct.
Error ASTNodeImporter::ImportDefaultArgOfParmVarDecl | ( | const ParmVarDecl * | FromParam, |
ParmVarDecl * | ToParam | ||
) |
Definition at line 4862 of file ASTImporter.cpp.
References clang::ParmVarDecl::getDefaultArg(), clang::ParmVarDecl::getExplicitObjectParamThisLoc(), clang::ParmVarDecl::getUninstantiatedDefaultArg(), clang::ParmVarDecl::hasDefaultArg(), clang::ParmVarDecl::hasInheritedDefaultArg(), clang::ParmVarDecl::hasUninstantiatedDefaultArg(), clang::ParmVarDecl::hasUnparsedDefaultArg(), clang::ParmVarDecl::isKNRPromoted(), clang::ParmVarDecl::setDefaultArg(), clang::ParmVarDecl::setExplicitObjectParameterLoc(), 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 2629 of file ASTImporter.cpp.
References clang::EnumDecl::completeDefinition(), clang::ASTContext::getCanonicalTagType(), clang::EnumDecl::getDefinition(), clang::ASTImporter::getFromContext(), clang::EnumDecl::getNumNegativeBits(), clang::EnumDecl::getNumPositiveBits(), clang::EnumDecl::getPromotionType(), IDK_Everything, ImportDeclContext(), clang::TagDecl::isBeingDefined(), Kind, setTypedefNameForAnonDecl(), shouldForceImportDeclContext(), and clang::TagDecl::startDefinition().
Error ASTNodeImporter::ImportDefinition | ( | ObjCInterfaceDecl * | From, |
ObjCInterfaceDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 5639 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 5199 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 2480 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::ASTImporter::isMinimalImport(), Kind, clang::Result, clang::TagDecl::setCompleteDefinition(), setTypedefNameForAnonDecl(), shouldForceImportDeclContext(), and clang::TagDecl::startDefinition().
Referenced by clang::ASTImporter::ImportDefinition(), ImportDefinitionIfNeeded(), ImportFieldDeclDefinition(), VisitClassTemplateSpecializationDecl(), VisitEnumDecl(), VisitObjCInterfaceDecl(), VisitObjCProtocolDecl(), and VisitRecordDecl().
Definition at line 2215 of file ASTImporter.cpp.
References ImportDefinition().
Referenced by ImportDeclParts(), and ImportDefinition().
Expected< concepts::Requirement * > clang::ASTNodeImporter::ImportExprRequirement | ( | concepts::ExprRequirement * | From | ) |
Definition at line 1126 of file ASTImporter.cpp.
References clang::concepts::ExprRequirement::getExpr(), clang::concepts::ExprRequirement::getExprSubstitutionDiagnostic(), clang::concepts::Requirement::getKind(), clang::concepts::ExprRequirement::getNoexceptLoc(), clang::concepts::ExprRequirement::getReturnTypeRequirement(), clang::concepts::ExprRequirement::getReturnTypeRequirementSubstitutedConstraintExpr(), clang::concepts::ExprRequirement::getSatisfactionStatus(), clang::ASTImporter::getToContext(), and clang::concepts::ExprRequirement::ReturnTypeRequirement::isDependent().
Referenced by import().
Definition at line 2402 of file ASTImporter.cpp.
References clang::Type::getAs(), clang::Type::getAsRecordDecl(), clang::Type::getBaseElementTypeUnsafe(), clang::RecordType::getOriginalDecl(), clang::ValueDecl::getType(), ImportDefinition(), clang::Type::isArrayType(), and clang::TagDecl::isCompleteDefinition().
Referenced by ImportDeclContext().
Error ASTNodeImporter::ImportFunctionDeclBody | ( | FunctionDecl * | FromFD, |
FunctionDecl * | ToFD | ||
) |
Definition at line 3672 of file ASTImporter.cpp.
References clang::FunctionDecl::getBody(), and clang::FunctionDecl::setBody().
Referenced by VisitFunctionDecl().
Expected< ASTNodeImporter::FunctionTemplateAndArgsTy > clang::ASTNodeImporter::ImportFunctionTemplateWithTemplateArgsFromSpecialization | ( | FunctionDecl * | FromFD | ) |
Definition at line 791 of file ASTImporter.cpp.
References clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), ImportTemplateArguments(), clang::Result, and clang::FunctionDecl::TK_FunctionTemplateSpecialization.
Referenced by FindFunctionTemplateSpecialization(), and ImportTemplateInformation().
Error ASTNodeImporter::ImportImplicitMethods | ( | const CXXRecordDecl * | From, |
CXXRecordDecl * | To | ||
) |
Definition at line 2454 of file ASTImporter.cpp.
References clang::CXXRecordDecl::getDefinition(), clang::TagDecl::isCompleteDefinition(), and clang::CXXRecordDecl::methods().
Referenced by VisitRecordDecl().
Expected< InheritedConstructor > ASTNodeImporter::ImportInheritedConstructor | ( | const InheritedConstructor & | From | ) |
Definition at line 4891 of file ASTImporter.cpp.
References clang::InheritedConstructor::getConstructor(), clang::InheritedConstructor::getShadowDecl(), and importChecked().
Definition at line 2605 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 VisitVarDecl(), and VisitVarTemplateSpecializationDecl().
Expected< concepts::Requirement * > clang::ASTNodeImporter::ImportNestedRequirement | ( | concepts::NestedRequirement * | From | ) |
Definition at line 1186 of file ASTImporter.cpp.
References clang::concepts::NestedRequirement::getConstraintExpr(), clang::concepts::NestedRequirement::getConstraintSatisfaction(), clang::concepts::NestedRequirement::getInvalidConstraintEntity(), clang::ASTImporter::getToContext(), clang::concepts::NestedRequirement::hasInvalidConstraint(), ImportASTStringRef(), ImportConstraintSatisfaction(), and clang::ASTConstraintSatisfaction::Rebuild().
Referenced by import().
Expected< ObjCTypeParamList * > ASTNodeImporter::ImportObjCTypeParamList | ( | ObjCTypeParamList * | list | ) |
Definition at line 5740 of file ASTImporter.cpp.
References clang::ObjCTypeParamList::create(), clang::ObjCTypeParamList::getLAngleLoc(), clang::ObjCTypeParamList::getRAngleLoc(), and clang::ASTImporter::getToContext().
Referenced by VisitObjCCategoryDecl(), and VisitObjCInterfaceDecl().
Error ASTNodeImporter::ImportOverriddenMethods | ( | CXXMethodDecl * | ToMethod, |
CXXMethodDecl * | FromMethod | ||
) |
Definition at line 9287 of file ASTImporter.cpp.
References clang::CXXMethodDecl::addOverriddenMethod(), clang::CXXMethodDecl::getCanonicalDecl(), and clang::CXXMethodDecl::overridden_methods().
Referenced by VisitFunctionDecl().
Expected< TemplateArgument > ASTNodeImporter::ImportTemplateArgument | ( | const TemplateArgument & | From | ) |
Definition at line 2678 of file ASTImporter.cpp.
Referenced by clang::ASTImporter::Import().
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const ASTTemplateArgumentListInfo & | From, |
TemplateArgumentListInfo & | Result | ||
) |
Definition at line 782 of file ASTImporter.cpp.
References clang::Result.
Error ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const InContainerTy & | Container, |
TemplateArgumentListInfo & | ToTAInfo | ||
) |
Definition at line 2683 of file ASTImporter.cpp.
References clang::TemplateArgumentListInfo::addArgument().
Referenced by import(), ImportTemplateArgumentListInfo(), ImportTemplateInformation(), VisitClassTemplateSpecializationDecl(), VisitCXXDependentScopeMemberExpr(), VisitDeclRefExpr(), VisitDependentScopeDeclRefExpr(), VisitMemberExpr(), VisitUnresolvedLookupExpr(), VisitUnresolvedMemberExpr(), and VisitVarTemplateSpecializationDecl().
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const TemplateArgumentListInfo & | From, |
TemplateArgumentListInfo & | Result | ||
) |
Definition at line 775 of file ASTImporter.cpp.
References clang::TemplateArgumentListInfo::arguments(), clang::TemplateArgumentListInfo::getLAngleLoc(), clang::TemplateArgumentListInfo::getRAngleLoc(), ImportTemplateArgumentListInfo(), and clang::Result.
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | SourceLocation | FromLAngleLoc, |
SourceLocation | FromRAngleLoc, | ||
const InContainerTy & | Container, | ||
TemplateArgumentListInfo & | Result | ||
) |
Definition at line 757 of file ASTImporter.cpp.
References ImportTemplateArgumentListInfo(), and clang::Result.
Error ASTNodeImporter::ImportTemplateArguments | ( | ArrayRef< TemplateArgument > | FromArgs, |
SmallVectorImpl< TemplateArgument > & | ToArgs | ||
) |
Definition at line 2663 of file ASTImporter.cpp.
Referenced by import(), ImportFunctionTemplateWithTemplateArgsFromSpecialization(), VisitClassTemplateSpecializationDecl(), VisitImplicitConceptSpecializationDecl(), VisitSizeOfPackExpr(), and VisitVarTemplateSpecializationDecl().
Error ASTNodeImporter::ImportTemplateInformation | ( | FunctionDecl * | FromFD, |
FunctionDecl * | ToFD | ||
) |
Definition at line 3569 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::TemplateArgumentList::CreateCopy(), clang::FunctionDecl::getDependentSpecializationInfo(), clang::FunctionDecl::getInstantiatedFromDecl(), 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::FunctionDecl::setInstantiatedFromDecl(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::FunctionDecl::TK_DependentFunctionTemplateSpecialization, clang::FunctionDecl::TK_DependentNonTemplate, clang::FunctionDecl::TK_FunctionTemplate, clang::FunctionDecl::TK_FunctionTemplateSpecialization, clang::FunctionDecl::TK_MemberSpecialization, and clang::FunctionDecl::TK_NonTemplate.
Referenced by VisitFunctionDecl().
Error ASTNodeImporter::ImportTemplateParameterLists | ( | const DeclTy * | FromD, |
DeclTy * | ToD | ||
) |
Definition at line 3553 of file ASTImporter.cpp.
References clang::Num.
Referenced by ImportTemplateInformation(), and VisitClassTemplateSpecializationDecl().
Expected< concepts::Requirement * > clang::ASTNodeImporter::ImportTypeRequirement | ( | concepts::TypeRequirement * | From | ) |
Definition at line 1109 of file ASTImporter.cpp.
References clang::concepts::TypeRequirement::getSubstitutionDiagnostic(), clang::ASTImporter::getToContext(), clang::concepts::TypeRequirement::getType(), and clang::concepts::TypeRequirement::isSubstitutionFailure().
Referenced by import().
ExpectedDecl ASTNodeImporter::ImportUsingShadowDecls | ( | BaseUsingDecl * | D, |
BaseUsingDecl * | ToSI | ||
) |
Definition at line 5334 of file ASTImporter.cpp.
References clang::BaseUsingDecl::addShadowDecl(), and D.
Referenced by VisitUsingDecl(), and VisitUsingEnumDecl().
bool ASTNodeImporter::IsStructuralMatch | ( | Decl * | From, |
Decl * | To, | ||
bool | Complain = true , |
||
bool | IgnoreTemplateParmDepth = false |
||
) |
Definition at line 2700 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTContext::getLangOpts(), clang::ASTImporter::getNonEquivalentDecls(), clang::ASTImporter::GetOriginalDecl(), getStructuralEquivalenceKind(), and clang::ASTImporter::getToContext().
Referenced by VisitClassTemplateDecl(), VisitClassTemplateSpecializationDecl(), VisitEnumConstantDecl(), VisitEnumDecl(), VisitFunctionDecl(), VisitFunctionTemplateDecl(), VisitRecordDecl(), VisitTypeAliasTemplateDecl(), VisitVarTemplateDecl(), and VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 446 of file ASTImporter.cpp.
References IDK_Default, IDK_Everything, and clang::ASTImporter::isMinimalImport().
Referenced by ImportDefinition().
ExpectedDecl ASTNodeImporter::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |
Definition at line 2788 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::Decl::getDeclContext(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTImporter::ImportContext(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitAddrLabelExpr | ( | AddrLabelExpr * | E | ) |
Definition at line 7924 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitArrayInitIndexExpr | ( | ArrayInitIndexExpr * | E | ) |
Definition at line 9072 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitArrayInitLoopExpr | ( | ArrayInitLoopExpr * | E | ) |
Definition at line 9060 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitArraySubscriptExpr | ( | ArraySubscriptExpr * | E | ) |
Definition at line 8142 of file ASTImporter.cpp.
References E, clang::Expr::getObjectKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitArrayTypeTraitExpr | ( | ArrayTypeTraitExpr * | E | ) |
Definition at line 8100 of file ASTImporter.cpp.
References E, clang::Stmt::getBeginLoc(), clang::Stmt::getEndLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitAtomicExpr | ( | AtomicExpr * | E | ) |
Definition at line 7904 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), ImportArrayChecked(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitAttributedStmt | ( | AttributedStmt * | S | ) |
Definition at line 7191 of file ASTImporter.cpp.
References clang::AttributedStmt::Create(), clang::Sema::getAttrLoc(), clang::ASTImporter::getToContext(), and ImportContainerChecked().
ExpectedStmt ASTNodeImporter::VisitBinaryConditionalOperator | ( | BinaryConditionalOperator * | E | ) |
Definition at line 8070 of file ASTImporter.cpp.
References E, clang::Expr::getObjectKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitBinaryOperator | ( | BinaryOperator * | E | ) |
Definition at line 8038 of file ASTImporter.cpp.
References clang::BinaryOperator::Create(), E, clang::Expr::getObjectKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedDecl ASTNodeImporter::VisitBindingDecl | ( | BindingDecl * | D | ) |
Definition at line 2759 of file ASTImporter.cpp.
References D, clang::ASTImporter::getToContext(), importChecked(), ImportDeclParts(), Loc, clang::BindingDecl::setBinding(), and clang::BindingDecl::setDecomposedDecl().
ExpectedStmt ASTNodeImporter::VisitBreakStmt | ( | BreakStmt * | S | ) |
Definition at line 7360 of file ASTImporter.cpp.
References ImportLoopControlStmt().
ExpectedDecl ASTNodeImporter::VisitBuiltinTemplateDecl | ( | BuiltinTemplateDecl * | D | ) |
Definition at line 5625 of file ASTImporter.cpp.
References D, and clang::ASTImporter::MapImported().
ExpectedStmt ASTNodeImporter::VisitCallExpr | ( | CallExpr * | E | ) |
Definition at line 8932 of file ASTImporter.cpp.
References clang::CallExpr::Create(), clang::CXXOperatorCallExpr::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), importChecked(), and ImportContainerChecked().
ExpectedStmt ASTNodeImporter::VisitCaseStmt | ( | CaseStmt * | S | ) |
Definition at line 7146 of file ASTImporter.cpp.
References clang::CaseStmt::Create(), clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCharacterLiteral | ( | CharacterLiteral * | E | ) |
Definition at line 7861 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitChooseExpr | ( | ChooseExpr * | E | ) |
Definition at line 7580 of file ASTImporter.cpp.
References E, clang::Expr::getObjectKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |
Definition at line 6232 of file ASTImporter.cpp.
References D, clang::Decl::FOK_None, clang::Decl::getAccess(), clang::Decl::getFriendObjectKind(), clang::CXXRecordDecl::getMostRecentDecl(), clang::ClassTemplateDecl::getMostRecentDecl(), clang::CXXRecordDecl::getPreviousDecl(), clang::ClassTemplateDecl::getTemplatedDecl(), getTemplateDefinition(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_TagFriend, ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isInIdentifierNamespace(), IsStructuralMatch(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::CXXRecordDecl::setDescribedClassTemplate(), clang::Decl::setLexicalDeclContext(), and clang::Redeclarable< decl_type >::setPreviousDecl().
ExpectedDecl ASTNodeImporter::VisitClassTemplateSpecializationDecl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 6371 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ClassTemplateDecl::AddSpecialization(), clang::TemplateArgumentList::CreateCopy(), D, clang::ClassTemplateDecl::findPartialSpecialization(), clang::ClassTemplateDecl::findSpecialization(), clang::Decl::getBeginLoc(), clang::CXXRecordDecl::getDefinition(), clang::ClassTemplatePartialSpecializationDecl::getInstantiatedFromMember(), clang::Decl::getLocation(), clang::ClassTemplatePartialSpecializationDecl::getTemplateParameters(), clang::ASTImporter::getToContext(), ImportDeclContext(), ImportDefinition(), ImportTemplateArgumentListInfo(), ImportTemplateArguments(), ImportTemplateParameterLists(), clang::ClassTemplateSpecializationDecl::isExplicitInstantiationOrSpecialization(), IsStructuralMatch(), clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::P, clang::TagDecl::setBraceRange(), clang::ClassTemplateSpecializationDecl::setExternKeywordLoc(), clang::ClassTemplateSpecializationDecl::setInstantiationOf(), clang::Decl::setLexicalDeclContext(), clang::ClassTemplateSpecializationDecl::setPointOfInstantiation(), clang::TagDecl::setQualifierInfo(), clang::ClassTemplateSpecializationDecl::setSpecializationKind(), clang::ClassTemplateSpecializationDecl::setTemplateArgsAsWritten(), clang::ClassTemplateSpecializationDecl::setTemplateKeywordLoc(), clang::CXXRecordDecl::setTemplateSpecializationKind(), and clang::TemplateArgumentList::size().
ExpectedStmt ASTNodeImporter::VisitCompoundAssignOperator | ( | CompoundAssignOperator * | E | ) |
Definition at line 8157 of file ASTImporter.cpp.
References clang::CompoundAssignOperator::Create(), E, clang::Expr::getObjectKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCompoundLiteralExpr | ( | CompoundLiteralExpr * | E | ) |
Definition at line 7889 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCompoundStmt | ( | CompoundStmt * | S | ) |
Definition at line 7126 of file ASTImporter.cpp.
References clang::CompoundStmt::Create(), clang::ASTImporter::getToContext(), and ImportContainerChecked().
ExpectedDecl ASTNodeImporter::VisitConceptDecl | ( | ConceptDecl * | D | ) |
Definition at line 6958 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitConceptSpecializationExpr | ( | ConceptSpecializationExpr * | E | ) |
Definition at line 9268 of file ASTImporter.cpp.
References clang::ConceptSpecializationExpr::Create(), E, clang::ASTImporter::getToContext(), importChecked(), ImportConstraintSatisfaction(), and clang::Expr::isValueDependent().
ExpectedStmt ASTNodeImporter::VisitConditionalOperator | ( | ConditionalOperator * | E | ) |
Definition at line 8053 of file ASTImporter.cpp.
References E, clang::Expr::getObjectKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitConstantExpr | ( | ConstantExpr * | E | ) |
Definition at line 7936 of file ASTImporter.cpp.
References clang::ConstantExpr::Create(), E, clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitContinueStmt | ( | ContinueStmt * | S | ) |
Definition at line 7356 of file ASTImporter.cpp.
References ImportLoopControlStmt().
ExpectedStmt ASTNodeImporter::VisitConvertVectorExpr | ( | ConvertVectorExpr * | E | ) |
Definition at line 7604 of file ASTImporter.cpp.
References clang::ConvertVectorExpr::Create(), E, clang::Expr::getObjectKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXBindTemporaryExpr | ( | CXXBindTemporaryExpr * | E | ) |
Definition at line 8426 of file ASTImporter.cpp.
References clang::CXXTemporary::Create(), clang::CXXBindTemporaryExpr::Create(), E, and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitCXXBoolLiteralExpr | ( | CXXBoolLiteralExpr * | E | ) |
Definition at line 8653 of file ASTImporter.cpp.
References clang::CXXBoolLiteralExpr::Create(), E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXCatchStmt | ( | CXXCatchStmt * | S | ) |
Definition at line 7377 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXConstructExpr | ( | CXXConstructExpr * | E | ) |
Definition at line 8586 of file ASTImporter.cpp.
References clang::CXXConstructExpr::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), ImportContainerChecked(), and clang::CXXConstructExpr::setIsImmediateEscalating().
ExpectedDecl ASTNodeImporter::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 4306 of file ASTImporter.cpp.
References D, and VisitCXXMethodDecl().
ExpectedDecl ASTNodeImporter::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 4314 of file ASTImporter.cpp.
References D, and VisitCXXMethodDecl().
ExpectedDecl ASTNodeImporter::VisitCXXDeductionGuideDecl | ( | CXXDeductionGuideDecl * | D | ) |
Definition at line 4319 of file ASTImporter.cpp.
References D, and VisitFunctionDecl().
ExpectedStmt ASTNodeImporter::VisitCXXDefaultArgExpr | ( | CXXDefaultArgExpr * | E | ) |
Definition at line 8372 of file ASTImporter.cpp.
References clang::CXXDefaultArgExpr::Create(), E, clang::ParmVarDecl::getDefaultArg(), clang::ASTImporter::getImportedFromDecl(), clang::ASTImporter::getToContext(), clang::ASTImporter::ImportContext(), and ImportDefaultArgOfParmVarDecl().
ExpectedStmt ASTNodeImporter::VisitCXXDefaultInitExpr | ( | CXXDefaultInitExpr * | E | ) |
Definition at line 9079 of file ASTImporter.cpp.
References clang::CXXDefaultInitExpr::Create(), E, clang::Stmt::getBeginLoc(), clang::FieldDecl::getInClassInitializer(), clang::ASTImporter::getToContext(), clang::FieldDecl::hasInClassInitializer(), clang::ASTImporter::ImportContext(), and clang::FieldDecl::setInClassInitializer().
ExpectedStmt ASTNodeImporter::VisitCXXDeleteExpr | ( | CXXDeleteExpr * | E | ) |
Definition at line 8571 of file ASTImporter.cpp.
References E, clang::Stmt::getBeginLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXDependentScopeMemberExpr | ( | CXXDependentScopeMemberExpr * | E | ) |
Definition at line 8732 of file ASTImporter.cpp.
References clang::CXXDependentScopeMemberExpr::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), ImportDeclarationNameLoc(), and ImportTemplateArgumentListInfo().
ExpectedDecl ASTNodeImporter::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 4310 of file ASTImporter.cpp.
References D, and VisitCXXMethodDecl().
ExpectedStmt ASTNodeImporter::VisitCXXFoldExpr | ( | CXXFoldExpr * | E | ) |
Definition at line 9224 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXForRangeStmt | ( | CXXForRangeStmt * | S | ) |
Definition at line 7412 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXInheritedCtorInitExpr | ( | CXXInheritedCtorInitExpr * | E | ) |
Definition at line 9046 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXMemberCallExpr | ( | CXXMemberCallExpr * | E | ) |
Definition at line 8623 of file ASTImporter.cpp.
References clang::CXXMemberCallExpr::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), importChecked(), and ImportContainerChecked().
ExpectedDecl ASTNodeImporter::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 4302 of file ASTImporter.cpp.
References D, and VisitFunctionDecl().
Referenced by VisitCXXConstructorDecl(), VisitCXXConversionDecl(), and VisitCXXDestructorDecl().
ExpectedStmt ASTNodeImporter::VisitCXXNamedCastExpr | ( | CXXNamedCastExpr * | E | ) |
Definition at line 9119 of file ASTImporter.cpp.
References clang::CXXStaticCastExpr::Create(), clang::CXXDynamicCastExpr::Create(), clang::CXXReinterpretCastExpr::Create(), clang::CXXConstCastExpr::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), ImportCastPath(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXNewExpr | ( | CXXNewExpr * | E | ) |
Definition at line 8543 of file ASTImporter.cpp.
References clang::CXXNewExpr::Create(), E, clang::Stmt::getSourceRange(), clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), and ImportContainerChecked().
ExpectedStmt ASTNodeImporter::VisitCXXNoexceptExpr | ( | CXXNoexceptExpr * | E | ) |
Definition at line 8341 of file ASTImporter.cpp.
References clang::CT_Can, clang::CT_Cannot, clang::CT_Dependent, E, clang::Stmt::getBeginLoc(), clang::Stmt::getEndLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), and clang::Expr::isValueDependent().
ExpectedStmt ASTNodeImporter::VisitCXXNullPtrLiteralExpr | ( | CXXNullPtrLiteralExpr * | E | ) |
Definition at line 7793 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXPseudoDestructorExpr | ( | CXXPseudoDestructorExpr * | E | ) |
Definition at line 8702 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXRewrittenBinaryOperator | ( | CXXRewrittenBinaryOperator * | E | ) |
Definition at line 8089 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXScalarValueInitExpr | ( | CXXScalarValueInitExpr * | E | ) |
Definition at line 8413 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXStdInitializerListExpr | ( | CXXStdInitializerListExpr * | E | ) |
Definition at line 9032 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXTemporaryObjectExpr | ( | CXXTemporaryObjectExpr * | E | ) |
Definition at line 8442 of file ASTImporter.cpp.
References clang::CXXTemporaryObjectExpr::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), and ImportContainerChecked().
ExpectedStmt ASTNodeImporter::VisitCXXThisExpr | ( | CXXThisExpr * | E | ) |
Definition at line 8640 of file ASTImporter.cpp.
References clang::CXXThisExpr::Create(), E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXThrowExpr | ( | CXXThrowExpr * | E | ) |
Definition at line 8360 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitCXXTryStmt | ( | CXXTryStmt * | S | ) |
Definition at line 7390 of file ASTImporter.cpp.
References clang::CXXTryStmt::Create(), and clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitCXXTypeidExpr | ( | CXXTypeidExpr * | E | ) |
Definition at line 9199 of file ASTImporter.cpp.
References E, clang::Stmt::getSourceRange(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXUnresolvedConstructExpr | ( | CXXUnresolvedConstructExpr * | E | ) |
Definition at line 8808 of file ASTImporter.cpp.
References clang::CXXUnresolvedConstructExpr::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), ImportArrayChecked(), and importChecked().
ExpectedDecl ASTNodeImporter::VisitDecl | ( | Decl * | D | ) |
Definition at line 2718 of file ASTImporter.cpp.
References D, clang::ASTImporter::FromDiag(), clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ASTImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitDeclRefExpr | ( | DeclRefExpr * | E | ) |
Definition at line 7717 of file ASTImporter.cpp.
References clang::DeclRefExpr::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), importChecked(), and ImportTemplateArgumentListInfo().
ExpectedStmt ASTNodeImporter::VisitDeclStmt | ( | DeclStmt * | S | ) |
Definition at line 7107 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitDefaultStmt | ( | DefaultStmt * | S | ) |
Definition at line 7165 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitDependentScopeDeclRefExpr | ( | DependentScopeDeclRefExpr * | E | ) |
Definition at line 8779 of file ASTImporter.cpp.
References clang::DependentScopeDeclRefExpr::Create(), E, clang::ASTImporter::getToContext(), importChecked(), ImportDeclarationNameLoc(), and ImportTemplateArgumentListInfo().
ExpectedStmt ASTNodeImporter::VisitDesignatedInitExpr | ( | DesignatedInitExpr * | E | ) |
Definition at line 7764 of file ASTImporter.cpp.
References clang::DesignatedInitExpr::Create(), E, clang::ASTImporter::getToContext(), and ImportContainerChecked().
ExpectedStmt ASTNodeImporter::VisitDoStmt | ( | DoStmt * | S | ) |
Definition at line 7279 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedDecl ASTNodeImporter::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 2730 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitEnumConstantDecl | ( | EnumConstantDecl * | D | ) |
Definition at line 3494 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), clang::Decl::IDNS_Ordinary, ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isInIdentifierNamespace(), IsStructuralMatch(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitEnumDecl | ( | EnumDecl * | D | ) |
Definition at line 3184 of file ASTImporter.cpp.
References D, clang::Decl::getAccess(), clang::Decl::getBeginLoc(), clang::EnumDecl::getDefinition(), clang::ASTContext::getLangOpts(), clang::EnumDecl::getMemberSpecializationInfo(), clang::EnumDecl::getMostRecentDecl(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_Tag, importChecked(), ImportDeclParts(), ImportDefinition(), clang::DeclarationName::isEmpty(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isInIdentifierNamespace(), IsStructuralMatch(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::TagDecl::setBraceRange(), clang::EnumDecl::setIntegerType(), clang::Decl::setLexicalDeclContext(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::TagDecl::setQualifierInfo(), and clang::Typedef.
ExpectedStmt ASTNodeImporter::VisitExplicitCastExpr | ( | ExplicitCastExpr * | E | ) |
Definition at line 8206 of file ASTImporter.cpp.
References clang::CStyleCastExpr::Create(), clang::CXXFunctionalCastExpr::Create(), E, clang::Stmt::getStmtClass(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), ImportCastPath(), importChecked(), and clang::ASTImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitExpr | ( | Expr * | E | ) |
Definition at line 7542 of file ASTImporter.cpp.
References E, clang::ASTImporter::FromDiag(), clang::Stmt::getBeginLoc(), clang::Stmt::getStmtClassName(), and clang::ASTImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitExpressionTraitExpr | ( | ExpressionTraitExpr * | E | ) |
Definition at line 8116 of file ASTImporter.cpp.
References E, clang::Stmt::getBeginLoc(), clang::Stmt::getEndLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitExprWithCleanups | ( | ExprWithCleanups * | E | ) |
Definition at line 8609 of file ASTImporter.cpp.
References clang::ExprWithCleanups::Create(), E, clang::ASTImporter::getToContext(), and ImportContainerChecked().
ExpectedDecl ASTNodeImporter::VisitFieldDecl | ( | FieldDecl * | D | ) |
Definition at line 4323 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::ASTImporter::getFieldIndex(), clang::FieldDecl::getInClassInitializer(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclParts(), clang::ASTImporter::importInto(), clang::Decl::isImplicit(), clang::ASTImporter::IsStructurallyEquivalent(), Loc, clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::Decl::setAccess(), clang::FieldDecl::setCapturedVLAType(), clang::Decl::setImplicit(), clang::FieldDecl::setInClassInitializer(), clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
ExpectedStmt ASTNodeImporter::VisitFixedPointLiteral | ( | FixedPointLiteral * | E | ) |
Definition at line 7847 of file ASTImporter.cpp.
References E, clang::ASTContext::getFixedPointScale(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitFloatingLiteral | ( | FloatingLiteral * | E | ) |
Definition at line 7820 of file ASTImporter.cpp.
References clang::FloatingLiteral::Create(), E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitForStmt | ( | ForStmt * | S | ) |
Definition at line 7294 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedDecl ASTNodeImporter::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 4537 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::FOK_None, clang::Decl::getAccess(), getFriendCountAndPosition(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::Decl::IDNS_NonMemberOperator, ImportDeclContext(), FriendCountAndPosition::IndexOfDecl, IsEquivalentFriend(), clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::Decl::setLexicalDeclContext(), clang::Decl::setObjectOfFriendDecl(), and FriendCountAndPosition::TotalCount.
ExpectedDecl ASTNodeImporter::VisitFunctionDecl | ( | FunctionDecl * | D | ) |
Definition at line 3909 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::AssociatedConstraint::ConstraintExpr, clang::FunctionDecl::DefaultedOrDeletedFunctionInfo::Create(), D, clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, FindFunctionTemplateSpecialization(), clang::Decl::getAccess(), clang::Type::getAs(), clang::Decl::getBeginLoc(), clang::getCanonicalForwardRedeclChain(), clang::Decl::getDeclContext(), clang::FunctionDecl::getDescribedFunctionTemplate(), clang::Decl::getEndLoc(), clang::ASTImporter::getFromContext(), clang::ASTContext::getFunctionType(), clang::ASTContext::getLangOpts(), clang::Decl::getLexicalDeclContext(), clang::Redeclarable< decl_type >::getMostRecentDecl(), clang::CXXDeductionGuideDecl::getSourceDeductionGuideKind(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTContext::getTrivialTypeSourceInfo(), clang::ASTImporter::HandleNameConflict(), hasReturnTypeDeclaredInside(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_OrdinaryFriend, importChecked(), ImportContainerChecked(), ImportDeclarationNameLoc(), ImportDeclParts(), ImportFunctionDeclBody(), ImportOverriddenMethods(), ImportTemplateInformation(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isImplicit(), clang::Decl::isInIdentifierNamespace(), IsStructuralMatch(), Loc, LT, clang::ASTImporter::MapImported(), clang::Method, clang::FunctionProtoType::ExceptionSpecInfo::NoexceptExpr, clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::P, clang::Decl::setAccess(), clang::FunctionDecl::setDefaulted(), clang::FunctionDecl::setDefaultedOrDeletedInfo(), clang::FunctionDecl::setDefaultLoc(), clang::FunctionDecl::setDeletedAsWritten(), clang::FunctionDecl::setExplicitlyDefaulted(), clang::FunctionDecl::setFriendConstraintRefersToEnclosingTemplate(), clang::FunctionDecl::setIsDestroyingOperatorDelete(), clang::FunctionDecl::setIsPureVirtual(), clang::FunctionDecl::setIsTypeAwareOperatorNewOrDelete(), clang::Decl::setLexicalDeclContext(), clang::CXXDestructorDecl::setOperatorDelete(), clang::Redeclarable< decl_type >::setPreviousDecl(), clang::DeclaratorDecl::setQualifierInfo(), clang::FunctionDecl::setRangeEnd(), clang::FunctionDecl::setTrivial(), clang::ValueDecl::setType(), clang::DeclaratorDecl::setTypeSourceInfo(), clang::FunctionDecl::setVirtualAsWritten(), clang::FunctionProtoType::ExceptionSpecInfo::SourceDecl, clang::FunctionProtoType::ExceptionSpecInfo::SourceTemplate, clang::T, clang::FunctionDecl::TK_FunctionTemplateSpecialization, clang::ASTImporter::ToDiag(), clang::ASTImporterLookupTable::update(), and clang::ASTContext::VoidTy.
Referenced by VisitCXXDeductionGuideDecl(), and VisitCXXMethodDecl().
ExpectedDecl ASTNodeImporter::VisitFunctionTemplateDecl | ( | FunctionTemplateDecl * | D | ) |
Definition at line 6847 of file ASTImporter.cpp.
References D, clang::Decl::getAccess(), clang::Decl::getDeclContext(), clang::Decl::getDescribedTemplate(), clang::FunctionTemplateDecl::getMostRecentDecl(), clang::Redeclarable< decl_type >::getMostRecentDecl(), clang::TemplateParameterList::getParam(), clang::Redeclarable< decl_type >::getPreviousDecl(), clang::FunctionTemplateDecl::getTemplatedDecl(), getTemplateDefinition(), clang::ASTImporter::getToContext(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_OrdinaryFriend, ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isInIdentifierNamespace(), IsStructuralMatch(), Loc, LT, clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::FunctionDecl::setDescribedFunctionTemplate(), clang::Redeclarable< decl_type >::setPreviousDecl(), clang::TemplateParameterList::size(), and clang::ASTImporterLookupTable::updateForced().
ExpectedStmt ASTNodeImporter::VisitGCCAsmStmt | ( | GCCAsmStmt * | S | ) |
Definition at line 7025 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportArrayChecked(), ImportContainerChecked(), clang::ASTImporter::returnWithErrorInTest(), and clang::ASTImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitGenericSelectionExpr | ( | GenericSelectionExpr * | E | ) |
Definition at line 7651 of file ASTImporter.cpp.
References clang::Expr::containsUnexpandedParameterPack(), clang::GenericSelectionExpr::Create(), E, clang::ASTImporter::getToContext(), importChecked(), and ImportContainerChecked().
ExpectedStmt ASTNodeImporter::VisitGNUNullExpr | ( | GNUNullExpr * | E | ) |
Definition at line 7638 of file ASTImporter.cpp.
References E, clang::Stmt::getBeginLoc(), clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitGotoStmt | ( | GotoStmt * | S | ) |
Definition at line 7314 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitIfStmt | ( | IfStmt * | S | ) |
Definition at line 7207 of file ASTImporter.cpp.
References clang::IfStmt::Create(), clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitImaginaryLiteral | ( | ImaginaryLiteral * | E | ) |
Definition at line 7834 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitImplicitCastExpr | ( | ImplicitCastExpr * | E | ) |
Definition at line 8188 of file ASTImporter.cpp.
References clang::ImplicitCastExpr::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and ImportCastPath().
ExpectedDecl ASTNodeImporter::VisitImplicitConceptSpecializationDecl | ( | ImplicitConceptSpecializationDecl * | D | ) |
Definition at line 6994 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclContext(), ImportTemplateArguments(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitImplicitParamDecl | ( | ImplicitParamDecl * | D | ) |
Definition at line 4841 of file ASTImporter.cpp.
References D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitImplicitValueInitExpr | ( | ImplicitValueInitExpr * | E | ) |
Definition at line 7756 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedDecl ASTNodeImporter::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 2724 of file ASTImporter.cpp.
References D, clang::ASTImporter::FromDiag(), clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ASTImportError::UnsupportedConstruct.
ExpectedDecl ASTNodeImporter::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | D | ) |
Definition at line 4421 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::ASTImporter::getFieldIndex(), clang::ASTImporter::getToContext(), ImportDeclParts(), clang::ASTImporter::IsStructurallyEquivalent(), Loc, clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::Decl::setAccess(), clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
ExpectedStmt ASTNodeImporter::VisitIndirectGotoStmt | ( | IndirectGotoStmt * | S | ) |
Definition at line 7327 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitInitListExpr | ( | InitListExpr * | E | ) |
Definition at line 8987 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), ImportContainerChecked(), clang::InitListExpr::sawArrayRangeDesignator(), clang::InitListExpr::setArrayFiller(), clang::InitListExpr::setInitializedFieldInUnion(), clang::InitListExpr::setSyntacticForm(), and clang::Expr::setType().
ExpectedStmt ASTNodeImporter::VisitIntegerLiteral | ( | IntegerLiteral * | E | ) |
Definition at line 7806 of file ASTImporter.cpp.
References clang::IntegerLiteral::Create(), E, clang::ASTImporter::getToContext(), and clang::Expr::getType().
ExpectedDecl ASTNodeImporter::VisitLabelDecl | ( | LabelDecl * | D | ) |
Definition at line 3145 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getBeginLoc(), clang::ASTImporter::getToContext(), ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), Loc, clang::Decl::setLexicalDeclContext(), and clang::LabelDecl::setStmt().
ExpectedStmt ASTNodeImporter::VisitLabelStmt | ( | LabelStmt * | S | ) |
Definition at line 7178 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitLambdaExpr | ( | LambdaExpr * | LE | ) |
Definition at line 8957 of file ASTImporter.cpp.
References clang::Expr::containsUnexpandedParameterPack(), clang::LambdaExpr::Create(), E, clang::Stmt::getEndLoc(), clang::ASTImporter::getToContext(), importChecked(), and ImportContainerChecked().
ExpectedDecl ASTNodeImporter::VisitLifetimeExtendedTemporaryDecl | ( | LifetimeExtendedTemporaryDecl * | D | ) |
Definition at line 8462 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, importChecked(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 5300 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), ImportDeclContext(), clang::Decl::setLexicalDeclContext(), and clang::LinkageSpecDecl::setRBraceLoc().
ExpectedStmt ASTNodeImporter::VisitMaterializeTemporaryExpr | ( | MaterializeTemporaryExpr * | E | ) |
Definition at line 8486 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitMemberExpr | ( | MemberExpr * | E | ) |
Definition at line 8666 of file ASTImporter.cpp.
References clang::MemberExpr::Create(), E, clang::Expr::getObjectKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), importChecked(), ImportTemplateArgumentListInfo(), and clang::DeclAccessPair::make().
ExpectedDecl ASTNodeImporter::VisitNamespaceAliasDecl | ( | NamespaceAliasDecl * | D | ) |
Definition at line 2925 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), importChecked(), ImportDeclParts(), Loc, and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 2841 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::NamespaceDecl::getAnonymousNamespace(), clang::Decl::getBeginLoc(), clang::DeclContext::getEnclosingNamespaceContext(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), clang::Decl::IDNS_Namespace, ImportDeclContext(), ImportDeclParts(), clang::Decl::isInIdentifierNamespace(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setLexicalDeclContext(), and clang::NamespaceDecl::setRBraceLoc().
ExpectedDecl ASTNodeImporter::VisitNonTypeTemplateParmDecl | ( | NonTypeTemplateParmDecl * | D | ) |
Definition at line 6152 of file ASTImporter.cpp.
References D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), importChecked(), and clang::Decl::isParameterPack().
ExpectedStmt ASTNodeImporter::VisitNullStmt | ( | NullStmt * | S | ) |
Definition at line 7118 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitObjCAtCatchStmt | ( | ObjCAtCatchStmt * | S | ) |
Definition at line 7453 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitObjCAtFinallyStmt | ( | ObjCAtFinallyStmt * | S | ) |
Definition at line 7467 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitObjCAtSynchronizedStmt | ( | ObjCAtSynchronizedStmt * | S | ) |
Definition at line 7503 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitObjCAtThrowStmt | ( | ObjCAtThrowStmt * | S | ) |
Definition at line 7516 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext().
ExpectedStmt ASTNodeImporter::VisitObjCAtTryStmt | ( | ObjCAtTryStmt * | S | ) |
Definition at line 7478 of file ASTImporter.cpp.
References clang::ObjCAtTryStmt::Create(), clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitObjCAutoreleasePoolStmt | ( | ObjCAutoreleasePoolStmt * | S | ) |
Definition at line 7527 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext().
ExpectedDecl ASTNodeImporter::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
Definition at line 5108 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::ObjCInterfaceDecl::FindCategoryDeclaration(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclContext(), ImportDeclParts(), ImportObjCTypeParamList(), Loc, clang::ASTImporter::MapImported(), clang::ObjCCategoryDecl::setImplementation(), clang::Decl::setLexicalDeclContext(), clang::ObjCCategoryDecl::setProtocolList(), and clang::ObjCCategoryDecl::setTypeParamList().
ExpectedDecl ASTNodeImporter::VisitObjCCategoryImplDecl | ( | ObjCCategoryImplDecl * | D | ) |
Definition at line 5832 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), Category, D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), importChecked(), ImportDeclContext(), clang::ASTImporter::MapImported(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitObjCForCollectionStmt | ( | ObjCForCollectionStmt * | S | ) |
Definition at line 7436 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), and importChecked().
ExpectedDecl ASTNodeImporter::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |
Definition at line 5869 of file ASTImporter.cpp.
References D, clang::declaresSameEntity(), clang::ASTImporter::FromDiag(), clang::ObjCInterfaceDecl::getCanonicalDecl(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getImplementation(), clang::Decl::getLocation(), clang::ObjCImplementationDecl::getSuperClass(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclContext(), clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::ObjCInterfaceDecl::setImplementation(), clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
ExpectedDecl ASTNodeImporter::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 5766 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Definition, clang::ASTImporter::getToContext(), clang::Decl::IDNS_Ordinary, ImportDeclParts(), ImportDefinition(), ImportObjCTypeParamList(), clang::Decl::isInIdentifierNamespace(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setLexicalDeclContext(), and clang::ObjCInterfaceDecl::setTypeParamList().
ExpectedDecl ASTNodeImporter::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 4612 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::ASTImporter::getToContext(), importChecked(), ImportDeclParts(), clang::ASTImporter::IsStructurallyEquivalent(), Loc, clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
ExpectedDecl ASTNodeImporter::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 4940 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCMethodDecl::createImplicitParams(), D, clang::ASTImporter::FromDiag(), clang::ObjCMethodDecl::getClassInterface(), clang::Decl::getEndLoc(), clang::ASTImporter::getToContext(), importChecked(), ImportContainerChecked(), ImportDeclParts(), clang::Decl::isImplicit(), clang::ASTImporter::IsStructurallyEquivalent(), Loc, clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::P, clang::Decl::setLexicalDeclContext(), clang::ObjCMethodDecl::setMethodParams(), and clang::ASTImporter::ToDiag().
ExpectedDecl ASTNodeImporter::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |
Definition at line 5951 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::ASTImporter::getToContext(), importChecked(), ImportDeclParts(), clang::ASTImporter::IsStructurallyEquivalent(), Loc, clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::ObjCPropertyDecl::setGetterMethodDecl(), clang::ObjCPropertyDecl::setGetterName(), clang::Decl::setLexicalDeclContext(), clang::ObjCPropertyDecl::setPropertyAttributes(), clang::ObjCPropertyDecl::setPropertyAttributesAsWritten(), clang::ObjCPropertyDecl::setPropertyIvarDecl(), clang::ObjCPropertyDecl::setSetterMethodDecl(), clang::ObjCPropertyDecl::setSetterName(), and clang::ASTImporter::ToDiag().
ExpectedDecl ASTNodeImporter::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 6032 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::ObjCPropertyImplDecl::Dynamic, clang::ASTImporter::FromDiag(), clang::Decl::getBeginLoc(), clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::ObjCPropertyImplDecl::getPropertyImplementation(), clang::ObjCPropertyImplDecl::getPropertyIvarDecl(), clang::ObjCPropertyImplDecl::getPropertyIvarDeclLoc(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclContext(), clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::Property, clang::Decl::setLexicalDeclContext(), clang::ObjCPropertyImplDecl::Synthesize, and clang::ASTImporter::ToDiag().
ExpectedDecl ASTNodeImporter::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 5244 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Definition, clang::ASTImporter::getToContext(), clang::Decl::IDNS_ObjCProtocol, ImportDeclParts(), ImportDefinition(), clang::Decl::isInIdentifierNamespace(), Loc, clang::ASTImporter::MapImported(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 5072 of file ASTImporter.cpp.
References D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclParts(), Loc, and clang::Result.
ExpectedStmt ASTNodeImporter::VisitOffsetOfExpr | ( | OffsetOfExpr * | OE | ) |
Definition at line 8278 of file ASTImporter.cpp.
References clang::OffsetOfNode::Array, clang::OffsetOfNode::Base, clang::OffsetOfExpr::Create(), E, clang::OffsetOfNode::Field, clang::OffsetOfNode::getArrayExprIndex(), clang::OffsetOfNode::getBase(), clang::OffsetOfNode::getBeginLoc(), clang::OffsetOfNode::getEndLoc(), clang::OffsetOfNode::getField(), clang::OffsetOfNode::getFieldName(), clang::OffsetOfNode::getKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::OffsetOfNode::Identifier, clang::ASTImporter::Import(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitOpaqueValueExpr | ( | OpaqueValueExpr * | E | ) |
Definition at line 8130 of file ASTImporter.cpp.
References E, clang::Expr::getObjectKind(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitPackExpansionExpr | ( | PackExpansionExpr * | E | ) |
Definition at line 8506 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitParenExpr | ( | ParenExpr * | E | ) |
Definition at line 7945 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitParenListExpr | ( | ParenListExpr * | E | ) |
Definition at line 7957 of file ASTImporter.cpp.
References clang::ParenListExpr::Create(), E, clang::ASTImporter::getToContext(), and ImportContainerChecked().
ExpectedDecl ASTNodeImporter::VisitParmVarDecl | ( | ParmVarDecl * | D | ) |
Definition at line 4901 of file ASTImporter.cpp.
References D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), importChecked(), ImportDefaultArgOfParmVarDecl(), clang::ParmVarDecl::setObjCDeclQualifier(), clang::ParmVarDecl::setObjCMethodScopeInfo(), and clang::ParmVarDecl::setScopeInfo().
ExpectedStmt ASTNodeImporter::VisitPredefinedExpr | ( | PredefinedExpr * | E | ) |
Definition at line 7703 of file ASTImporter.cpp.
References clang::PredefinedExpr::Create(), E, clang::Stmt::getBeginLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedDecl ASTNodeImporter::VisitRecordDecl | ( | RecordDecl * | D | ) |
Definition at line 3295 of file ASTImporter.cpp.
References clang::ExternalASTSource::CompleteType(), clang::CXXRecordDecl::LambdaNumbering::ContextDecl, clang::CXXRecordDecl::CreateLambda(), D, clang::Decl::FOK_None, clang::Found, clang::Decl::getAccess(), clang::Decl::getASTContext(), clang::Decl::getBeginLoc(), clang::RecordDecl::getDefinition(), clang::ASTContext::getExternalSource(), clang::CXXRecordDecl::getInstantiatedFromMemberClass(), clang::ASTContext::getLangOpts(), clang::CXXRecordDecl::getMemberSpecializationInfo(), clang::RecordDecl::getMostRecentDecl(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), hasSameVisibilityContextAndLinkage(), IDK_Default, clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_Tag, clang::Decl::IDNS_TagFriend, ImportDeclParts(), ImportDefinition(), ImportImplicitMethods(), clang::DeclContext::isDependentContext(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isInIdentifierNamespace(), clang::ASTImporter::isMinimalImport(), IsStructuralMatch(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::RecordDecl::setAnonymousStructOrUnion(), clang::TagDecl::setBraceRange(), clang::CXXRecordDecl::setDescribedClassTemplate(), clang::CXXRecordDecl::setInstantiationOfMemberClass(), clang::CXXRecordDecl::setLambdaNumbering(), clang::Decl::setLexicalDeclContext(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::TagDecl::setQualifierInfo(), and clang::Typedef.
ExpectedStmt ASTNodeImporter::VisitRequiresExpr | ( | RequiresExpr * | E | ) |
Definition at line 9243 of file ASTImporter.cpp.
References clang::RequiresExpr::Create(), E, clang::ASTImporter::getToContext(), ImportArrayChecked(), and importChecked().
ExpectedDecl ASTNodeImporter::VisitRequiresExprBodyDecl | ( | RequiresExprBodyDecl * | E | ) |
Definition at line 6979 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getLocation(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitReturnStmt | ( | ReturnStmt * | S | ) |
Definition at line 7364 of file ASTImporter.cpp.
References clang::ReturnStmt::Create(), clang::ASTImporter::getToContext(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitShuffleVectorExpr | ( | ShuffleVectorExpr * | E | ) |
Definition at line 7620 of file ASTImporter.cpp.
References E, clang::Stmt::getBeginLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), and ImportContainerChecked().
ExpectedStmt ASTNodeImporter::VisitSizeOfPackExpr | ( | SizeOfPackExpr * | E | ) |
Definition at line 8517 of file ASTImporter.cpp.
References clang::SizeOfPackExpr::Create(), E, clang::ASTImporter::getToContext(), importChecked(), ImportTemplateArguments(), and clang::Expr::isValueDependent().
ExpectedStmt ASTNodeImporter::VisitSourceLocExpr | ( | SourceLocExpr * | E | ) |
Definition at line 7548 of file ASTImporter.cpp.
References E, clang::Stmt::getBeginLoc(), clang::Stmt::getEndLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), and clang::ASTImporter::ImportContext().
ExpectedDecl ASTNodeImporter::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |
Definition at line 2815 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getDeclContext(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), importChecked(), clang::ASTImporter::ImportContext(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitStmt | ( | Stmt * | S | ) |
Definition at line 7018 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), and clang::ASTImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitStmtExpr | ( | StmtExpr * | E | ) |
Definition at line 7974 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitStringLiteral | ( | StringLiteral * | E | ) |
Definition at line 7874 of file ASTImporter.cpp.
References clang::StringLiteral::Create(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and ImportArrayChecked().
ExpectedStmt ASTNodeImporter::VisitSubstNonTypeTemplateParmExpr | ( | SubstNonTypeTemplateParmExpr * | E | ) |
Definition at line 9159 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitSwitchStmt | ( | SwitchStmt * | S | ) |
Definition at line 7227 of file ASTImporter.cpp.
References clang::SwitchStmt::Create(), clang::ASTImporter::getToContext(), importChecked(), and clang::SwitchCase::setNextSwitchCase().
ExpectedDecl ASTNodeImporter::VisitTemplateTemplateParmDecl | ( | TemplateTemplateParmDecl * | D | ) |
Definition at line 6180 of file ASTImporter.cpp.
References D, clang::ASTContext::findCanonicalTemplateTemplateParmDeclInternal(), clang::ASTImporter::getFromContext(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTContext::insertCanonicalTemplateTemplateParmDeclInternal(), and clang::Decl::isParameterPack().
ExpectedDecl ASTNodeImporter::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 6110 of file ASTImporter.cpp.
References D, clang::Decl::getBeginLoc(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTImporter::Import(), importChecked(), clang::Decl::isParameterPack(), and clang::TemplateTypeParmDecl::setTypeConstraint().
ExpectedDecl ASTNodeImporter::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | D | ) |
Definition at line 2750 of file ASTImporter.cpp.
References D, clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), and clang::ASTImporter::MapImported().
ExpectedType ASTNodeImporter::VisitType | ( | const Type * | T | ) |
Definition at line 1290 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), clang::Type::getTypeClassName(), clang::T, and clang::ASTImportError::UnsupportedConstruct.
ExpectedDecl ASTNodeImporter::VisitTypeAliasDecl | ( | TypeAliasDecl * | D | ) |
Definition at line 3081 of file ASTImporter.cpp.
References D, and VisitTypedefNameDecl().
ExpectedDecl ASTNodeImporter::VisitTypeAliasTemplateDecl | ( | TypeAliasTemplateDecl * | D | ) |
Definition at line 3086 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTImporter::HandleNameConflict(), clang::Decl::IDNS_Ordinary, importChecked(), ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isInIdentifierNamespace(), IsStructuralMatch(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitTypedefDecl | ( | TypedefDecl * | D | ) |
Definition at line 3077 of file ASTImporter.cpp.
References D, and VisitTypedefNameDecl().
ExpectedDecl ASTNodeImporter::VisitTypedefNameDecl | ( | TypedefNameDecl * | D, |
bool | IsAlias | ||
) |
Definition at line 2962 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::ASTImporter::GetAlreadyImportedOrNull(), clang::Type::getAsRecordDecl(), clang::Decl::getBeginLoc(), clang::Decl::getDeclContext(), clang::TypeAliasDecl::getDescribedAliasTemplate(), clang::Decl::getLexicalDeclContext(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, importChecked(), ImportDeclContext(), ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), clang::Type::isIncompleteType(), clang::Decl::isInIdentifierNamespace(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::Decl::setDeclContext(), clang::Decl::setLexicalDeclContext(), and ToUnderlyingType.
Referenced by VisitTypeAliasDecl(), and VisitTypedefDecl().
ExpectedStmt ASTNodeImporter::VisitTypeTraitExpr | ( | TypeTraitExpr * | E | ) |
Definition at line 9175 of file ASTImporter.cpp.
References clang::TypeTraitExpr::Create(), E, false, clang::Stmt::getBeginLoc(), clang::Stmt::getEndLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), ImportContainerChecked(), and clang::Expr::isValueDependent().
ExpectedStmt ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr | ( | UnaryExprOrTypeTraitExpr * | E | ) |
Definition at line 8011 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitUnaryOperator | ( | UnaryOperator * | E | ) |
Definition at line 7988 of file ASTImporter.cpp.
References clang::UnaryOperator::CreateEmpty(), E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedStmt ASTNodeImporter::VisitUnresolvedLookupExpr | ( | UnresolvedLookupExpr * | E | ) |
Definition at line 8829 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::UnresolvedLookupExpr::Create(), D, E, clang::UnresolvedSetImpl::end(), clang::Expr::getDependence(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclarationNameLoc(), ImportTemplateArgumentListInfo(), clang::Expr::isInstantiationDependent(), and clang::Expr::isTypeDependent().
ExpectedStmt ASTNodeImporter::VisitUnresolvedMemberExpr | ( | UnresolvedMemberExpr * | E | ) |
Definition at line 8885 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::UnresolvedMemberExpr::Create(), D, E, clang::UnresolvedSetImpl::end(), clang::ASTImporter::getToContext(), clang::Expr::getType(), importChecked(), ImportDeclarationNameLoc(), and ImportTemplateArgumentListInfo().
ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingTypenameDecl | ( | UnresolvedUsingTypenameDecl * | D | ) |
Definition at line 5593 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclParts(), Loc, clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingValueDecl | ( | UnresolvedUsingValueDecl * | D | ) |
Definition at line 5557 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclarationNameLoc(), ImportDeclParts(), Loc, clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 5347 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::ASTImporter::getFromContext(), clang::ASTContext::getInstantiatedFromUsingDecl(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclarationNameLoc(), ImportDeclParts(), ImportUsingShadowDecls(), Loc, clang::ASTContext::setInstantiatedFromUsingDecl(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitUsingDirectiveDecl | ( | UsingDirectiveDecl * | D | ) |
Definition at line 5489 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::ASTImporter::getToContext(), importChecked(), clang::ASTImporter::ImportContext(), ImportDeclParts(), Loc, and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitUsingEnumDecl | ( | UsingEnumDecl * | D | ) |
Definition at line 5389 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::ASTImporter::getFromContext(), clang::ASTContext::getInstantiatedFromUsingEnumDecl(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclParts(), ImportUsingShadowDecls(), Loc, clang::ASTContext::setInstantiatedFromUsingEnumDecl(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitUsingPackDecl | ( | UsingPackDecl * | D | ) |
Definition at line 5528 of file ASTImporter.cpp.
References D, clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportArrayChecked(), ImportDeclParts(), and Loc.
ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 5427 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::ASTImporter::getFromContext(), clang::ASTContext::getInstantiatedFromUsingShadowDecl(), clang::ASTImporter::getToContext(), importChecked(), ImportDeclParts(), Loc, clang::Decl::setAccess(), clang::ASTContext::setInstantiatedFromUsingShadowDecl(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitVAArgExpr | ( | VAArgExpr * | E | ) |
Definition at line 7564 of file ASTImporter.cpp.
References E, clang::ASTImporter::getToContext(), clang::Expr::getType(), and importChecked().
ExpectedDecl ASTNodeImporter::VisitVarDecl | ( | VarDecl * | D | ) |
Definition at line 4663 of file ASTImporter.cpp.
References D, clang::Decl::getAccess(), clang::ASTContext::getAsArrayType(), clang::getCanonicalForwardRedeclChain(), clang::VarDecl::getDefinition(), clang::VarDecl::getMemberSpecializationInfo(), clang::Redeclarable< decl_type >::getMostRecentDecl(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, ImportArrayChecked(), importChecked(), ImportDeclParts(), ImportInitializer(), clang::Decl::isInIdentifierNamespace(), clang::ASTImporter::IsStructurallyEquivalent(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::VarDecl::setConstexpr(), clang::VarDecl::setImplicitlyInline(), clang::VarDecl::setInlineSpecified(), clang::VarDecl::setInstantiationOfStaticDataMember(), clang::Decl::setLexicalDeclContext(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::Redeclarable< decl_type >::setPreviousDecl(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarDecl::setTSCSpec(), and clang::ASTImporter::ToDiag().
ExpectedDecl ASTNodeImporter::VisitVarTemplateDecl | ( | VarTemplateDecl * | D | ) |
Definition at line 6572 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), D, clang::Decl::getAccess(), clang::Decl::getDeclContext(), clang::VarTemplateDecl::getMostRecentDecl(), clang::Redeclarable< decl_type >::getMostRecentDecl(), clang::Redeclarable< decl_type >::getPreviousDecl(), clang::VarTemplateDecl::getTemplatedDecl(), getTemplateDefinition(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::ASTImporter::HandleNameConflict(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isInIdentifierNamespace(), clang::DeclContext::isRecord(), IsStructuralMatch(), Loc, clang::ASTImporter::MapImported(), clang::Decl::setAccess(), clang::VarDecl::setDescribedVarTemplate(), clang::Decl::setLexicalDeclContext(), and clang::Redeclarable< decl_type >::setPreviousDecl().
ExpectedDecl ASTNodeImporter::VisitVarTemplateSpecializationDecl | ( | VarTemplateSpecializationDecl * | D | ) |
Definition at line 6678 of file ASTImporter.cpp.
References D, clang::Decl::getAccess(), clang::Decl::getBeginLoc(), clang::getCanonicalForwardRedeclChain(), clang::Decl::getDeclContext(), clang::VarDecl::getDefinition(), clang::Decl::getLocation(), clang::VarTemplateSpecializationDecl::getMostRecentDecl(), clang::ASTImporter::getToContext(), ImportDeclContext(), ImportInitializer(), ImportTemplateArgumentListInfo(), ImportTemplateArguments(), clang::DeclContext::isRecord(), IsStructuralMatch(), clang::ASTImporter::MapImported(), clang::ASTImportError::NameConflict, clang::Decl::setAccess(), clang::VarDecl::setConstexpr(), clang::VarTemplatePartialSpecializationDecl::setInstantiatedFromMember(), clang::VarTemplateSpecializationDecl::setPointOfInstantiation(), clang::Redeclarable< decl_type >::setPreviousDecl(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarTemplateSpecializationDecl::setSpecializationKind(), clang::VarTemplateSpecializationDecl::setTemplateArgsAsWritten(), clang::ValueDecl::setType(), clang::DeclaratorDecl::setTypeSourceInfo(), clang::T, and clang::VarTemplate.
ExpectedStmt ASTNodeImporter::VisitWhileStmt | ( | WhileStmt * | S | ) |
Definition at line 7263 of file ASTImporter.cpp.
References clang::WhileStmt::Create(), clang::ASTImporter::getToContext(), and importChecked().