|
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 |
Additional Inherited Members | |
| Public Attributes inherited from clang::StmtVisitorBase< std::add_pointer, ASTNodeImporter, ExpectedStmt, ParamTys... > | |
| ParamTys | P |
Definition at line 177 of file ASTImporter.cpp.
Definition at line 431 of file ASTImporter.cpp.
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 3671 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 3891 of file ASTImporter.cpp.
References clang::Type::getAs(), clang::FunctionDecl::getDefinition(), clang::ValueDecl::getType(), clang::QualType::getTypePtr(), clang::isa(), and clang::isLambdaMethod().
Referenced by VisitFunctionDecl().
| bool clang::ASTNodeImporter::hasSameVisibilityContextAndLinkage | ( | T * | Found, |
| T * | From ) |
Definition at line 1260 of file ASTImporter.cpp.
References clang::Found, and clang::T.
Referenced by VisitClassTemplateDecl(), VisitEnumDecl(), VisitFunctionDecl(), VisitFunctionTemplateDecl(), VisitRecordDecl(), VisitTypedefNameDecl(), VisitVarDecl(), and VisitVarTemplateDecl().
| bool clang::ASTNodeImporter::hasSameVisibilityContextAndLinkage | ( | TypedefNameDecl * | Found, |
| TypedefNameDecl * | From ) |
Definition at line 1276 of file ASTImporter.cpp.
References clang::Found, clang::NamedDecl::getLinkageInternal(), clang::Decl::getTranslationUnitDecl(), and clang::Decl::isInAnonymousNamespace().
| Expected< ConceptReference * > clang::ASTNodeImporter::import | ( | ConceptReference * | From | ) |
Definition at line 1038 of file ASTImporter.cpp.
References clang::ASTTemplateArgumentListInfo::Create(), clang::ConceptReference::Create(), clang::Error, clang::ConceptReference::getConceptNameInfo(), clang::ConceptReference::getFoundDecl(), clang::DeclarationNameInfo::getLoc(), clang::DeclarationNameInfo::getName(), clang::ConceptReference::getNamedConcept(), clang::ConceptReference::getNestedNameSpecifierLoc(), clang::ConceptReference::getTemplateArgsAsWritten(), clang::ConceptReference::getTemplateKWLoc(), importChecked(), and ImportTemplateArgumentListInfo().
| Expected< concepts::Requirement * > clang::ASTNodeImporter::import | ( | concepts::Requirement * | FromRequire | ) |
Definition at line 1221 of file ASTImporter.cpp.
References clang::cast(), 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 | ) |
| Expected< DeclGroupRef > clang::ASTNodeImporter::import | ( | const DeclGroupRef & | DG | ) |
Definition at line 979 of file ASTImporter.cpp.
References clang::DeclGroupRef::begin(), clang::DeclGroupRef::Create(), clang::DeclGroupRef::end(), and clang::DeclGroupRef::isNull().
| Expected< ASTNodeImporter::Designator > clang::ASTNodeImporter::import | ( | const Designator & | D | ) |
Definition at line 998 of file ASTImporter.cpp.
References clang::DesignatedInitExpr::Designator::CreateArrayDesignator(), clang::DesignatedInitExpr::Designator::CreateArrayRangeDesignator(), clang::DesignatedInitExpr::Designator::CreateFieldDesignator(), clang::DesignatedInitExpr::Designator::getArrayIndex(), clang::DesignatedInitExpr::Designator::getDotLoc(), clang::DesignatedInitExpr::Designator::getEllipsisLoc(), clang::DesignatedInitExpr::Designator::getFieldLoc(), clang::DesignatedInitExpr::Designator::getFieldName(), clang::DesignatedInitExpr::Designator::getLBracketLoc(), clang::DesignatedInitExpr::Designator::getRBracketLoc(), clang::DesignatedInitExpr::Designator::isArrayDesignator(), clang::DesignatedInitExpr::Designator::isArrayRangeDesignator(), and clang::DesignatedInitExpr::Designator::isFieldDesignator().
| Expected< LambdaCapture > clang::ASTNodeImporter::import | ( | const LambdaCapture & | From | ) |
Definition at line 1236 of file ASTImporter.cpp.
References clang::LambdaCapture::capturesVariable(), clang::Error, 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 846 of file ASTImporter.cpp.
References clang::TemplateArgument::Declaration, clang::Error, 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(), 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 936 of file ASTImporter.cpp.
References clang::TemplateArgument::Expression, clang::TemplateArgumentLoc::getArgument(), clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgumentLocInfo::getAsTypeSourceInfo(), clang::TemplateArgument::getKind(), clang::TemplateArgumentLoc::getLocInfo(), clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc(), clang::TemplateArgumentLocInfo::getTemplateKwLoc(), clang::TemplateArgumentLocInfo::getTemplateNameLoc(), clang::TemplateArgumentLoc::getTemplateQualifierLoc(), and clang::TemplateArgument::Type.
| Expected< TemplateParameterList * > clang::ASTNodeImporter::import | ( | TemplateParameterList * | From | ) |
Definition at line 816 of file ASTImporter.cpp.
References clang::TemplateParameterList::Create(), clang::Error, clang::TemplateParameterList::getLAngleLoc(), clang::TemplateParameterList::getRAngleLoc(), clang::TemplateParameterList::getRequiresClause(), clang::TemplateParameterList::getTemplateLoc(), ImportContainerChecked(), and clang::TemplateParameterList::size().
| llvm::Expected< APValue > ASTNodeImporter::ImportAPValue | ( | const APValue & | FromValue | ) |
Definition at line 10592 of file ASTImporter.cpp.
References clang::APValue::AddrLabelDiff, clang::APValue::Array, clang::APValue::LValuePathEntry::ArrayIndex(), clang::cast(), clang::APValue::ComplexFloat, clang::APValue::ComplexInt, clang::APValue::LValueBase::dyn_cast(), clang::APValue::FixedPoint, clang::APValue::Float, clang::APValue::LValueBase::get(), clang::APValue::getAddrLabelDiffLHS(), clang::APValue::getAddrLabelDiffRHS(), clang::APValue::getArrayInitializedElts(), clang::APValue::getArraySize(), clang::APValue::LValueBase::getCallIndex(), clang::Decl::getCanonicalDecl(), 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(), 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 744 of file ASTImporter.cpp.
References clang::Error, and ImportArrayChecked().
|
inline |
Definition at line 721 of file ASTImporter.cpp.
References clang::Error.
Referenced by ImportArrayChecked(), ImportContainerChecked(), VisitAtomicExpr(), VisitCXXUnresolvedConstructExpr(), VisitGCCAsmStmt(), VisitRequiresExpr(), VisitStringLiteral(), VisitUsingPackDecl(), and VisitVarDecl().
| StringRef clang::ASTNodeImporter::ImportASTStringRef | ( | StringRef | FromStr | ) |
Definition at line 1064 of file ASTImporter.cpp.
Referenced by import(), ImportConstraintSatisfaction(), and ImportNestedRequirement().
| Expected< CXXCastPath > ASTNodeImporter::ImportCastPath | ( | CastExpr * | E | ) |
Definition at line 8194 of file ASTImporter.cpp.
References clang::CastExpr::path_begin(), and clang::CastExpr::path_end().
Referenced by VisitCXXNamedCastExpr(), VisitExplicitCastExpr(), and VisitImplicitCastExpr().
Definition at line 708 of file ASTImporter.cpp.
References clang::Error, and 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(), VisitCXXParenListInitExpr(), 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(), VisitSubstNonTypeTemplateParmPackExpr(), 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 1070 of file ASTImporter.cpp.
References clang::ASTConstraintSatisfaction::begin(), clang::ASTConstraintSatisfaction::ContainsErrors, clang::ConstraintSatisfaction::ContainsErrors, clang::ConstraintSatisfaction::Details, clang::ASTConstraintSatisfaction::end(), clang::Error, ImportASTStringRef(), clang::ASTConstraintSatisfaction::IsSatisfied, and clang::ConstraintSatisfaction::IsSatisfied.
Referenced by ImportNestedRequirement(), and VisitConceptSpecializationExpr().
|
inline |
Definition at line 737 of file ASTImporter.cpp.
References clang::Error, and ImportArrayChecked().
Referenced by import(), VisitAttributedStmt(), VisitCallExpr(), VisitCompoundStmt(), VisitCXXConstructExpr(), VisitCXXMemberCallExpr(), VisitCXXNewExpr(), VisitCXXParenListInitExpr(), VisitCXXTemporaryObjectExpr(), VisitDesignatedInitExpr(), VisitExprWithCleanups(), VisitFunctionDecl(), VisitGCCAsmStmt(), VisitGenericSelectionExpr(), VisitInitListExpr(), VisitLambdaExpr(), VisitObjCMethodDecl(), VisitParenListExpr(), VisitPseudoObjectExpr(), VisitShuffleVectorExpr(), and VisitTypeTraitExpr().
| Error ASTNodeImporter::ImportDeclarationNameLoc | ( | const DeclarationNameInfo & | From, |
| DeclarationNameInfo & | To ) |
Definition at line 2262 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 2449 of file ASTImporter.cpp.
References clang::Error, clang::Decl::getDeclContext(), and clang::Decl::getLexicalDeclContext().
| Error ASTNodeImporter::ImportDeclContext | ( | DeclContext * | FromDC, |
| bool | ForceImport = false ) |
Definition at line 2303 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::DeclContext::containsDecl(), clang::DeclContext::decls(), clang::Error, clang::ChildErrorHandlingStrategy::handleChildImportResult(), ImportFieldDeclDefinition(), clang::isa(), and clang::DeclContext::removeDecl().
Referenced by ImportDeclParts(), clang::ASTImporter::ImportDefinition(), ImportDefinition(), ImportDefinition(), 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 2210 of file ASTImporter.cpp.
References clang::ASTImporter::ASTNodeImporter, clang::Error, clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), and clang::ASTImporter::importInto().
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 2159 of file ASTImporter.cpp.
References clang::ASTImporter::ASTNodeImporter, clang::Error, clang::Decl::getDeclContext(), clang::Decl::getDeclKindName(), clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::FunctionDecl::hasBody(), ImportDeclContext(), clang::ASTImporter::importInto(), clang::isa(), clang::StmtVisitorBase< std::add_pointer, ASTNodeImporter, ExpectedStmt, ParamTys... >::P, clang::FunctionDecl::parameters(), clang::T, and clang::ASTImportError::UnsupportedConstruct.
| Error ASTNodeImporter::ImportDefaultArgOfParmVarDecl | ( | const ParmVarDecl * | FromParam, |
| ParmVarDecl * | ToParam ) |
Definition at line 4879 of file ASTImporter.cpp.
References clang::Error, 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 2642 of file ASTImporter.cpp.
References clang::EnumDecl::completeDefinition(), clang::Error, clang::EnumDecl::getDefinition(), clang::EnumDecl::getNumNegativeBits(), clang::EnumDecl::getNumPositiveBits(), clang::EnumDecl::getPromotionType(), IDK_Everything, ImportDeclContext(), clang::TagDecl::isBeingDefined(), setTypedefNameForAnonDecl(), shouldForceImportDeclContext(), and clang::TagDecl::startDefinition().
| Error ASTNodeImporter::ImportDefinition | ( | ObjCInterfaceDecl * | From, |
| ObjCInterfaceDecl * | To, | ||
| ImportDefinitionKind | Kind = IDK_Default ) |
Definition at line 5656 of file ASTImporter.cpp.
References clang::declaresSameEntity(), clang::Error, clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getDefinition(), clang::ObjCInterfaceDecl::getImplementation(), clang::Decl::getLocation(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCInterfaceDecl::getSuperClassLoc(), clang::ObjCInterfaceDecl::getSuperClassTInfo(), 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(), and clang::ObjCInterfaceDecl::startDefinition().
| Error ASTNodeImporter::ImportDefinition | ( | ObjCProtocolDecl * | From, |
| ObjCProtocolDecl * | To, | ||
| ImportDefinitionKind | Kind = IDK_Default ) |
Definition at line 5216 of file ASTImporter.cpp.
References clang::Error, clang::ObjCProtocolDecl::getDefinition(), 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 2494 of file ASTImporter.cpp.
References clang::cast(), clang::RecordDecl::completeDefinition(), clang::Error, clang::RecordDecl::getDefinition(), IDK_Everything, ImportDeclContext(), ImportDefinitionIfNeeded(), clang::TagDecl::isBeingDefined(), clang::RecordDecl::isLambda(), clang::Result, clang::TagDecl::setCompleteDefinition(), setTypedefNameForAnonDecl(), shouldForceImportDeclContext(), and clang::TagDecl::startDefinition().
Referenced by clang::ASTImporter::ImportDefinition().
Definition at line 2229 of file ASTImporter.cpp.
References clang::cast(), clang::Error, clang::ASTImporter::ImportDefinition(), and clang::ASTImporter::importInto().
Referenced by ImportDefinition().
| Expected< concepts::Requirement * > clang::ASTNodeImporter::ImportExprRequirement | ( | concepts::ExprRequirement * | From | ) |
Definition at line 1130 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(), and clang::concepts::ExprRequirement::getSatisfactionStatus().
Referenced by import().
Definition at line 2416 of file ASTImporter.cpp.
References clang::Error, clang::Type::getAs(), clang::Type::getAsRecordDecl(), clang::Type::getBaseElementTypeUnsafe(), clang::ValueDecl::getType(), clang::ASTImporter::ImportDefinition(), clang::Type::isArrayType(), and clang::TagDecl::isCompleteDefinition().
Referenced by ImportDeclContext().
| Error ASTNodeImporter::ImportFunctionDeclBody | ( | FunctionDecl * | FromFD, |
| FunctionDecl * | ToFD ) |
Definition at line 3685 of file ASTImporter.cpp.
References clang::Error, clang::FunctionDecl::getBody(), and clang::FunctionDecl::setBody().
Referenced by VisitFunctionDecl().
| Expected< ASTNodeImporter::FunctionTemplateAndArgsTy > clang::ASTNodeImporter::ImportFunctionTemplateWithTemplateArgsFromSpecialization | ( | FunctionDecl * | FromFD | ) |
Definition at line 795 of file ASTImporter.cpp.
References clang::Error, 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 2468 of file ASTImporter.cpp.
References clang::Error, clang::CXXRecordDecl::getDefinition(), clang::TagDecl::isCompleteDefinition(), and clang::CXXRecordDecl::methods().
Referenced by VisitRecordDecl().
| Expected< InheritedConstructor > ASTNodeImporter::ImportInheritedConstructor | ( | const InheritedConstructor & | From | ) |
Definition at line 4908 of file ASTImporter.cpp.
References clang::Error, clang::InheritedConstructor::getConstructor(), clang::InheritedConstructor::getShadowDecl(), and importChecked().
Definition at line 2618 of file ASTImporter.cpp.
References clang::VarDecl::ensureEvaluatedStmt(), clang::Error, 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 1190 of file ASTImporter.cpp.
References clang::Error, clang::concepts::NestedRequirement::getConstraintExpr(), clang::concepts::NestedRequirement::getConstraintSatisfaction(), clang::concepts::NestedRequirement::getInvalidConstraintEntity(), clang::concepts::NestedRequirement::hasInvalidConstraint(), ImportASTStringRef(), ImportConstraintSatisfaction(), and clang::ASTConstraintSatisfaction::Rebuild().
Referenced by import().
| Expected< ObjCTypeParamList * > ASTNodeImporter::ImportObjCTypeParamList | ( | ObjCTypeParamList * | list | ) |
Definition at line 5757 of file ASTImporter.cpp.
References clang::ObjCTypeParamList::create(), clang::ObjCTypeParamList::getLAngleLoc(), and clang::ObjCTypeParamList::getRAngleLoc().
Referenced by VisitObjCCategoryDecl(), and VisitObjCInterfaceDecl().
| Error ASTNodeImporter::ImportOverriddenMethods | ( | CXXMethodDecl * | ToMethod, |
| CXXMethodDecl * | FromMethod ) |
Definition at line 9348 of file ASTImporter.cpp.
References clang::CXXMethodDecl::addOverriddenMethod(), clang::cast(), clang::Error, clang::CXXMethodDecl::getCanonicalDecl(), and clang::CXXMethodDecl::overridden_methods().
Referenced by VisitFunctionDecl().
| Expected< TemplateArgument > ASTNodeImporter::ImportTemplateArgument | ( | const TemplateArgument & | From | ) |
Definition at line 2691 of file ASTImporter.cpp.
Referenced by clang::ASTImporter::Import().
| Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const ASTTemplateArgumentListInfo & | From, |
| TemplateArgumentListInfo & | Result ) |
Definition at line 786 of file ASTImporter.cpp.
References clang::Error, ImportTemplateArgumentListInfo(), and clang::Result.
| Error ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const InContainerTy & | Container, |
| TemplateArgumentListInfo & | ToTAInfo ) |
Definition at line 2696 of file ASTImporter.cpp.
References clang::TemplateArgumentListInfo::addArgument(), and clang::Error.
Referenced by import(), ImportTemplateArgumentListInfo(), ImportTemplateArgumentListInfo(), ImportTemplateArgumentListInfo(), ImportTemplateInformation(), VisitClassTemplateSpecializationDecl(), VisitCXXDependentScopeMemberExpr(), VisitDeclRefExpr(), VisitDependentScopeDeclRefExpr(), VisitMemberExpr(), VisitUnresolvedLookupExpr(), VisitUnresolvedMemberExpr(), and VisitVarTemplateSpecializationDecl().
| Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const TemplateArgumentListInfo & | From, |
| TemplateArgumentListInfo & | Result ) |
Definition at line 779 of file ASTImporter.cpp.
References clang::TemplateArgumentListInfo::arguments(), clang::Error, 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 761 of file ASTImporter.cpp.
References clang::Error, ImportTemplateArgumentListInfo(), and clang::Result.
| Error ASTNodeImporter::ImportTemplateArguments | ( | ArrayRef< TemplateArgument > | FromArgs, |
| SmallVectorImpl< TemplateArgument > & | ToArgs ) |
Definition at line 2676 of file ASTImporter.cpp.
References clang::Error.
Referenced by import(), and ImportFunctionTemplateWithTemplateArgsFromSpecialization().
| Error ASTNodeImporter::ImportTemplateInformation | ( | FunctionDecl * | FromFD, |
| FunctionDecl * | ToFD ) |
Definition at line 3582 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::TemplateArgumentList::CreateCopy(), clang::Error, clang::FunctionDecl::getDependentSpecializationInfo(), clang::FunctionDecl::getInstantiatedFromDecl(), clang::FunctionDecl::getInstantiatedFromMemberFunction(), clang::FunctionDecl::getMemberSpecializationInfo(), clang::MemberSpecializationInfo::getPointOfInstantiation(), clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::FunctionDecl::getTemplateSpecializationKind(), 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 3566 of file ASTImporter.cpp.
References clang::Error, and clang::Num.
Referenced by ImportTemplateInformation(), and VisitClassTemplateSpecializationDecl().
| Expected< concepts::Requirement * > clang::ASTNodeImporter::ImportTypeRequirement | ( | concepts::TypeRequirement * | From | ) |
Definition at line 1113 of file ASTImporter.cpp.
References clang::concepts::TypeRequirement::getSubstitutionDiagnostic(), clang::concepts::TypeRequirement::getType(), and clang::concepts::TypeRequirement::isSubstitutionFailure().
Referenced by import().
| ExpectedDecl ASTNodeImporter::ImportUsingShadowDecls | ( | BaseUsingDecl * | D, |
| BaseUsingDecl * | ToSI ) |
Definition at line 5351 of file ASTImporter.cpp.
References clang::BaseUsingDecl::addShadowDecl(), and clang::BaseUsingDecl::shadows().
Referenced by VisitUsingDecl(), and VisitUsingEnumDecl().
| bool ASTNodeImporter::IsStructuralMatch | ( | Decl * | From, |
| Decl * | To, | ||
| bool | Complain = true, | ||
| bool | IgnoreTemplateParmDepth = false ) |
Definition at line 2713 of file ASTImporter.cpp.
References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
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, and IDK_Everything.
Referenced by ImportDefinition(), ImportDefinition(), ImportDefinition(), and ImportDefinition().
| ExpectedDecl ASTNodeImporter::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |
Definition at line 2801 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Decl::getAccess(), clang::AccessSpecDecl::getColonLoc(), clang::Decl::getDeclContext(), clang::Decl::getLocation(), and clang::Decl::setLexicalDeclContext().
| ExpectedStmt ASTNodeImporter::VisitAddrLabelExpr | ( | AddrLabelExpr * | E | ) |
Definition at line 7941 of file ASTImporter.cpp.
References clang::Error, clang::AddrLabelExpr::getAmpAmpLoc(), clang::AddrLabelExpr::getLabel(), clang::AddrLabelExpr::getLabelLoc(), clang::Expr::getType(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitArrayInitIndexExpr | ( | ArrayInitIndexExpr * | E | ) |
Definition at line 9089 of file ASTImporter.cpp.
References clang::Expr::getType().
| ExpectedStmt ASTNodeImporter::VisitArrayInitLoopExpr | ( | ArrayInitLoopExpr * | E | ) |
Definition at line 9077 of file ASTImporter.cpp.
References clang::Error, clang::ArrayInitLoopExpr::getCommonExpr(), clang::ArrayInitLoopExpr::getSubExpr(), clang::Expr::getType(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitArraySubscriptExpr | ( | ArraySubscriptExpr * | E | ) |
Definition at line 8159 of file ASTImporter.cpp.
References clang::Error, clang::ArraySubscriptExpr::getLHS(), clang::Expr::getObjectKind(), clang::ArraySubscriptExpr::getRBracketLoc(), clang::ArraySubscriptExpr::getRHS(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitArrayTypeTraitExpr | ( | ArrayTypeTraitExpr * | E | ) |
Definition at line 8117 of file ASTImporter.cpp.
References clang::Error, clang::ArrayTypeTraitExpr::getBeginLoc(), clang::ArrayTypeTraitExpr::getDimensionExpression(), clang::ArrayTypeTraitExpr::getEndLoc(), clang::ArrayTypeTraitExpr::getQueriedTypeSourceInfo(), clang::ArrayTypeTraitExpr::getTrait(), clang::Expr::getType(), clang::ArrayTypeTraitExpr::getValue(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitAtomicExpr | ( | AtomicExpr * | E | ) |
Definition at line 7921 of file ASTImporter.cpp.
References clang::Error, clang::AtomicExpr::getBuiltinLoc(), clang::AtomicExpr::getNumSubExprs(), clang::AtomicExpr::getOp(), clang::AtomicExpr::getRParenLoc(), clang::AtomicExpr::getSubExprs(), clang::Expr::getType(), ImportArrayChecked(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitAttributedStmt | ( | AttributedStmt * | S | ) |
Definition at line 7208 of file ASTImporter.cpp.
References clang::AttributedStmt::Create(), clang::Error, clang::AttributedStmt::getAttrLoc(), clang::AttributedStmt::getAttrs(), clang::AttributedStmt::getSubStmt(), and ImportContainerChecked().
| ExpectedStmt ASTNodeImporter::VisitBinaryConditionalOperator | ( | BinaryConditionalOperator * | E | ) |
Definition at line 8087 of file ASTImporter.cpp.
References clang::Error, clang::AbstractConditionalOperator::getColonLoc(), clang::BinaryConditionalOperator::getCommon(), clang::BinaryConditionalOperator::getCond(), clang::BinaryConditionalOperator::getFalseExpr(), clang::Expr::getObjectKind(), clang::BinaryConditionalOperator::getOpaqueValue(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::BinaryConditionalOperator::getTrueExpr(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitBinaryOperator | ( | BinaryOperator * | E | ) |
Definition at line 8055 of file ASTImporter.cpp.
References clang::BinaryOperator::Create(), clang::Error, clang::BinaryOperator::getFPFeatures(), clang::BinaryOperator::getLHS(), clang::Expr::getObjectKind(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getRHS(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
| ExpectedDecl ASTNodeImporter::VisitBindingDecl | ( | BindingDecl * | D | ) |
Definition at line 2772 of file ASTImporter.cpp.
References clang::Error, clang::DeclarationName::getAsIdentifierInfo(), clang::BindingDecl::getBinding(), clang::BindingDecl::getDecomposedDecl(), clang::ValueDecl::getType(), importChecked(), ImportDeclParts(), clang::BindingDecl::setBinding(), and clang::BindingDecl::setDecomposedDecl().
| ExpectedStmt ASTNodeImporter::VisitBreakStmt | ( | BreakStmt * | S | ) |
Definition at line 7377 of file ASTImporter.cpp.
References ImportLoopControlStmt().
| ExpectedDecl ASTNodeImporter::VisitBuiltinTemplateDecl | ( | BuiltinTemplateDecl * | D | ) |
Definition at line 5642 of file ASTImporter.cpp.
References clang::BuiltinTemplateDecl::getBuiltinTemplateKind().
| ExpectedStmt ASTNodeImporter::VisitCallExpr | ( | CallExpr * | E | ) |
Definition at line 8949 of file ASTImporter.cpp.
References clang::CallExpr::arguments(), clang::CallExpr::Create(), clang::CXXOperatorCallExpr::Create(), clang::Error, clang::CallExpr::getADLCallKind(), clang::CallExpr::getCallee(), clang::CallExpr::getFPFeatures(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), importChecked(), and ImportContainerChecked().
| ExpectedStmt ASTNodeImporter::VisitCaseStmt | ( | CaseStmt * | S | ) |
Definition at line 7163 of file ASTImporter.cpp.
References clang::CaseStmt::Create(), clang::Error, clang::CaseStmt::getCaseLoc(), clang::SwitchCase::getColonLoc(), clang::CaseStmt::getEllipsisLoc(), clang::CaseStmt::getLHS(), clang::CaseStmt::getRHS(), clang::CaseStmt::getSubStmt(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitCharacterLiteral | ( | CharacterLiteral * | E | ) |
Definition at line 7878 of file ASTImporter.cpp.
References clang::CharacterLiteral::getKind(), clang::CharacterLiteral::getLocation(), clang::Expr::getType(), and clang::CharacterLiteral::getValue().
| ExpectedStmt ASTNodeImporter::VisitChooseExpr | ( | ChooseExpr * | E | ) |
Definition at line 7597 of file ASTImporter.cpp.
References clang::Error, clang::ChooseExpr::getBuiltinLoc(), clang::ChooseExpr::getCond(), clang::ChooseExpr::getLHS(), clang::Expr::getObjectKind(), clang::ChooseExpr::getRHS(), clang::ChooseExpr::getRParenLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), importChecked(), clang::ChooseExpr::isConditionDependent(), and clang::ChooseExpr::isConditionTrue().
| ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |
Definition at line 6249 of file ASTImporter.cpp.
References clang::Error, clang::Decl::FOK_None, clang::Decl::getAccess(), clang::Decl::getFriendObjectKind(), clang::ClassTemplateDecl::getMostRecentDecl(), clang::CXXRecordDecl::getMostRecentDecl(), clang::CXXRecordDecl::getPreviousDecl(), clang::ClassTemplateDecl::getTemplatedDecl(), getTemplateDefinition(), clang::TemplateDecl::getTemplateParameters(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_TagFriend, ImportDeclParts(), clang::ASTImporter::importInto(), clang::DeclContext::isFunctionOrMethod(), IsStructuralMatch(), clang::ClassTemplateDecl::isThisDeclarationADefinition(), clang::Decl::setAccess(), clang::CXXRecordDecl::setDescribedClassTemplate(), clang::Decl::setLexicalDeclContext(), and clang::Redeclarable< decl_type >::setPreviousDecl().
| ExpectedDecl ASTNodeImporter::VisitClassTemplateSpecializationDecl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 6388 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ClassTemplateDecl::AddPartialSpecialization(), clang::ClassTemplateDecl::AddSpecialization(), clang::TemplateArgumentList::asArray(), clang::cast(), clang::TemplateArgumentList::CreateCopy(), clang::Error, clang::RecordDecl::fields(), clang::ClassTemplateDecl::findPartialSpecialization(), clang::ClassTemplateDecl::findSpecialization(), clang::TypeDecl::getBeginLoc(), clang::TagDecl::getBraceRange(), clang::CXXRecordDecl::getDefinition(), clang::ClassTemplateSpecializationDecl::getExternKeywordLoc(), clang::ClassTemplateSpecializationDecl::getInstantiatedFrom(), clang::ClassTemplatePartialSpecializationDecl::getInstantiatedFromMember(), clang::Decl::getLocation(), clang::ClassTemplateSpecializationDecl::getPointOfInstantiation(), clang::TagDecl::getQualifierLoc(), clang::ClassTemplateSpecializationDecl::getSpecializationKind(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplate(), clang::TagDecl::getTagKind(), clang::ClassTemplateSpecializationDecl::getTemplateArgs(), clang::ClassTemplateSpecializationDecl::getTemplateArgsAsWritten(), clang::ClassTemplateSpecializationDecl::getTemplateInstantiationArgs(), clang::ClassTemplateSpecializationDecl::getTemplateKeywordLoc(), clang::ClassTemplatePartialSpecializationDecl::getTemplateParameters(), clang::CXXRecordDecl::getTemplateSpecializationKind(), clang::ClassTemplateSpecializationDecl::hasStrictPackMatch(), ImportDeclContext(), clang::ASTImporter::ImportDefinition(), clang::ASTImporter::importInto(), ImportTemplateArgumentListInfo(), clang::ASTImporter::ImportTemplateArguments(), ImportTemplateParameterLists(), clang::TagDecl::isCompleteDefinition(), clang::ClassTemplateSpecializationDecl::isExplicitInstantiationOrSpecialization(), IsStructuralMatch(), clang::TagDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::CXXRecordDecl::methods(), clang::ASTImportError::NameConflict, clang::StmtVisitorBase< std::add_pointer, ASTNodeImporter, ExpectedStmt, 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 8174 of file ASTImporter.cpp.
References clang::CompoundAssignOperator::Create(), clang::Error, clang::CompoundAssignOperator::getComputationLHSType(), clang::CompoundAssignOperator::getComputationResultType(), clang::BinaryOperator::getFPFeatures(), clang::BinaryOperator::getLHS(), clang::Expr::getObjectKind(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getRHS(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitCompoundLiteralExpr | ( | CompoundLiteralExpr * | E | ) |
Definition at line 7906 of file ASTImporter.cpp.
References clang::Error, clang::CompoundLiteralExpr::getInitializer(), clang::CompoundLiteralExpr::getLParenLoc(), clang::Expr::getType(), clang::CompoundLiteralExpr::getTypeSourceInfo(), clang::Expr::getValueKind(), importChecked(), and clang::CompoundLiteralExpr::isFileScope().
| ExpectedStmt ASTNodeImporter::VisitCompoundStmt | ( | CompoundStmt * | S | ) |
Definition at line 7143 of file ASTImporter.cpp.
References clang::CompoundStmt::body(), clang::CompoundStmt::Create(), clang::Error, clang::CompoundStmt::getLBracLoc(), clang::CompoundStmt::getRBracLoc(), clang::CompoundStmt::getStoredFPFeatures(), clang::CompoundStmt::hasStoredFPFeatures(), ImportContainerChecked(), and clang::CompoundStmt::size().
| ExpectedDecl ASTNodeImporter::VisitConceptDecl | ( | ConceptDecl * | D | ) |
Definition at line 6975 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::ConceptDecl::getConstraintExpr(), clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::TemplateDecl::getTemplateParameters(), importChecked(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
| ExpectedStmt ASTNodeImporter::VisitConceptSpecializationExpr | ( | ConceptSpecializationExpr * | E | ) |
Definition at line 9285 of file ASTImporter.cpp.
References clang::ConceptSpecializationExpr::Create(), clang::Error, clang::ConceptSpecializationExpr::getConceptReference(), clang::ConceptSpecializationExpr::getSatisfaction(), clang::ConceptSpecializationExpr::getSpecializationDecl(), importChecked(), ImportConstraintSatisfaction(), and clang::Expr::isValueDependent().
| ExpectedStmt ASTNodeImporter::VisitConditionalOperator | ( | ConditionalOperator * | E | ) |
Definition at line 8070 of file ASTImporter.cpp.
References clang::Error, clang::AbstractConditionalOperator::getColonLoc(), clang::ConditionalOperator::getCond(), clang::ConditionalOperator::getLHS(), clang::Expr::getObjectKind(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::ConditionalOperator::getRHS(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitConstantExpr | ( | ConstantExpr * | E | ) |
Definition at line 7953 of file ASTImporter.cpp.
References clang::ConstantExpr::Create(), clang::Error, clang::ConstantExpr::getAPValueResult(), clang::FullExpr::getSubExpr(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitContinueStmt | ( | ContinueStmt * | S | ) |
Definition at line 7373 of file ASTImporter.cpp.
References ImportLoopControlStmt().
| ExpectedStmt ASTNodeImporter::VisitConvertVectorExpr | ( | ConvertVectorExpr * | E | ) |
Definition at line 7621 of file ASTImporter.cpp.
References clang::ConvertVectorExpr::Create(), clang::Error, clang::ConvertVectorExpr::getBuiltinLoc(), clang::Expr::getObjectKind(), clang::ConvertVectorExpr::getRParenLoc(), clang::ConvertVectorExpr::getSrcExpr(), clang::ConvertVectorExpr::getStoredFPFeaturesOrDefault(), clang::Expr::getType(), clang::ConvertVectorExpr::getTypeSourceInfo(), clang::Expr::getValueKind(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitCXXBindTemporaryExpr | ( | CXXBindTemporaryExpr * | E | ) |
Definition at line 8443 of file ASTImporter.cpp.
References clang::CXXBindTemporaryExpr::Create(), clang::CXXTemporary::Create(), clang::CXXBindTemporaryExpr::getSubExpr(), and clang::CXXBindTemporaryExpr::getTemporary().
| ExpectedStmt ASTNodeImporter::VisitCXXBoolLiteralExpr | ( | CXXBoolLiteralExpr * | E | ) |
Definition at line 8670 of file ASTImporter.cpp.
References clang::CXXBoolLiteralExpr::Create(), clang::CXXBoolLiteralExpr::getLocation(), clang::Expr::getType(), and clang::CXXBoolLiteralExpr::getValue().
| ExpectedStmt ASTNodeImporter::VisitCXXCatchStmt | ( | CXXCatchStmt * | S | ) |
Definition at line 7394 of file ASTImporter.cpp.
References clang::Error, clang::CXXCatchStmt::getCatchLoc(), clang::CXXCatchStmt::getExceptionDecl(), clang::CXXCatchStmt::getHandlerBlock(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitCXXConstructExpr | ( | CXXConstructExpr * | E | ) |
Definition at line 8603 of file ASTImporter.cpp.
References clang::CXXConstructExpr::arguments(), clang::CXXConstructExpr::Create(), clang::Error, clang::CXXConstructExpr::getConstructionKind(), clang::CXXConstructExpr::getConstructor(), clang::CXXConstructExpr::getLocation(), clang::CXXConstructExpr::getNumArgs(), clang::CXXConstructExpr::getParenOrBraceRange(), clang::Expr::getType(), clang::CXXConstructExpr::hadMultipleCandidates(), importChecked(), ImportContainerChecked(), clang::CXXConstructExpr::isElidable(), clang::CXXConstructExpr::isImmediateEscalating(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), clang::CXXConstructExpr::requiresZeroInitialization(), and clang::CXXConstructExpr::setIsImmediateEscalating().
| ExpectedDecl ASTNodeImporter::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 4323 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
| ExpectedDecl ASTNodeImporter::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 4331 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
| ExpectedDecl ASTNodeImporter::VisitCXXDeductionGuideDecl | ( | CXXDeductionGuideDecl * | D | ) |
Definition at line 4336 of file ASTImporter.cpp.
References VisitFunctionDecl().
| ExpectedStmt ASTNodeImporter::VisitCXXDefaultArgExpr | ( | CXXDefaultArgExpr * | E | ) |
Definition at line 8389 of file ASTImporter.cpp.
References clang::CXXDefaultArgExpr::Create(), clang::Error, clang::ParmVarDecl::getDefaultArg(), clang::CXXDefaultArgExpr::getParam(), clang::CXXDefaultArgExpr::getRewrittenExpr(), clang::CXXDefaultArgExpr::getUsedContext(), clang::CXXDefaultArgExpr::getUsedLocation(), clang::CXXDefaultArgExpr::hasRewrittenInit(), and ImportDefaultArgOfParmVarDecl().
| ExpectedStmt ASTNodeImporter::VisitCXXDefaultInitExpr | ( | CXXDefaultInitExpr * | E | ) |
Definition at line 9096 of file ASTImporter.cpp.
References clang::CXXDefaultInitExpr::Create(), clang::CXXDefaultInitExpr::getBeginLoc(), clang::CXXDefaultInitExpr::getField(), clang::FieldDecl::getInClassInitializer(), clang::CXXDefaultInitExpr::getRewrittenExpr(), clang::CXXDefaultInitExpr::getUsedContext(), clang::FieldDecl::hasInClassInitializer(), clang::CXXDefaultInitExpr::hasRewrittenInit(), and clang::FieldDecl::setInClassInitializer().
| ExpectedStmt ASTNodeImporter::VisitCXXDeleteExpr | ( | CXXDeleteExpr * | E | ) |
Definition at line 8588 of file ASTImporter.cpp.
References clang::CXXDeleteExpr::doesUsualArrayDeleteWantSize(), clang::Error, clang::CXXDeleteExpr::getArgument(), clang::CXXDeleteExpr::getBeginLoc(), clang::CXXDeleteExpr::getOperatorDelete(), clang::Expr::getType(), importChecked(), clang::CXXDeleteExpr::isArrayForm(), clang::CXXDeleteExpr::isArrayFormAsWritten(), and clang::CXXDeleteExpr::isGlobalDelete().
| ExpectedStmt ASTNodeImporter::VisitCXXDependentScopeMemberExpr | ( | CXXDependentScopeMemberExpr * | E | ) |
Definition at line 8749 of file ASTImporter.cpp.
References clang::CXXDependentScopeMemberExpr::Create(), clang::Error, clang::CXXDependentScopeMemberExpr::getBase(), clang::CXXDependentScopeMemberExpr::getFirstQualifierFoundInScope(), clang::CXXDependentScopeMemberExpr::getLAngleLoc(), clang::CXXDependentScopeMemberExpr::getMember(), clang::CXXDependentScopeMemberExpr::getMemberLoc(), clang::CXXDependentScopeMemberExpr::getMemberNameInfo(), clang::CXXDependentScopeMemberExpr::getOperatorLoc(), clang::CXXDependentScopeMemberExpr::getQualifierLoc(), clang::CXXDependentScopeMemberExpr::getRAngleLoc(), clang::CXXDependentScopeMemberExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::CXXDependentScopeMemberExpr::hasExplicitTemplateArgs(), importChecked(), ImportDeclarationNameLoc(), ImportTemplateArgumentListInfo(), clang::CXXDependentScopeMemberExpr::isArrow(), clang::CXXDependentScopeMemberExpr::isImplicitAccess(), and clang::CXXDependentScopeMemberExpr::template_arguments().
| ExpectedDecl ASTNodeImporter::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 4327 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
| ExpectedStmt ASTNodeImporter::VisitCXXFoldExpr | ( | CXXFoldExpr * | E | ) |
Definition at line 9241 of file ASTImporter.cpp.
References clang::Error, clang::CXXFoldExpr::getCallee(), clang::CXXFoldExpr::getEllipsisLoc(), clang::CXXFoldExpr::getLHS(), clang::CXXFoldExpr::getLParenLoc(), clang::CXXFoldExpr::getNumExpansions(), clang::CXXFoldExpr::getOperator(), clang::CXXFoldExpr::getRHS(), clang::CXXFoldExpr::getRParenLoc(), clang::Expr::getType(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitCXXForRangeStmt | ( | CXXForRangeStmt * | S | ) |
Definition at line 7429 of file ASTImporter.cpp.
References clang::Error, clang::CXXForRangeStmt::getBeginStmt(), clang::CXXForRangeStmt::getBody(), clang::CXXForRangeStmt::getCoawaitLoc(), clang::CXXForRangeStmt::getColonLoc(), clang::CXXForRangeStmt::getCond(), clang::CXXForRangeStmt::getEndStmt(), clang::CXXForRangeStmt::getForLoc(), clang::CXXForRangeStmt::getInc(), clang::CXXForRangeStmt::getInit(), clang::CXXForRangeStmt::getLoopVarStmt(), clang::CXXForRangeStmt::getRangeStmt(), clang::CXXForRangeStmt::getRParenLoc(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitCXXInheritedCtorInitExpr | ( | CXXInheritedCtorInitExpr * | E | ) |
Definition at line 9063 of file ASTImporter.cpp.
References clang::CXXInheritedCtorInitExpr::constructsVBase(), clang::Error, clang::CXXInheritedCtorInitExpr::getConstructor(), clang::CXXInheritedCtorInitExpr::getLocation(), clang::Expr::getType(), importChecked(), and clang::CXXInheritedCtorInitExpr::inheritedFromVBase().
| ExpectedStmt ASTNodeImporter::VisitCXXMemberCallExpr | ( | CXXMemberCallExpr * | E | ) |
Definition at line 8640 of file ASTImporter.cpp.
References clang::CallExpr::arguments(), clang::CXXMemberCallExpr::Create(), clang::Error, clang::CallExpr::getCallee(), clang::CallExpr::getFPFeatures(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), importChecked(), and ImportContainerChecked().
| ExpectedDecl ASTNodeImporter::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 4319 of file ASTImporter.cpp.
References VisitFunctionDecl().
Referenced by VisitCXXConstructorDecl(), VisitCXXConversionDecl(), and VisitCXXDestructorDecl().
| ExpectedStmt ASTNodeImporter::VisitCXXNamedCastExpr | ( | CXXNamedCastExpr * | E | ) |
Definition at line 9136 of file ASTImporter.cpp.
References clang::CXXConstCastExpr::Create(), clang::CXXDynamicCastExpr::Create(), clang::CXXReinterpretCastExpr::Create(), clang::CXXStaticCastExpr::Create(), clang::Error, clang::CXXNamedCastExpr::getAngleBrackets(), clang::CastExpr::getCastKind(), clang::CXXNamedCastExpr::getOperatorLoc(), clang::CXXNamedCastExpr::getRParenLoc(), clang::CastExpr::getSubExpr(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), clang::Expr::getValueKind(), ImportCastPath(), importChecked(), and clang::isa().
| ExpectedStmt ASTNodeImporter::VisitCXXNewExpr | ( | CXXNewExpr * | E | ) |
Definition at line 8560 of file ASTImporter.cpp.
References clang::CXXNewExpr::Create(), clang::CXXNewExpr::doesUsualArrayDeleteWantSize(), clang::Error, clang::CXXNewExpr::getAllocatedTypeSourceInfo(), clang::CXXNewExpr::getArraySize(), clang::CXXNewExpr::getDirectInitRange(), clang::CXXNewExpr::getInitializationStyle(), clang::CXXNewExpr::getInitializer(), clang::CXXNewExpr::getNumPlacementArgs(), clang::CXXNewExpr::getOperatorDelete(), clang::CXXNewExpr::getOperatorNew(), clang::CXXNewExpr::getSourceRange(), clang::Expr::getType(), clang::CXXNewExpr::getTypeIdParens(), clang::CXXNewExpr::implicitAllocationParameters(), importChecked(), ImportContainerChecked(), clang::CXXNewExpr::isGlobalNew(), and clang::CXXNewExpr::placement_arguments().
| ExpectedStmt ASTNodeImporter::VisitCXXNoexceptExpr | ( | CXXNoexceptExpr * | E | ) |
Definition at line 8358 of file ASTImporter.cpp.
References clang::CT_Can, clang::CT_Cannot, clang::CT_Dependent, clang::Error, clang::CXXNoexceptExpr::getBeginLoc(), clang::CXXNoexceptExpr::getEndLoc(), clang::CXXNoexceptExpr::getOperand(), clang::Expr::getType(), clang::CXXNoexceptExpr::getValue(), importChecked(), and clang::Expr::isValueDependent().
| ExpectedStmt ASTNodeImporter::VisitCXXNullPtrLiteralExpr | ( | CXXNullPtrLiteralExpr * | E | ) |
Definition at line 7810 of file ASTImporter.cpp.
References clang::CXXNullPtrLiteralExpr::getLocation(), and clang::Expr::getType().
| ExpectedStmt ASTNodeImporter::VisitCXXParenListInitExpr | ( | CXXParenListInitExpr * | E | ) |
Definition at line 9331 of file ASTImporter.cpp.
References clang::CXXParenListInitExpr::Create(), clang::Error, clang::CXXParenListInitExpr::getBeginLoc(), clang::CXXParenListInitExpr::getEndLoc(), clang::CXXParenListInitExpr::getInitExprs(), clang::CXXParenListInitExpr::getInitLoc(), clang::Expr::getType(), clang::CXXParenListInitExpr::getUserSpecifiedInitExprs(), importChecked(), and ImportContainerChecked().
| ExpectedStmt ASTNodeImporter::VisitCXXPseudoDestructorExpr | ( | CXXPseudoDestructorExpr * | E | ) |
Definition at line 8719 of file ASTImporter.cpp.
References clang::Error, clang::CXXPseudoDestructorExpr::getBase(), clang::CXXPseudoDestructorExpr::getColonColonLoc(), clang::CXXPseudoDestructorExpr::getDestroyedTypeIdentifier(), clang::CXXPseudoDestructorExpr::getDestroyedTypeInfo(), clang::CXXPseudoDestructorExpr::getDestroyedTypeLoc(), clang::CXXPseudoDestructorExpr::getOperatorLoc(), clang::CXXPseudoDestructorExpr::getQualifierLoc(), clang::CXXPseudoDestructorExpr::getScopeTypeInfo(), clang::CXXPseudoDestructorExpr::getTildeLoc(), importChecked(), and clang::CXXPseudoDestructorExpr::isArrow().
| ExpectedStmt ASTNodeImporter::VisitCXXRewrittenBinaryOperator | ( | CXXRewrittenBinaryOperator * | E | ) |
Definition at line 8106 of file ASTImporter.cpp.
References clang::Error, clang::CXXRewrittenBinaryOperator::getSemanticForm(), importChecked(), and clang::CXXRewrittenBinaryOperator::isReversed().
| ExpectedStmt ASTNodeImporter::VisitCXXScalarValueInitExpr | ( | CXXScalarValueInitExpr * | E | ) |
Definition at line 8430 of file ASTImporter.cpp.
References clang::Error, clang::CXXScalarValueInitExpr::getRParenLoc(), clang::Expr::getType(), clang::CXXScalarValueInitExpr::getTypeSourceInfo(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitCXXStdInitializerListExpr | ( | CXXStdInitializerListExpr * | E | ) |
Definition at line 9049 of file ASTImporter.cpp.
References clang::CXXStdInitializerListExpr::getSubExpr(), and clang::Expr::getType().
| ExpectedStmt ASTNodeImporter::VisitCXXTemporaryObjectExpr | ( | CXXTemporaryObjectExpr * | E | ) |
Definition at line 8459 of file ASTImporter.cpp.
References clang::CXXConstructExpr::arguments(), clang::CXXTemporaryObjectExpr::Create(), clang::Error, clang::CXXConstructExpr::getConstructor(), clang::CXXConstructExpr::getNumArgs(), clang::CXXConstructExpr::getParenOrBraceRange(), clang::Expr::getType(), clang::CXXTemporaryObjectExpr::getTypeSourceInfo(), clang::CXXConstructExpr::hadMultipleCandidates(), importChecked(), ImportContainerChecked(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().
| ExpectedStmt ASTNodeImporter::VisitCXXThisExpr | ( | CXXThisExpr * | E | ) |
Definition at line 8657 of file ASTImporter.cpp.
References clang::CXXThisExpr::Create(), clang::CXXThisExpr::getLocation(), clang::Expr::getType(), and clang::CXXThisExpr::isImplicit().
| ExpectedStmt ASTNodeImporter::VisitCXXThrowExpr | ( | CXXThrowExpr * | E | ) |
Definition at line 8377 of file ASTImporter.cpp.
References clang::Error, clang::CXXThrowExpr::getSubExpr(), clang::CXXThrowExpr::getThrowLoc(), clang::Expr::getType(), importChecked(), and clang::CXXThrowExpr::isThrownVariableInScope().
| ExpectedStmt ASTNodeImporter::VisitCXXTryStmt | ( | CXXTryStmt * | S | ) |
Definition at line 7407 of file ASTImporter.cpp.
References clang::cast(), clang::CXXTryStmt::Create(), clang::CXXTryStmt::getHandler(), clang::CXXTryStmt::getNumHandlers(), clang::CXXTryStmt::getTryBlock(), and clang::CXXTryStmt::getTryLoc().
| ExpectedStmt ASTNodeImporter::VisitCXXTypeidExpr | ( | CXXTypeidExpr * | E | ) |
Definition at line 9216 of file ASTImporter.cpp.
References clang::CXXTypeidExpr::getExprOperand(), clang::CXXTypeidExpr::getSourceRange(), clang::Expr::getType(), clang::CXXTypeidExpr::getTypeOperandSourceInfo(), and clang::CXXTypeidExpr::isTypeOperand().
| ExpectedStmt ASTNodeImporter::VisitCXXUnresolvedConstructExpr | ( | CXXUnresolvedConstructExpr * | E | ) |
Definition at line 8825 of file ASTImporter.cpp.
References clang::CXXUnresolvedConstructExpr::arg_begin(), clang::CXXUnresolvedConstructExpr::arg_end(), clang::CXXUnresolvedConstructExpr::Create(), clang::Error, clang::CXXUnresolvedConstructExpr::getLParenLoc(), clang::CXXUnresolvedConstructExpr::getNumArgs(), clang::CXXUnresolvedConstructExpr::getRParenLoc(), clang::Expr::getType(), clang::CXXUnresolvedConstructExpr::getTypeSourceInfo(), ImportArrayChecked(), importChecked(), and clang::CXXUnresolvedConstructExpr::isListInitialization().
| ExpectedDecl ASTNodeImporter::VisitDecl | ( | Decl * | D | ) |
Definition at line 2731 of file ASTImporter.cpp.
References clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ASTImportError::UnsupportedConstruct.
| ExpectedStmt ASTNodeImporter::VisitDeclRefExpr | ( | DeclRefExpr * | E | ) |
Definition at line 7734 of file ASTImporter.cpp.
References clang::DeclRefExpr::Create(), clang::Error, clang::DeclRefExpr::getDecl(), clang::DeclRefExpr::getFoundDecl(), clang::DeclRefExpr::getLAngleLoc(), clang::DeclRefExpr::getLocation(), clang::DeclRefExpr::getQualifierLoc(), clang::DeclRefExpr::getRAngleLoc(), clang::DeclRefExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::DeclRefExpr::hadMultipleCandidates(), clang::DeclRefExpr::hasExplicitTemplateArgs(), importChecked(), ImportTemplateArgumentListInfo(), clang::DeclRefExpr::isImmediateEscalating(), clang::DeclRefExpr::isNonOdrUse(), clang::DeclRefExpr::refersToEnclosingVariableOrCapture(), and clang::DeclRefExpr::template_arguments().
| ExpectedStmt ASTNodeImporter::VisitDeclStmt | ( | DeclStmt * | S | ) |
Definition at line 7124 of file ASTImporter.cpp.
References clang::Error, clang::DeclStmt::getBeginLoc(), clang::DeclStmt::getDeclGroup(), clang::DeclStmt::getEndLoc(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitDefaultStmt | ( | DefaultStmt * | S | ) |
Definition at line 7182 of file ASTImporter.cpp.
References clang::Error, clang::SwitchCase::getColonLoc(), clang::DefaultStmt::getDefaultLoc(), clang::DefaultStmt::getSubStmt(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitDependentScopeDeclRefExpr | ( | DependentScopeDeclRefExpr * | E | ) |
Definition at line 8796 of file ASTImporter.cpp.
References clang::DependentScopeDeclRefExpr::Create(), clang::Error, clang::DependentScopeDeclRefExpr::getDeclName(), clang::DependentScopeDeclRefExpr::getLAngleLoc(), clang::DeclarationNameInfo::getLoc(), clang::DependentScopeDeclRefExpr::getNameInfo(), clang::DependentScopeDeclRefExpr::getQualifierLoc(), clang::DependentScopeDeclRefExpr::getRAngleLoc(), clang::DependentScopeDeclRefExpr::getTemplateKeywordLoc(), clang::DependentScopeDeclRefExpr::hasExplicitTemplateArgs(), importChecked(), ImportDeclarationNameLoc(), ImportTemplateArgumentListInfo(), and clang::DependentScopeDeclRefExpr::template_arguments().
| ExpectedStmt ASTNodeImporter::VisitDesignatedInitExpr | ( | DesignatedInitExpr * | E | ) |
Definition at line 7781 of file ASTImporter.cpp.
References clang::DesignatedInitExpr::Create(), clang::DesignatedInitExpr::designators(), clang::Error, clang::DesignatedInitExpr::getEqualOrColonLoc(), clang::DesignatedInitExpr::getInit(), clang::DesignatedInitExpr::getNumSubExprs(), clang::DesignatedInitExpr::getSubExpr(), ImportContainerChecked(), clang::DesignatedInitExpr::size(), and clang::DesignatedInitExpr::usesGNUSyntax().
| ExpectedStmt ASTNodeImporter::VisitDoStmt | ( | DoStmt * | S | ) |
Definition at line 7296 of file ASTImporter.cpp.
References clang::Error, clang::DoStmt::getBody(), clang::DoStmt::getCond(), clang::DoStmt::getDoLoc(), clang::DoStmt::getRParenLoc(), clang::DoStmt::getWhileLoc(), and importChecked().
| ExpectedDecl ASTNodeImporter::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 2743 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::Decl::getLocation(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitEnumConstantDecl | ( | EnumConstantDecl * | D | ) |
Definition at line 3507 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::cast(), clang::Error, clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::EnumConstantDecl::getInitExpr(), clang::EnumConstantDecl::getInitVal(), clang::ValueDecl::getType(), clang::Decl::IDNS_Ordinary, ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), IsStructuralMatch(), clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitEnumDecl | ( | EnumDecl * | D | ) |
Definition at line 3197 of file ASTImporter.cpp.
References clang::Error, clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::TypeDecl::getBeginLoc(), clang::TagDecl::getBraceRange(), clang::NamedDecl::getDeclName(), clang::EnumDecl::getDefinition(), clang::EnumDecl::getInstantiatedFromMemberEnum(), clang::EnumDecl::getIntegerType(), clang::EnumDecl::getMemberSpecializationInfo(), clang::EnumDecl::getMostRecentDecl(), clang::TagDecl::getQualifierLoc(), clang::TagDecl::getTypedefNameForAnonDecl(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_Tag, importChecked(), ImportDeclParts(), clang::ASTImporter::ImportDefinition(), clang::ASTImporter::importInto(), clang::TagDecl::isCompleteDefinition(), clang::DeclarationName::isEmpty(), clang::EnumDecl::isFixed(), clang::DeclContext::isFunctionOrMethod(), clang::EnumDecl::isScoped(), clang::EnumDecl::isScopedUsingClassTag(), IsStructuralMatch(), clang::TagDecl::isThisDeclarationADefinition(), 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 8223 of file ASTImporter.cpp.
References clang::cast(), clang::CStyleCastExpr::Create(), clang::CXXFunctionalCastExpr::Create(), clang::Error, clang::CastExpr::getCastKind(), clang::Stmt::getStmtClass(), clang::CastExpr::getSubExpr(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), clang::Expr::getValueKind(), ImportCastPath(), importChecked(), and clang::ASTImportError::UnsupportedConstruct.
| ExpectedStmt ASTNodeImporter::VisitExpr | ( | Expr * | E | ) |
Definition at line 7559 of file ASTImporter.cpp.
References clang::Stmt::getBeginLoc(), clang::Stmt::getStmtClassName(), and clang::ASTImportError::UnsupportedConstruct.
| ExpectedStmt ASTNodeImporter::VisitExpressionTraitExpr | ( | ExpressionTraitExpr * | E | ) |
Definition at line 8133 of file ASTImporter.cpp.
References clang::Error, clang::ExpressionTraitExpr::getBeginLoc(), clang::ExpressionTraitExpr::getEndLoc(), clang::ExpressionTraitExpr::getQueriedExpression(), clang::ExpressionTraitExpr::getTrait(), clang::Expr::getType(), clang::ExpressionTraitExpr::getValue(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitExprWithCleanups | ( | ExprWithCleanups * | E | ) |
Definition at line 8626 of file ASTImporter.cpp.
References clang::ExprWithCleanups::cleanupsHaveSideEffects(), clang::ExprWithCleanups::Create(), clang::Error, clang::ExprWithCleanups::getNumObjects(), clang::ExprWithCleanups::getObjects(), clang::FullExpr::getSubExpr(), and ImportContainerChecked().
| ExpectedDecl ASTNodeImporter::VisitFieldDecl | ( | FieldDecl * | D | ) |
Definition at line 4340 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::cast(), clang::Error, clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::FieldDecl::getBitWidth(), clang::FieldDecl::getCapturedVLAType(), clang::ASTImporter::getFieldIndex(), clang::FieldDecl::getInClassInitializer(), clang::FieldDecl::getInClassInitStyle(), clang::DeclaratorDecl::getInnerLocStart(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), importChecked(), ImportDeclParts(), clang::Decl::isImplicit(), clang::FieldDecl::isMutable(), clang::ASTImportError::NameConflict, clang::Decl::setAccess(), clang::FieldDecl::setCapturedVLAType(), clang::Decl::setImplicit(), clang::FieldDecl::setInClassInitializer(), and clang::Decl::setLexicalDeclContext().
| ExpectedStmt ASTNodeImporter::VisitFixedPointLiteral | ( | FixedPointLiteral * | E | ) |
Definition at line 7864 of file ASTImporter.cpp.
References clang::FixedPointLiteral::getLocation(), clang::Expr::getType(), and clang::FixedPointLiteral::getValue().
| ExpectedStmt ASTNodeImporter::VisitFloatingLiteral | ( | FloatingLiteral * | E | ) |
Definition at line 7837 of file ASTImporter.cpp.
References clang::FloatingLiteral::Create(), clang::FloatingLiteral::getLocation(), clang::Expr::getType(), clang::FloatingLiteral::getValue(), and clang::FloatingLiteral::isExact().
| ExpectedStmt ASTNodeImporter::VisitForStmt | ( | ForStmt * | S | ) |
Definition at line 7311 of file ASTImporter.cpp.
References clang::Error, clang::ForStmt::getBody(), clang::ForStmt::getCond(), clang::ForStmt::getConditionVariable(), clang::ForStmt::getForLoc(), clang::ForStmt::getInc(), clang::ForStmt::getInit(), clang::ForStmt::getLParenLoc(), clang::ForStmt::getRParenLoc(), and importChecked().
| ExpectedDecl ASTNodeImporter::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 4554 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::cast(), clang::Error, clang::Decl::FOK_None, clang::Decl::getAccess(), clang::FriendDecl::getEllipsisLoc(), getFriendCountAndPosition(), clang::FriendDecl::getFriendDecl(), clang::FriendDecl::getFriendLoc(), clang::FriendDecl::getFriendType(), clang::Decl::getLocation(), clang::Decl::IDNS_NonMemberOperator, ImportDeclContext(), clang::ASTImporter::importInto(), FriendCountAndPosition::IndexOfDecl, IsEquivalentFriend(), clang::Decl::setAccess(), clang::Decl::setLexicalDeclContext(), clang::Decl::setObjectOfFriendDecl(), and FriendCountAndPosition::TotalCount.
| ExpectedDecl ASTNodeImporter::VisitFunctionDecl | ( | FunctionDecl * | D | ) |
Definition at line 3921 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::cast(), clang::AssociatedConstraint::ConstraintExpr, clang::FunctionDecl::DefaultedOrDeletedFunctionInfo::Create(), clang::FunctionDecl::doesThisDeclarationHaveABody(), clang::Error, clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, FindFunctionTemplateSpecialization(), clang::FunctionDecl::FriendConstraintRefersToEnclosingTemplate(), clang::Decl::getAccess(), clang::Type::getAs(), clang::DeclaratorDecl::getBeginLoc(), clang::getCanonicalForwardRedeclChain(), clang::FunctionDecl::getConstexprKind(), clang::Decl::getDeclContext(), clang::FunctionDecl::getDefaultLoc(), clang::FunctionDecl::getDeletedMessage(), clang::FunctionDecl::getDescribedFunctionTemplate(), clang::Decl::getEndLoc(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLexicalDeclContext(), clang::FunctionDecl::getMostRecentDecl(), clang::FunctionDecl::getNameInfo(), clang::DeclaratorDecl::getQualifierLoc(), clang::CXXDeductionGuideDecl::getSourceDeductionGuideKind(), clang::FunctionDecl::getStorageClass(), clang::FunctionDecl::getTemplatedKind(), clang::DeclaratorDecl::getTrailingRequiresClause(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), hasReturnTypeDeclaredInside(), hasSameVisibilityContextAndLinkage(), clang::FunctionDecl::hasWrittenPrototype(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_OrdinaryFriend, importChecked(), ImportContainerChecked(), ImportDeclarationNameLoc(), ImportDeclParts(), clang::ASTImporter::Imported(), ImportFunctionDeclBody(), ImportOverriddenMethods(), ImportTemplateInformation(), clang::isa(), clang::FunctionDecl::isDefaulted(), clang::FunctionDecl::isDeletedAsWritten(), clang::FunctionDecl::isDestroyingOperatorDelete(), clang::FunctionDecl::isExplicitlyDefaulted(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isImplicit(), clang::FunctionDecl::isInlineSpecified(), clang::FunctionDecl::isPureVirtual(), IsStructuralMatch(), clang::FunctionDecl::isTrivial(), clang::FunctionDecl::isTypeAwareOperatorNewOrDelete(), clang::FunctionDecl::isVirtualAsWritten(), clang::Method, clang::FunctionProtoType::ExceptionSpecInfo::NoexceptExpr, clang::StmtVisitorBase< std::add_pointer, ASTNodeImporter, ExpectedStmt, ParamTys... >::P, clang::FunctionDecl::parameters(), 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, and clang::FunctionDecl::UsesFPIntrin().
Referenced by VisitCXXDeductionGuideDecl(), and VisitCXXMethodDecl().
| ExpectedDecl ASTNodeImporter::VisitFunctionTemplateDecl | ( | FunctionTemplateDecl * | D | ) |
Definition at line 6864 of file ASTImporter.cpp.
References clang::Error, clang::Decl::getAccess(), clang::Decl::getDeclContext(), clang::Decl::getDescribedTemplate(), clang::FunctionDecl::getMostRecentDecl(), clang::FunctionTemplateDecl::getMostRecentDecl(), clang::TemplateParameterList::getParam(), clang::FunctionDecl::getPreviousDecl(), clang::FunctionTemplateDecl::getTemplatedDecl(), getTemplateDefinition(), clang::TemplateDecl::getTemplateParameters(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_OrdinaryFriend, ImportDeclParts(), clang::ASTImporter::importInto(), clang::DeclContext::isFunctionOrMethod(), IsStructuralMatch(), clang::FunctionTemplateDecl::isThisDeclarationADefinition(), clang::ASTImportError::NameConflict, clang::FunctionDecl::setDescribedFunctionTemplate(), clang::Redeclarable< decl_type >::setPreviousDecl(), and clang::TemplateParameterList::size().
| ExpectedStmt ASTNodeImporter::VisitGCCAsmStmt | ( | GCCAsmStmt * | S | ) |
Definition at line 7042 of file ASTImporter.cpp.
References clang::Error, clang::AsmStmt::getAsmLoc(), clang::GCCAsmStmt::getAsmStringExpr(), clang::GCCAsmStmt::getClobberExpr(), clang::GCCAsmStmt::getInputConstraintExpr(), clang::GCCAsmStmt::getInputIdentifier(), clang::AsmStmt::getNumClobbers(), clang::AsmStmt::getNumInputs(), clang::GCCAsmStmt::getNumLabels(), clang::AsmStmt::getNumOutputs(), clang::GCCAsmStmt::getOutputConstraintExpr(), clang::GCCAsmStmt::getOutputIdentifier(), clang::GCCAsmStmt::getRParenLoc(), ImportArrayChecked(), ImportContainerChecked(), clang::AsmStmt::inputs(), clang::AsmStmt::isSimple(), clang::AsmStmt::isVolatile(), clang::GCCAsmStmt::labels(), clang::AsmStmt::outputs(), and clang::ASTImportError::UnsupportedConstruct.
| ExpectedStmt ASTNodeImporter::VisitGenericSelectionExpr | ( | GenericSelectionExpr * | E | ) |
Definition at line 7668 of file ASTImporter.cpp.
References clang::Expr::containsUnexpandedParameterPack(), clang::GenericSelectionExpr::Create(), clang::Error, clang::GenericSelectionExpr::getAssocExprs(), clang::GenericSelectionExpr::getAssocTypeSourceInfos(), clang::GenericSelectionExpr::getControllingExpr(), clang::GenericSelectionExpr::getControllingType(), clang::GenericSelectionExpr::getDefaultLoc(), clang::GenericSelectionExpr::getGenericLoc(), clang::GenericSelectionExpr::getResultIndex(), clang::GenericSelectionExpr::getRParenLoc(), importChecked(), ImportContainerChecked(), clang::GenericSelectionExpr::isExprPredicate(), and clang::GenericSelectionExpr::isResultDependent().
| ExpectedStmt ASTNodeImporter::VisitGNUNullExpr | ( | GNUNullExpr * | E | ) |
Definition at line 7655 of file ASTImporter.cpp.
References clang::GNUNullExpr::getBeginLoc(), and clang::Expr::getType().
| ExpectedStmt ASTNodeImporter::VisitGotoStmt | ( | GotoStmt * | S | ) |
Definition at line 7331 of file ASTImporter.cpp.
References clang::Error, clang::GotoStmt::getGotoLoc(), clang::GotoStmt::getLabel(), clang::GotoStmt::getLabelLoc(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitIfStmt | ( | IfStmt * | S | ) |
Definition at line 7224 of file ASTImporter.cpp.
References clang::IfStmt::Create(), clang::Error, clang::IfStmt::getCond(), clang::IfStmt::getConditionVariable(), clang::IfStmt::getElse(), clang::IfStmt::getElseLoc(), clang::IfStmt::getIfLoc(), clang::IfStmt::getInit(), clang::IfStmt::getLParenLoc(), clang::IfStmt::getRParenLoc(), clang::IfStmt::getStatementKind(), clang::IfStmt::getThen(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitImaginaryLiteral | ( | ImaginaryLiteral * | E | ) |
Definition at line 7851 of file ASTImporter.cpp.
References clang::ImaginaryLiteral::getSubExpr(), and clang::Expr::getType().
| ExpectedStmt ASTNodeImporter::VisitImplicitCastExpr | ( | ImplicitCastExpr * | E | ) |
Definition at line 8205 of file ASTImporter.cpp.
References clang::ImplicitCastExpr::Create(), clang::CastExpr::getCastKind(), clang::CastExpr::getFPFeatures(), clang::CastExpr::getSubExpr(), clang::Expr::getType(), clang::Expr::getValueKind(), and ImportCastPath().
| ExpectedDecl ASTNodeImporter::VisitImplicitConceptSpecializationDecl | ( | ImplicitConceptSpecializationDecl * | D | ) |
Definition at line 7011 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::Decl::getLocation(), clang::ImplicitConceptSpecializationDecl::getTemplateArguments(), importChecked(), ImportDeclContext(), clang::ASTImporter::ImportTemplateArguments(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitImplicitParamDecl | ( | ImplicitParamDecl * | D | ) |
Definition at line 4858 of file ASTImporter.cpp.
References clang::Error, clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::ImplicitParamDecl::getParameterKind(), clang::ValueDecl::getType(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitImplicitValueInitExpr | ( | ImplicitValueInitExpr * | E | ) |
Definition at line 7773 of file ASTImporter.cpp.
References clang::Expr::getType().
| ExpectedDecl ASTNodeImporter::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 2737 of file ASTImporter.cpp.
References clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ASTImportError::UnsupportedConstruct.
| ExpectedDecl ASTNodeImporter::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | D | ) |
Definition at line 4438 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::IndirectFieldDecl::chain(), clang::Error, clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::IndirectFieldDecl::getChainingSize(), clang::ASTImporter::getFieldIndex(), clang::ValueDecl::getType(), ImportDeclParts(), clang::DeclarationName::isEmpty(), clang::ASTImportError::NameConflict, clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
| ExpectedStmt ASTNodeImporter::VisitIndirectGotoStmt | ( | IndirectGotoStmt * | S | ) |
Definition at line 7344 of file ASTImporter.cpp.
References clang::Error, clang::IndirectGotoStmt::getGotoLoc(), clang::IndirectGotoStmt::getStarLoc(), clang::IndirectGotoStmt::getTarget(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitInitListExpr | ( | InitListExpr * | E | ) |
Definition at line 9004 of file ASTImporter.cpp.
References clang::Error, clang::InitListExpr::getArrayFiller(), clang::InitListExpr::getInitializedFieldInUnion(), clang::InitListExpr::getLBraceLoc(), clang::InitListExpr::getNumInits(), clang::InitListExpr::getRBraceLoc(), clang::InitListExpr::getSyntacticForm(), clang::Expr::getType(), clang::InitListExpr::hadArrayRangeDesignator(), clang::InitListExpr::hasArrayFiller(), importChecked(), ImportContainerChecked(), clang::InitListExpr::inits(), clang::InitListExpr::sawArrayRangeDesignator(), clang::InitListExpr::setArrayFiller(), clang::InitListExpr::setInitializedFieldInUnion(), clang::InitListExpr::setSyntacticForm(), and clang::Expr::setType().
| ExpectedStmt ASTNodeImporter::VisitIntegerLiteral | ( | IntegerLiteral * | E | ) |
Definition at line 7823 of file ASTImporter.cpp.
References clang::IntegerLiteral::Create(), clang::IntegerLiteral::getLocation(), clang::Expr::getType(), and clang::APIntStorage::getValue().
| ExpectedDecl ASTNodeImporter::VisitLabelDecl | ( | LabelDecl * | D | ) |
Definition at line 3158 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::DeclarationName::getAsIdentifierInfo(), clang::Decl::getBeginLoc(), clang::LabelDecl::getStmt(), ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), clang::LabelDecl::isGnuLocal(), clang::Decl::setLexicalDeclContext(), and clang::LabelDecl::setStmt().
| ExpectedStmt ASTNodeImporter::VisitLabelStmt | ( | LabelStmt * | S | ) |
Definition at line 7195 of file ASTImporter.cpp.
References clang::Error, clang::LabelStmt::getDecl(), clang::LabelStmt::getIdentLoc(), clang::LabelStmt::getSubStmt(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitLambdaExpr | ( | LambdaExpr * | LE | ) |
Definition at line 8974 of file ASTImporter.cpp.
References clang::LambdaExpr::capture_inits(), clang::LambdaExpr::capture_size(), clang::Expr::containsUnexpandedParameterPack(), clang::LambdaExpr::Create(), clang::Error, clang::LambdaExpr::getCallOperator(), clang::LambdaExpr::getCaptureDefault(), clang::LambdaExpr::getCaptureDefaultLoc(), clang::LambdaExpr::getEndLoc(), clang::LambdaExpr::getIntroducerRange(), clang::LambdaExpr::getLambdaClass(), clang::LambdaExpr::hasExplicitParameters(), clang::LambdaExpr::hasExplicitResultType(), importChecked(), and ImportContainerChecked().
| ExpectedDecl ASTNodeImporter::VisitLifetimeExtendedTemporaryDecl | ( | LifetimeExtendedTemporaryDecl * | D | ) |
Definition at line 8479 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::LifetimeExtendedTemporaryDecl::getExtendingDecl(), clang::LifetimeExtendedTemporaryDecl::getManglingNumber(), clang::LifetimeExtendedTemporaryDecl::getTemporaryExpr(), importChecked(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 5317 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::LinkageSpecDecl::getExternLoc(), clang::LinkageSpecDecl::getLanguage(), clang::Decl::getLocation(), clang::LinkageSpecDecl::getRBraceLoc(), clang::LinkageSpecDecl::hasBraces(), ImportDeclContext(), clang::Decl::setLexicalDeclContext(), and clang::LinkageSpecDecl::setRBraceLoc().
| ExpectedStmt ASTNodeImporter::VisitMaterializeTemporaryExpr | ( | MaterializeTemporaryExpr * | E | ) |
Definition at line 8503 of file ASTImporter.cpp.
References clang::cast(), clang::Error, clang::MaterializeTemporaryExpr::getLifetimeExtendedTemporaryDecl(), clang::MaterializeTemporaryExpr::getSubExpr(), clang::Expr::getType(), importChecked(), and clang::MaterializeTemporaryExpr::isBoundToLvalueReference().
| ExpectedStmt ASTNodeImporter::VisitMemberExpr | ( | MemberExpr * | E | ) |
Definition at line 8683 of file ASTImporter.cpp.
References clang::MemberExpr::Create(), clang::Error, clang::DeclAccessPair::getAccess(), clang::MemberExpr::getBase(), clang::DeclAccessPair::getDecl(), clang::MemberExpr::getFoundDecl(), clang::MemberExpr::getLAngleLoc(), clang::DeclarationNameInfo::getLoc(), clang::MemberExpr::getMemberDecl(), clang::MemberExpr::getMemberNameInfo(), clang::DeclarationNameInfo::getName(), clang::Expr::getObjectKind(), clang::MemberExpr::getOperatorLoc(), clang::MemberExpr::getQualifierLoc(), clang::MemberExpr::getRAngleLoc(), clang::MemberExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::MemberExpr::hasExplicitTemplateArgs(), importChecked(), ImportTemplateArgumentListInfo(), clang::MemberExpr::isArrow(), clang::MemberExpr::isNonOdrUse(), clang::DeclAccessPair::make(), and clang::MemberExpr::template_arguments().
| ExpectedDecl ASTNodeImporter::VisitNamespaceAliasDecl | ( | NamespaceAliasDecl * | D | ) |
Definition at line 2938 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::NamespaceAliasDecl::getAliasLoc(), clang::NamedDecl::getIdentifier(), clang::NamespaceAliasDecl::getNamespace(), clang::NamespaceAliasDecl::getNamespaceLoc(), clang::NamespaceAliasDecl::getQualifierLoc(), clang::NamespaceAliasDecl::getTargetNameLoc(), importChecked(), ImportDeclParts(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 2854 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::cast(), clang::Error, clang::NamespaceDecl::getAnonymousNamespace(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamespaceDecl::getBeginLoc(), clang::DeclContext::getEnclosingNamespaceContext(), clang::NamespaceDecl::getRBraceLoc(), clang::Decl::IDNS_Namespace, ImportDeclContext(), ImportDeclParts(), clang::NamespaceDecl::isInline(), clang::NamespaceDecl::isNested(), clang::Decl::setLexicalDeclContext(), and clang::NamespaceDecl::setRBraceLoc().
| ExpectedDecl ASTNodeImporter::VisitNonTypeTemplateParmDecl | ( | NonTypeTemplateParmDecl * | D | ) |
Definition at line 6169 of file ASTImporter.cpp.
References clang::Error, clang::NamedDecl::getDeclName(), clang::NonTypeTemplateParmDecl::getDepth(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), clang::NonTypeTemplateParmDecl::getPosition(), clang::Decl::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), importChecked(), and clang::NonTypeTemplateParmDecl::isParameterPack().
| ExpectedStmt ASTNodeImporter::VisitNullStmt | ( | NullStmt * | S | ) |
Definition at line 7135 of file ASTImporter.cpp.
References clang::NullStmt::getSemiLoc(), and clang::NullStmt::hasLeadingEmptyMacro().
| ExpectedStmt ASTNodeImporter::VisitObjCAtCatchStmt | ( | ObjCAtCatchStmt * | S | ) |
Definition at line 7470 of file ASTImporter.cpp.
References clang::Error, clang::ObjCAtCatchStmt::getAtCatchLoc(), clang::ObjCAtCatchStmt::getCatchBody(), clang::ObjCAtCatchStmt::getCatchParamDecl(), clang::ObjCAtCatchStmt::getRParenLoc(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitObjCAtFinallyStmt | ( | ObjCAtFinallyStmt * | S | ) |
Definition at line 7484 of file ASTImporter.cpp.
References clang::ObjCAtFinallyStmt::getAtFinallyLoc(), and clang::ObjCAtFinallyStmt::getFinallyBody().
| ExpectedStmt ASTNodeImporter::VisitObjCAtSynchronizedStmt | ( | ObjCAtSynchronizedStmt * | S | ) |
Definition at line 7520 of file ASTImporter.cpp.
References clang::Error, clang::ObjCAtSynchronizedStmt::getAtSynchronizedLoc(), clang::ObjCAtSynchronizedStmt::getSynchBody(), clang::ObjCAtSynchronizedStmt::getSynchExpr(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitObjCAtThrowStmt | ( | ObjCAtThrowStmt * | S | ) |
Definition at line 7533 of file ASTImporter.cpp.
References clang::ObjCAtThrowStmt::getThrowExpr(), and clang::ObjCAtThrowStmt::getThrowLoc().
| ExpectedStmt ASTNodeImporter::VisitObjCAtTryStmt | ( | ObjCAtTryStmt * | S | ) |
Definition at line 7495 of file ASTImporter.cpp.
References clang::ObjCAtTryStmt::Create(), clang::Error, clang::ObjCAtTryStmt::getAtTryLoc(), clang::ObjCAtTryStmt::getCatchStmt(), clang::ObjCAtTryStmt::getFinallyStmt(), clang::ObjCAtTryStmt::getNumCatchStmts(), clang::ObjCAtTryStmt::getTryBody(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitObjCAutoreleasePoolStmt | ( | ObjCAutoreleasePoolStmt * | S | ) |
Definition at line 7544 of file ASTImporter.cpp.
References clang::ObjCAutoreleasePoolStmt::getAtLoc(), and clang::ObjCAutoreleasePoolStmt::getSubStmt().
| ExpectedDecl ASTNodeImporter::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
Definition at line 5125 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::ObjCInterfaceDecl::FindCategoryDeclaration(), clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCCategoryDecl::getCategoryNameLoc(), clang::ObjCCategoryDecl::getClassInterface(), clang::ObjCCategoryDecl::getImplementation(), clang::ObjCCategoryDecl::getIvarLBraceLoc(), clang::ObjCCategoryDecl::getIvarRBraceLoc(), clang::ObjCCategoryDecl::getTypeParamList(), importChecked(), ImportDeclContext(), ImportDeclParts(), clang::ASTImporter::importInto(), ImportObjCTypeParamList(), clang::ObjCCategoryDecl::protocol_begin(), clang::ObjCCategoryDecl::protocol_end(), clang::ObjCCategoryDecl::protocol_loc_begin(), clang::ObjCCategoryDecl::setImplementation(), clang::Decl::setLexicalDeclContext(), clang::ObjCCategoryDecl::setProtocolList(), and clang::ObjCCategoryDecl::setTypeParamList().
| ExpectedDecl ASTNodeImporter::VisitObjCCategoryImplDecl | ( | ObjCCategoryImplDecl * | D | ) |
Definition at line 5849 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCCategoryImplDecl::getCategoryDecl(), clang::ObjCCategoryImplDecl::getCategoryNameLoc(), clang::NamedDecl::getIdentifier(), clang::Decl::getLocation(), importChecked(), ImportDeclContext(), clang::ASTImporter::importInto(), and clang::Decl::setLexicalDeclContext().
| ExpectedStmt ASTNodeImporter::VisitObjCForCollectionStmt | ( | ObjCForCollectionStmt * | S | ) |
Definition at line 7453 of file ASTImporter.cpp.
References clang::Error, clang::ObjCForCollectionStmt::getBody(), clang::ObjCForCollectionStmt::getCollection(), clang::ObjCForCollectionStmt::getElement(), clang::ObjCForCollectionStmt::getForLoc(), clang::ObjCForCollectionStmt::getRParenLoc(), and importChecked().
| ExpectedDecl ASTNodeImporter::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |
Definition at line 5886 of file ASTImporter.cpp.
References clang::declaresSameEntity(), clang::Error, clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCInterfaceDecl::getCanonicalDecl(), clang::ObjCImplDecl::getClassInterface(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getImplementation(), clang::ObjCImplementationDecl::getIvarLBraceLoc(), clang::ObjCImplementationDecl::getIvarRBraceLoc(), clang::Decl::getLocation(), clang::ObjCImplementationDecl::getSuperClass(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCImplementationDecl::getSuperClassLoc(), importChecked(), ImportDeclContext(), clang::ASTImporter::importInto(), clang::ASTImportError::NameConflict, and clang::ObjCInterfaceDecl::setImplementation().
| ExpectedDecl ASTNodeImporter::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 5783 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Definition, clang::Error, clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCInterfaceDecl::getDefinition(), clang::ObjCInterfaceDecl::getTypeParamListAsWritten(), clang::Decl::IDNS_Ordinary, ImportDeclParts(), clang::ASTImporter::ImportDefinition(), ImportObjCTypeParamList(), clang::ObjCInterfaceDecl::isImplicitInterfaceDecl(), clang::ObjCInterfaceDecl::isThisDeclarationADefinition(), clang::Decl::setLexicalDeclContext(), and clang::ObjCInterfaceDecl::setTypeParamList().
| ExpectedDecl ASTNodeImporter::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 4629 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::cast(), clang::Error, clang::ObjCIvarDecl::getAccessControl(), clang::DeclarationName::getAsIdentifierInfo(), clang::FieldDecl::getBitWidth(), clang::DeclaratorDecl::getInnerLocStart(), clang::ObjCIvarDecl::getSynthesize(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), importChecked(), ImportDeclParts(), clang::ASTImportError::NameConflict, and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 4957 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCMethodDecl::createImplicitParams(), clang::Error, clang::ObjCMethodDecl::getClassInterface(), clang::ObjCMethodDecl::getEndLoc(), clang::ObjCMethodDecl::getImplementationControl(), clang::DeclarationName::getObjCSelector(), clang::ObjCMethodDecl::getReturnType(), clang::ObjCMethodDecl::getReturnTypeSourceInfo(), clang::ObjCMethodDecl::getSelectorLocs(), clang::ObjCMethodDecl::getSelfDecl(), clang::ObjCMethodDecl::hasRelatedResultType(), importChecked(), ImportContainerChecked(), ImportDeclParts(), clang::ObjCMethodDecl::isDefined(), clang::Decl::isImplicit(), clang::ObjCMethodDecl::isInstanceMethod(), clang::ObjCMethodDecl::isPropertyAccessor(), clang::ObjCMethodDecl::isSynthesizedAccessorStub(), clang::ObjCMethodDecl::isVariadic(), clang::ASTImportError::NameConflict, clang::StmtVisitorBase< std::add_pointer, ASTNodeImporter, ExpectedStmt, ParamTys... >::P, clang::ObjCMethodDecl::param_begin(), clang::ObjCMethodDecl::param_end(), clang::ObjCMethodDecl::param_size(), clang::ObjCMethodDecl::parameters(), clang::Decl::setLexicalDeclContext(), and clang::ObjCMethodDecl::setMethodParams().
| ExpectedDecl ASTNodeImporter::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |
Definition at line 5968 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCPropertyDecl::getAtLoc(), clang::ObjCPropertyDecl::getGetterMethodDecl(), clang::ObjCPropertyDecl::getGetterName(), clang::ObjCPropertyDecl::getGetterNameLoc(), clang::ObjCPropertyDecl::getLParenLoc(), clang::ObjCPropertyDecl::getPropertyAttributes(), clang::ObjCPropertyDecl::getPropertyAttributesAsWritten(), clang::ObjCPropertyDecl::getPropertyImplementation(), clang::ObjCPropertyDecl::getPropertyIvarDecl(), clang::ObjCPropertyDecl::getSetterMethodDecl(), clang::ObjCPropertyDecl::getSetterName(), clang::ObjCPropertyDecl::getSetterNameLoc(), clang::ObjCPropertyDecl::getType(), clang::ObjCPropertyDecl::getTypeSourceInfo(), importChecked(), ImportDeclParts(), clang::ObjCPropertyDecl::isInstanceProperty(), clang::ASTImportError::NameConflict, clang::ObjCPropertyDecl::setGetterMethodDecl(), clang::ObjCPropertyDecl::setGetterName(), clang::Decl::setLexicalDeclContext(), clang::ObjCPropertyDecl::setPropertyAttributes(), clang::ObjCPropertyDecl::setPropertyAttributesAsWritten(), clang::ObjCPropertyDecl::setPropertyIvarDecl(), clang::ObjCPropertyDecl::setSetterMethodDecl(), and clang::ObjCPropertyDecl::setSetterName().
| ExpectedDecl ASTNodeImporter::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 6049 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::cast(), clang::ObjCPropertyImplDecl::Dynamic, clang::Error, clang::ObjCPropertyImplDecl::getBeginLoc(), clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::ObjCPropertyImplDecl::getPropertyDecl(), clang::ObjCPropertyImplDecl::getPropertyImplementation(), clang::ObjCPropertyImplDecl::getPropertyIvarDecl(), clang::ObjCPropertyImplDecl::getPropertyIvarDeclLoc(), importChecked(), ImportDeclContext(), clang::ASTImporter::importInto(), clang::ASTImportError::NameConflict, clang::Property, clang::Decl::setLexicalDeclContext(), and clang::ObjCPropertyImplDecl::Synthesize.
| ExpectedDecl ASTNodeImporter::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 5261 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Definition, clang::Error, clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCProtocolDecl::getDefinition(), clang::Decl::IDNS_ObjCProtocol, ImportDeclParts(), clang::ASTImporter::ImportDefinition(), clang::ObjCProtocolDecl::isThisDeclarationADefinition(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 5089 of file ASTImporter.cpp.
References clang::Error, clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCTypeParamDecl::getColonLoc(), clang::ObjCTypeParamDecl::getIndex(), clang::Decl::getLocation(), clang::ObjCTypeParamDecl::getTypeForDecl(), clang::TypedefNameDecl::getTypeSourceInfo(), clang::ObjCTypeParamDecl::getVariance(), clang::ObjCTypeParamDecl::getVarianceLoc(), importChecked(), ImportDeclParts(), and clang::Result.
| ExpectedStmt ASTNodeImporter::VisitOffsetOfExpr | ( | OffsetOfExpr * | OE | ) |
Definition at line 8295 of file ASTImporter.cpp.
References clang::OffsetOfNode::Array, clang::OffsetOfNode::Base, clang::OffsetOfExpr::Create(), clang::Error, clang::OffsetOfNode::Field, clang::OffsetOfNode::getArrayExprIndex(), clang::OffsetOfNode::getBase(), clang::OffsetOfNode::getBeginLoc(), clang::OffsetOfExpr::getComponent(), clang::OffsetOfNode::getEndLoc(), clang::OffsetOfNode::getField(), clang::OffsetOfNode::getFieldName(), clang::OffsetOfExpr::getIndexExpr(), clang::OffsetOfNode::getKind(), clang::OffsetOfExpr::getNumComponents(), clang::OffsetOfExpr::getNumExpressions(), clang::OffsetOfExpr::getOperatorLoc(), clang::OffsetOfExpr::getRParenLoc(), clang::Expr::getType(), clang::OffsetOfExpr::getTypeSourceInfo(), clang::OffsetOfNode::Identifier, and importChecked().
| ExpectedStmt ASTNodeImporter::VisitOpaqueValueExpr | ( | OpaqueValueExpr * | E | ) |
Definition at line 8147 of file ASTImporter.cpp.
References clang::Error, clang::OpaqueValueExpr::getLocation(), clang::Expr::getObjectKind(), clang::OpaqueValueExpr::getSourceExpr(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitPackExpansionExpr | ( | PackExpansionExpr * | E | ) |
Definition at line 8523 of file ASTImporter.cpp.
References clang::Error, clang::PackExpansionExpr::getEllipsisLoc(), clang::PackExpansionExpr::getNumExpansions(), clang::PackExpansionExpr::getPattern(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitParenExpr | ( | ParenExpr * | E | ) |
Definition at line 7962 of file ASTImporter.cpp.
References clang::Error, clang::ParenExpr::getLParen(), clang::ParenExpr::getRParen(), clang::ParenExpr::getSubExpr(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitParenListExpr | ( | ParenListExpr * | E | ) |
Definition at line 7974 of file ASTImporter.cpp.
References clang::ParenListExpr::Create(), clang::Error, clang::ParenListExpr::exprs(), clang::ParenListExpr::getLParenLoc(), clang::ParenListExpr::getNumExprs(), clang::ParenListExpr::getRParenLoc(), and ImportContainerChecked().
| ExpectedDecl ASTNodeImporter::VisitParmVarDecl | ( | ParmVarDecl * | D | ) |
Definition at line 4918 of file ASTImporter.cpp.
References clang::Error, clang::NamedDecl::getDeclName(), clang::ParmVarDecl::getFunctionScopeDepth(), clang::ParmVarDecl::getFunctionScopeIndex(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), clang::ParmVarDecl::getObjCDeclQualifier(), clang::VarDecl::getStorageClass(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), importChecked(), ImportDefaultArgOfParmVarDecl(), clang::ParmVarDecl::isObjCMethodParameter(), clang::ParmVarDecl::setObjCDeclQualifier(), clang::ParmVarDecl::setObjCMethodScopeInfo(), and clang::ParmVarDecl::setScopeInfo().
| ExpectedStmt ASTNodeImporter::VisitPredefinedExpr | ( | PredefinedExpr * | E | ) |
Definition at line 7720 of file ASTImporter.cpp.
References clang::PredefinedExpr::Create(), clang::Error, clang::PredefinedExpr::getBeginLoc(), clang::PredefinedExpr::getFunctionName(), clang::PredefinedExpr::getIdentKind(), clang::Expr::getType(), importChecked(), and clang::PredefinedExpr::isTransparent().
| ExpectedStmt ASTNodeImporter::VisitPseudoObjectExpr | ( | PseudoObjectExpr * | E | ) |
Definition at line 9319 of file ASTImporter.cpp.
References clang::PseudoObjectExpr::Create(), clang::Error, clang::PseudoObjectExpr::getNumSemanticExprs(), clang::PseudoObjectExpr::getResultExprIndex(), clang::PseudoObjectExpr::getSyntacticForm(), ImportContainerChecked(), and clang::PseudoObjectExpr::semantics().
| ExpectedDecl ASTNodeImporter::VisitRecordDecl | ( | RecordDecl * | D | ) |
Definition at line 3308 of file ASTImporter.cpp.
References clang::ExternalASTSource::CompleteType(), clang::CXXRecordDecl::LambdaNumbering::ContextDecl, clang::CXXRecordDecl::CreateLambda(), clang::Error, clang::Decl::FOK_None, clang::Found, clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::Decl::getASTContext(), clang::TypeDecl::getBeginLoc(), clang::TagDecl::getBraceRange(), clang::NamedDecl::getDeclName(), clang::RecordDecl::getDefinition(), clang::ASTContext::getExternalSource(), clang::CXXRecordDecl::getInstantiatedFromMemberClass(), clang::CXXRecordDecl::getMemberSpecializationInfo(), clang::RecordDecl::getMostRecentDecl(), clang::TagDecl::getQualifierLoc(), clang::TagDecl::getTagKind(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::DeclContext::hasExternalLexicalStorage(), hasSameVisibilityContextAndLinkage(), IDK_Default, clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_Tag, clang::Decl::IDNS_TagFriend, ImportDeclParts(), clang::ASTImporter::ImportDefinition(), ImportImplicitMethods(), clang::ASTImporter::importInto(), clang::RecordDecl::isAnonymousStructOrUnion(), clang::TagDecl::isCompleteDefinition(), clang::DeclContext::isDependentContext(), clang::DeclContext::isFunctionOrMethod(), clang::RecordDecl::isLambda(), IsStructuralMatch(), clang::TagDecl::isThisDeclarationADefinition(), 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 9260 of file ASTImporter.cpp.
References clang::RequiresExpr::Create(), clang::Error, clang::RequiresExpr::getBody(), clang::RequiresExpr::getLocalParameters(), clang::RequiresExpr::getLParenLoc(), clang::RequiresExpr::getRBraceLoc(), clang::RequiresExpr::getRequirements(), clang::RequiresExpr::getRequiresKWLoc(), clang::RequiresExpr::getRParenLoc(), ImportArrayChecked(), and importChecked().
| ExpectedDecl ASTNodeImporter::VisitRequiresExprBodyDecl | ( | RequiresExprBodyDecl * | E | ) |
Definition at line 6996 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::Decl::getLocation(), importChecked(), ImportDeclContext(), and clang::Decl::setLexicalDeclContext().
| ExpectedStmt ASTNodeImporter::VisitReturnStmt | ( | ReturnStmt * | S | ) |
Definition at line 7381 of file ASTImporter.cpp.
References clang::ReturnStmt::Create(), clang::Error, clang::ReturnStmt::getNRVOCandidate(), clang::ReturnStmt::getReturnLoc(), clang::ReturnStmt::getRetValue(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitShuffleVectorExpr | ( | ShuffleVectorExpr * | E | ) |
Definition at line 7637 of file ASTImporter.cpp.
References clang::Error, clang::ShuffleVectorExpr::getBeginLoc(), clang::ShuffleVectorExpr::getNumSubExprs(), clang::ShuffleVectorExpr::getRParenLoc(), clang::ShuffleVectorExpr::getSubExprs(), clang::Expr::getType(), importChecked(), and ImportContainerChecked().
| ExpectedStmt ASTNodeImporter::VisitSizeOfPackExpr | ( | SizeOfPackExpr * | E | ) |
Definition at line 8534 of file ASTImporter.cpp.
References clang::SizeOfPackExpr::Create(), clang::Error, clang::SizeOfPackExpr::getOperatorLoc(), clang::SizeOfPackExpr::getPack(), clang::SizeOfPackExpr::getPackLength(), clang::SizeOfPackExpr::getPackLoc(), clang::SizeOfPackExpr::getPartialArguments(), clang::SizeOfPackExpr::getRParenLoc(), importChecked(), clang::ASTImporter::ImportTemplateArguments(), clang::SizeOfPackExpr::isPartiallySubstituted(), and clang::Expr::isValueDependent().
| ExpectedStmt ASTNodeImporter::VisitSourceLocExpr | ( | SourceLocExpr * | E | ) |
Definition at line 7565 of file ASTImporter.cpp.
References clang::Error, clang::SourceLocExpr::getBeginLoc(), clang::SourceLocExpr::getEndLoc(), clang::SourceLocExpr::getIdentKind(), clang::SourceLocExpr::getParentContext(), clang::Expr::getType(), and importChecked().
| ExpectedDecl ASTNodeImporter::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |
Definition at line 2828 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::StaticAssertDecl::getAssertExpr(), clang::Decl::getDeclContext(), clang::Decl::getLocation(), clang::StaticAssertDecl::getMessage(), clang::StaticAssertDecl::getRParenLoc(), importChecked(), clang::StaticAssertDecl::isFailed(), and clang::Decl::setLexicalDeclContext().
| ExpectedStmt ASTNodeImporter::VisitStmt | ( | Stmt * | S | ) |
Definition at line 7035 of file ASTImporter.cpp.
References clang::Stmt::getBeginLoc(), clang::Stmt::getStmtClassName(), and clang::ASTImportError::UnsupportedConstruct.
| ExpectedStmt ASTNodeImporter::VisitStmtExpr | ( | StmtExpr * | E | ) |
Definition at line 7991 of file ASTImporter.cpp.
References clang::Error, clang::StmtExpr::getLParenLoc(), clang::StmtExpr::getRParenLoc(), clang::StmtExpr::getSubStmt(), clang::StmtExpr::getTemplateDepth(), clang::Expr::getType(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitStringLiteral | ( | StringLiteral * | E | ) |
Definition at line 7891 of file ASTImporter.cpp.
References clang::StringLiteral::Create(), clang::Error, clang::StringLiteral::getBytes(), clang::StringLiteral::getKind(), clang::StringLiteral::getNumConcatenated(), clang::Expr::getType(), ImportArrayChecked(), clang::StringLiteral::isPascal(), clang::StringLiteral::tokloc_begin(), and clang::StringLiteral::tokloc_end().
| ExpectedStmt ASTNodeImporter::VisitSubstNonTypeTemplateParmExpr | ( | SubstNonTypeTemplateParmExpr * | E | ) |
Definition at line 9176 of file ASTImporter.cpp.
References clang::Error, clang::SubstNonTypeTemplateParmExpr::getAssociatedDecl(), clang::SubstNonTypeTemplateParmExpr::getFinal(), clang::SubstNonTypeTemplateParmExpr::getIndex(), clang::SubstNonTypeTemplateParmExpr::getNameLoc(), clang::SubstNonTypeTemplateParmExpr::getPackIndex(), clang::SubstNonTypeTemplateParmExpr::getReplacement(), clang::Expr::getType(), clang::Expr::getValueKind(), importChecked(), and clang::SubstNonTypeTemplateParmExpr::isReferenceParameter().
| ExpectedStmt ASTNodeImporter::VisitSubstNonTypeTemplateParmPackExpr | ( | SubstNonTypeTemplateParmPackExpr * | E | ) |
Definition at line 9304 of file ASTImporter.cpp.
References clang::Error, clang::SubstNonTypeTemplateParmPackExpr::getArgumentPack(), clang::SubstNonTypeTemplateParmPackExpr::getAssociatedDecl(), clang::SubstNonTypeTemplateParmPackExpr::getFinal(), clang::SubstNonTypeTemplateParmPackExpr::getIndex(), clang::SubstNonTypeTemplateParmPackExpr::getParameterPackLocation(), clang::Expr::getType(), clang::Expr::getValueKind(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitSwitchStmt | ( | SwitchStmt * | S | ) |
Definition at line 7244 of file ASTImporter.cpp.
References clang::SwitchStmt::Create(), clang::Error, clang::SwitchStmt::getBody(), clang::SwitchStmt::getCond(), clang::SwitchStmt::getConditionVariable(), clang::SwitchStmt::getInit(), clang::SwitchStmt::getLParenLoc(), clang::SwitchCase::getNextSwitchCase(), clang::SwitchStmt::getRParenLoc(), clang::SwitchStmt::getSwitchCaseList(), clang::SwitchStmt::getSwitchLoc(), importChecked(), and clang::SwitchCase::setNextSwitchCase().
| ExpectedDecl ASTNodeImporter::VisitTemplateTemplateParmDecl | ( | TemplateTemplateParmDecl * | D | ) |
Definition at line 6197 of file ASTImporter.cpp.
References clang::Error, clang::NamedDecl::getDeclName(), clang::TemplateTemplateParmDecl::getDepth(), clang::Decl::getLocation(), clang::TemplateTemplateParmDecl::getPosition(), clang::TemplateDecl::getTemplateParameters(), clang::Decl::getTranslationUnitDecl(), clang::TemplateTemplateParmDecl::isParameterPack(), clang::TemplateTemplateParmDecl::templateParameterKind(), and clang::TemplateTemplateParmDecl::wasDeclaredWithTypename().
| ExpectedDecl ASTNodeImporter::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 6127 of file ASTImporter.cpp.
References clang::Error, clang::TypeDecl::getBeginLoc(), clang::TemplateTypeParmDecl::getDepth(), clang::NamedDecl::getIdentifier(), clang::TemplateTypeParmDecl::getIndex(), clang::Decl::getLocation(), clang::Decl::getTranslationUnitDecl(), clang::TemplateTypeParmDecl::getTypeConstraint(), clang::TemplateTypeParmDecl::hasTypeConstraint(), importChecked(), clang::TemplateTypeParmDecl::isParameterPack(), clang::TemplateTypeParmDecl::setTypeConstraint(), and clang::TemplateTypeParmDecl::wasDeclaredWithTypename().
| ExpectedDecl ASTNodeImporter::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | D | ) |
Definition at line 2763 of file ASTImporter.cpp.
References clang::Decl::getTranslationUnitDecl().
| ExpectedType ASTNodeImporter::VisitType | ( | const Type * | T | ) |
Definition at line 1314 of file ASTImporter.cpp.
References clang::T, and clang::ASTImportError::UnsupportedConstruct.
| ExpectedDecl ASTNodeImporter::VisitTypeAliasDecl | ( | TypeAliasDecl * | D | ) |
Definition at line 3094 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
| ExpectedDecl ASTNodeImporter::VisitTypeAliasTemplateDecl | ( | TypeAliasTemplateDecl * | D | ) |
Definition at line 3099 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::Decl::getAccess(), clang::TypeAliasTemplateDecl::getTemplatedDecl(), clang::TemplateDecl::getTemplateParameters(), clang::Decl::IDNS_Ordinary, importChecked(), ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), IsStructuralMatch(), clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitTypedefDecl | ( | TypedefDecl * | D | ) |
Definition at line 3090 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
| ExpectedDecl ASTNodeImporter::VisitTypedefNameDecl | ( | TypedefNameDecl * | D, |
| bool | IsAlias ) |
Definition at line 2975 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::cast(), clang::Error, clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::Type::getAsRecordDecl(), clang::TypeDecl::getBeginLoc(), clang::Decl::getDeclContext(), clang::TypeAliasDecl::getDescribedAliasTemplate(), clang::Decl::getLexicalDeclContext(), clang::TypedefNameDecl::getTypeSourceInfo(), clang::TypedefNameDecl::getUnderlyingType(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, importChecked(), ImportDeclContext(), ImportDeclParts(), clang::DeclContext::isFunctionOrMethod(), clang::Type::isIncompleteType(), clang::QualType::isNull(), clang::Decl::setAccess(), clang::Decl::setDeclContext(), clang::Decl::setLexicalDeclContext(), and ToUnderlyingType.
Referenced by VisitTypeAliasDecl(), and VisitTypedefDecl().
| ExpectedStmt ASTNodeImporter::VisitTypeTraitExpr | ( | TypeTraitExpr * | E | ) |
Definition at line 9192 of file ASTImporter.cpp.
References clang::TypeTraitExpr::Create(), clang::Error, clang::TypeTraitExpr::getAPValue(), clang::TypeTraitExpr::getArgs(), clang::TypeTraitExpr::getBeginLoc(), clang::TypeTraitExpr::getBoolValue(), clang::TypeTraitExpr::getEndLoc(), clang::TypeTraitExpr::getNumArgs(), clang::TypeTraitExpr::getTrait(), clang::Expr::getType(), importChecked(), ImportContainerChecked(), clang::TypeTraitExpr::isStoredAsBoolean(), and clang::Expr::isValueDependent().
| ExpectedStmt ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr | ( | UnaryExprOrTypeTraitExpr * | E | ) |
Definition at line 8028 of file ASTImporter.cpp.
References clang::Error, clang::UnaryExprOrTypeTraitExpr::getArgumentExpr(), clang::UnaryExprOrTypeTraitExpr::getArgumentTypeInfo(), clang::UnaryExprOrTypeTraitExpr::getKind(), clang::UnaryExprOrTypeTraitExpr::getOperatorLoc(), clang::UnaryExprOrTypeTraitExpr::getRParenLoc(), clang::Expr::getType(), importChecked(), and clang::UnaryExprOrTypeTraitExpr::isArgumentType().
| ExpectedStmt ASTNodeImporter::VisitUnaryOperator | ( | UnaryOperator * | E | ) |
Definition at line 8005 of file ASTImporter.cpp.
References clang::UnaryOperator::canOverflow(), clang::UnaryOperator::CreateEmpty(), clang::Error, clang::UnaryOperator::getOpcode(), clang::UnaryOperator::getOperatorLoc(), clang::UnaryOperator::getStoredFPFeatures(), clang::UnaryOperator::getSubExpr(), clang::Expr::getType(), clang::UnaryOperator::hasStoredFPFeatures(), and importChecked().
| ExpectedStmt ASTNodeImporter::VisitUnresolvedLookupExpr | ( | UnresolvedLookupExpr * | E | ) |
Definition at line 8846 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::cast(), clang::UnresolvedLookupExpr::Create(), clang::OverloadExpr::decls(), clang::UnresolvedSetImpl::end(), clang::Error, clang::Expr::getDependence(), clang::OverloadExpr::getLAngleLoc(), clang::OverloadExpr::getName(), clang::OverloadExpr::getNameInfo(), clang::OverloadExpr::getNameLoc(), clang::UnresolvedLookupExpr::getNamingClass(), clang::OverloadExpr::getQualifierLoc(), clang::OverloadExpr::getRAngleLoc(), clang::OverloadExpr::getTemplateKeywordLoc(), clang::OverloadExpr::hasExplicitTemplateArgs(), importChecked(), ImportDeclarationNameLoc(), ImportTemplateArgumentListInfo(), clang::Expr::isInstantiationDependent(), clang::Expr::isTypeDependent(), clang::UnresolvedLookupExpr::requiresADL(), and clang::OverloadExpr::template_arguments().
| ExpectedStmt ASTNodeImporter::VisitUnresolvedMemberExpr | ( | UnresolvedMemberExpr * | E | ) |
Definition at line 8902 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::cast(), clang::OverloadExpr::copyTemplateArgumentsInto(), clang::UnresolvedMemberExpr::Create(), clang::OverloadExpr::decls(), clang::UnresolvedSetImpl::end(), clang::Error, clang::UnresolvedMemberExpr::getBase(), clang::OverloadExpr::getName(), clang::OverloadExpr::getNameInfo(), clang::OverloadExpr::getNameLoc(), clang::UnresolvedMemberExpr::getOperatorLoc(), clang::OverloadExpr::getQualifierLoc(), clang::OverloadExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::OverloadExpr::hasExplicitTemplateArgs(), clang::UnresolvedMemberExpr::hasUnresolvedUsing(), importChecked(), ImportDeclarationNameLoc(), ImportTemplateArgumentListInfo(), clang::UnresolvedMemberExpr::isArrow(), and clang::UnresolvedMemberExpr::isImplicitAccess().
| ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingTypenameDecl | ( | UnresolvedUsingTypenameDecl * | D | ) |
Definition at line 5610 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::Decl::getAccess(), clang::UnresolvedUsingTypenameDecl::getEllipsisLoc(), clang::UnresolvedUsingTypenameDecl::getQualifierLoc(), clang::UnresolvedUsingTypenameDecl::getTypenameLoc(), clang::UnresolvedUsingTypenameDecl::getUsingLoc(), importChecked(), ImportDeclParts(), clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingValueDecl | ( | UnresolvedUsingValueDecl * | D | ) |
Definition at line 5574 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::Decl::getAccess(), clang::UnresolvedUsingValueDecl::getEllipsisLoc(), clang::DeclarationNameInfo::getLoc(), clang::UnresolvedUsingValueDecl::getNameInfo(), clang::UnresolvedUsingValueDecl::getQualifierLoc(), clang::UnresolvedUsingValueDecl::getUsingLoc(), importChecked(), ImportDeclarationNameLoc(), ImportDeclParts(), clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 5364 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::DeclarationNameInfo::getLoc(), clang::UsingDecl::getNameInfo(), clang::UsingDecl::getQualifierLoc(), clang::UsingDecl::getUsingLoc(), clang::UsingDecl::hasTypename(), importChecked(), ImportDeclarationNameLoc(), ImportDeclParts(), ImportUsingShadowDecls(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitUsingDirectiveDecl | ( | UsingDirectiveDecl * | D | ) |
Definition at line 5506 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::UsingDirectiveDecl::getCommonAncestor(), clang::UsingDirectiveDecl::getIdentLocation(), clang::UsingDirectiveDecl::getNamespaceKeyLocation(), clang::UsingDirectiveDecl::getNominatedNamespace(), clang::UsingDirectiveDecl::getQualifierLoc(), clang::UsingDirectiveDecl::getUsingLoc(), importChecked(), ImportDeclParts(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitUsingEnumDecl | ( | UsingEnumDecl * | D | ) |
Definition at line 5406 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::UsingEnumDecl::getEnumLoc(), clang::UsingEnumDecl::getEnumType(), clang::Decl::getLocation(), clang::UsingEnumDecl::getUsingLoc(), importChecked(), ImportDeclParts(), ImportUsingShadowDecls(), and clang::Decl::setLexicalDeclContext().
| ExpectedDecl ASTNodeImporter::VisitUsingPackDecl | ( | UsingPackDecl * | D | ) |
Definition at line 5545 of file ASTImporter.cpp.
References clang::cast(), clang::Error, clang::UsingPackDecl::expansions(), clang::UsingPackDecl::getInstantiatedFromUsingDecl(), ImportArrayChecked(), and ImportDeclParts().
| ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 5444 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::cast(), clang::Error, clang::Decl::getAccess(), clang::UsingShadowDecl::getIntroducer(), clang::UsingShadowDecl::getTargetDecl(), importChecked(), ImportDeclParts(), clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
| ExpectedStmt ASTNodeImporter::VisitVAArgExpr | ( | VAArgExpr * | E | ) |
Definition at line 7581 of file ASTImporter.cpp.
References clang::Error, clang::VAArgExpr::getBuiltinLoc(), clang::VAArgExpr::getRParenLoc(), clang::VAArgExpr::getSubExpr(), clang::Expr::getType(), clang::VAArgExpr::getWrittenTypeInfo(), importChecked(), and clang::VAArgExpr::isMicrosoftABI().
| ExpectedDecl ASTNodeImporter::VisitVarDecl | ( | VarDecl * | D | ) |
Definition at line 4680 of file ASTImporter.cpp.
References clang::Error, clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::getCanonicalForwardRedeclChain(), clang::VarDecl::getDefinition(), clang::VarDecl::getDescribedVarTemplate(), clang::VarDecl::getInit(), clang::DeclaratorDecl::getInnerLocStart(), clang::VarDecl::getInstantiatedFromStaticDataMember(), clang::VarDecl::getMemberSpecializationInfo(), clang::VarDecl::getMostRecentDecl(), clang::DeclaratorDecl::getQualifierLoc(), clang::VarDecl::getStorageClass(), clang::VarDecl::getTSCSpec(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, ImportArrayChecked(), importChecked(), ImportDeclParts(), ImportInitializer(), clang::isa(), clang::VarDecl::isConstexpr(), clang::VarDecl::isFileVarDecl(), clang::VarDecl::isInline(), clang::VarDecl::isInlineSpecified(), clang::VarDecl::isThisDeclarationADefinition(), 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(), and clang::VarDecl::setTSCSpec().
| ExpectedDecl ASTNodeImporter::VisitVarTemplateDecl | ( | VarTemplateDecl * | D | ) |
Definition at line 6589 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::Error, clang::Decl::getAccess(), clang::Decl::getDeclContext(), clang::VarDecl::getMostRecentDecl(), clang::VarTemplateDecl::getMostRecentDecl(), clang::VarDecl::getPreviousDecl(), clang::VarTemplateDecl::getTemplatedDecl(), getTemplateDefinition(), clang::TemplateDecl::getTemplateParameters(), clang::ValueDecl::getType(), hasSameVisibilityContextAndLinkage(), clang::Decl::IDNS_Ordinary, ImportDeclParts(), clang::ASTImporter::importInto(), clang::DeclContext::isFunctionOrMethod(), clang::DeclContext::isRecord(), IsStructuralMatch(), clang::VarTemplateDecl::isThisDeclarationADefinition(), clang::Decl::setAccess(), clang::VarDecl::setDescribedVarTemplate(), clang::Decl::setLexicalDeclContext(), and clang::Redeclarable< decl_type >::setPreviousDecl().
| ExpectedDecl ASTNodeImporter::VisitVarTemplateSpecializationDecl | ( | VarTemplateSpecializationDecl * | D | ) |
Definition at line 6695 of file ASTImporter.cpp.
References clang::TemplateArgumentList::asArray(), clang::Error, clang::Decl::getAccess(), clang::DeclaratorDecl::getBeginLoc(), clang::getCanonicalForwardRedeclChain(), clang::Decl::getDeclContext(), clang::VarDecl::getDefinition(), clang::Decl::getLocation(), clang::VarTemplateSpecializationDecl::getMostRecentDecl(), clang::VarTemplateSpecializationDecl::getPointOfInstantiation(), clang::DeclaratorDecl::getQualifierLoc(), clang::VarTemplateSpecializationDecl::getSpecializationKind(), clang::VarTemplateSpecializationDecl::getSpecializedTemplate(), clang::VarDecl::getStorageClass(), clang::VarTemplateSpecializationDecl::getTemplateArgs(), clang::VarTemplateSpecializationDecl::getTemplateArgsAsWritten(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), ImportDeclContext(), ImportInitializer(), clang::ASTImporter::importInto(), ImportTemplateArgumentListInfo(), clang::ASTImporter::ImportTemplateArguments(), clang::VarDecl::isConstexpr(), clang::DeclContext::isRecord(), IsStructuralMatch(), clang::VarDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::ASTImportError::NameConflict, clang::Decl::setAccess(), clang::VarDecl::setConstexpr(), 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 7280 of file ASTImporter.cpp.
References clang::WhileStmt::Create(), clang::Error, clang::WhileStmt::getBody(), clang::WhileStmt::getCond(), clang::WhileStmt::getConditionVariable(), clang::WhileStmt::getLParenLoc(), clang::WhileStmt::getRParenLoc(), clang::WhileStmt::getWhileLoc(), and importChecked().