clang
8.0.0
|
Public Types | |
enum | ImportDefinitionKind { IDK_Default, IDK_Everything, IDK_Basic } |
What we should import from the definition. More... | |
using | Designator = DesignatedInitExpr::Designator |
using | TemplateArgsTy = SmallVector< TemplateArgument, 8 > |
using | FunctionTemplateAndArgsTy = std::tuple< FunctionTemplateDecl *, TemplateArgsTy > |
Additional Inherited Members | |
![]() | |
ParamTys | P |
Definition at line 157 of file ASTImporter.cpp.
Definition at line 382 of file ASTImporter.cpp.
using clang::ASTNodeImporter::FunctionTemplateAndArgsTy = std::tuple<FunctionTemplateDecl *, TemplateArgsTy> |
Definition at line 434 of file ASTImporter.cpp.
Definition at line 432 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 385 of file ASTImporter.cpp.
|
inlineexplicit |
Definition at line 314 of file ASTImporter.cpp.
References clang::ImportError::Error.
Expected< FunctionDecl * > ASTNodeImporter::FindFunctionTemplateSpecialization | ( | FunctionDecl * | FromFD | ) |
Definition at line 2934 of file ASTImporter.cpp.
References clang::FunctionTemplateDecl::findSpecialization().
Expected<TemplateName> clang::ASTNodeImporter::import | ( | const TemplateName & | From | ) |
Definition at line 654 of file ASTImporter.cpp.
References clang::TemplateName::isNull().
Expected<TemplateParameterList *> clang::ASTNodeImporter::import | ( | TemplateParameterList * | From | ) |
Definition at line 718 of file ASTImporter.cpp.
References clang::TemplateParameterList::Create(), clang::ImportError::Error, clang::TemplateParameterList::getLAngleLoc(), clang::TemplateParameterList::getRAngleLoc(), clang::TemplateParameterList::getRequiresClause(), clang::TemplateParameterList::getTemplateLoc(), and clang::TemplateParameterList::size().
Expected<TemplateArgument> clang::ASTNodeImporter::import | ( | const TemplateArgument & | From | ) |
Definition at line 748 of file ASTImporter.cpp.
References clang::TemplateArgument::Declaration, clang::ImportError::Error, clang::TemplateArgument::Expression, clang::TemplateArgument::getAsDecl(), clang::TemplateArgument::getAsExpr(), clang::TemplateArgument::getAsTemplate(), clang::TemplateArgument::getAsTemplateOrTemplatePattern(), clang::TemplateArgument::getAsType(), clang::TemplateArgument::getIntegralType(), clang::TemplateArgument::getKind(), clang::TemplateArgument::getNullPtrType(), clang::TemplateArgument::getNumTemplateExpansions(), clang::TemplateArgument::getParamTypeForDecl(), clang::TemplateArgument::Integral, clang::TemplateArgument::Null, clang::TemplateArgument::NullPtr, clang::TemplateArgument::Pack, clang::TemplateArgument::pack_begin(), clang::TemplateArgument::pack_size(), clang::TemplateArgument::Template, clang::TemplateArgument::TemplateExpansion, and clang::TemplateArgument::Type.
Expected<TemplateArgumentLoc> clang::ASTNodeImporter::import | ( | const TemplateArgumentLoc & | TALoc | ) |
Definition at line 825 of file ASTImporter.cpp.
References clang::TemplateArgument::Expression, clang::TemplateArgumentLoc::getArgument(), clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgumentLocInfo::getAsTypeSourceInfo(), clang::TemplateArgument::getKind(), clang::TemplateArgumentLoc::getLocInfo(), clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc(), clang::TemplateArgumentLocInfo::getTemplateNameLoc(), clang::TemplateArgumentLocInfo::getTemplateQualifierLoc(), and clang::TemplateArgument::Type.
Expected<DeclGroupRef> clang::ASTNodeImporter::import | ( | const DeclGroupRef & | DG | ) |
Definition at line 867 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 886 of file ASTImporter.cpp.
References clang::DesignatedInitExpr::Designator::getDotLoc(), clang::DesignatedInitExpr::Designator::getEllipsisLoc(), clang::DesignatedInitExpr::Designator::getFieldLoc(), clang::DesignatedInitExpr::Designator::getFieldName(), clang::DesignatedInitExpr::Designator::getFirstExprIndex(), clang::DesignatedInitExpr::Designator::getLBracketLoc(), clang::DesignatedInitExpr::Designator::getRBracketLoc(), clang::DesignatedInitExpr::Designator::isArrayDesignator(), clang::DesignatedInitExpr::Designator::isArrayRangeDesignator(), and clang::DesignatedInitExpr::Designator::isFieldDesignator().
Expected<LambdaCapture> clang::ASTNodeImporter::import | ( | const LambdaCapture & | From | ) |
Definition at line 924 of file ASTImporter.cpp.
References clang::LambdaCapture::capturesVariable(), clang::ImportError::Error, clang::LambdaCapture::getCapturedVar(), clang::LambdaCapture::getCaptureKind(), clang::LambdaCapture::getEllipsisLoc(), clang::LambdaCapture::getLocation(), clang::LambdaCapture::isImplicit(), and clang::LambdaCapture::isPackExpansion().
|
inline |
Definition at line 619 of file ASTImporter.cpp.
References clang::ast_matchers::type.
|
inline |
Definition at line 642 of file ASTImporter.cpp.
Expected< CXXCastPath > ASTNodeImporter::ImportCastPath | ( | CastExpr * | E | ) |
Definition at line 6566 of file ASTImporter.cpp.
References clang::CastExpr::path_begin(), and clang::CastExpr::path_end().
|
inline |
Definition at line 635 of file ASTImporter.cpp.
Error ASTNodeImporter::ImportDeclarationNameLoc | ( | const DeclarationNameInfo & | From, |
DeclarationNameInfo & | To | ||
) |
Definition at line 1606 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::ImportError::Error, 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().
Error ASTNodeImporter::ImportDeclContext | ( | DeclContext * | FromDC, |
bool | ForceImport = false |
||
) |
Definition at line 1647 of file ASTImporter.cpp.
References clang::DeclContext::decls().
Referenced by clang::ASTImporter::ImportDefinition_New().
Error ASTNodeImporter::ImportDeclContext | ( | Decl * | From, |
DeclContext *& | ToDC, | ||
DeclContext *& | ToLexicalDC | ||
) |
Definition at line 1664 of file ASTImporter.cpp.
References clang::Decl::getDeclContext(), and clang::Decl::getLexicalDeclContext().
Error ASTNodeImporter::ImportDeclParts | ( | NamedDecl * | D, |
DeclContext *& | DC, | ||
DeclContext *& | LexicalDC, | ||
DeclarationName & | Name, | ||
NamedDecl *& | ToD, | ||
SourceLocation & | Loc | ||
) |
Definition at line 1526 of file ASTImporter.cpp.
Error ASTNodeImporter::ImportDefinition | ( | RecordDecl * | From, |
RecordDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 1714 of file ASTImporter.cpp.
References clang::RecordDecl::completeDefinition(), clang::ImportError::Error, clang::RecordDecl::getDefinition(), clang::TagDecl::isBeingDefined(), setTypedefNameForAnonDecl(), and clang::TagDecl::startDefinition().
Referenced by clang::ASTImporter::ImportDefinition_New().
Error ASTNodeImporter::ImportDefinition | ( | EnumDecl * | From, |
EnumDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 1872 of file ASTImporter.cpp.
References clang::EnumDecl::completeDefinition(), clang::ImportError::Error, clang::EnumDecl::getDefinition(), clang::EnumDecl::getNumNegativeBits(), clang::EnumDecl::getNumPositiveBits(), clang::EnumDecl::getPromotionType(), clang::TagDecl::isBeingDefined(), setTypedefNameForAnonDecl(), and clang::TagDecl::startDefinition().
Error ASTNodeImporter::ImportDefinition | ( | ObjCInterfaceDecl * | From, |
ObjCInterfaceDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 4351 of file ASTImporter.cpp.
References clang::declaresSameEntity(), clang::ImportError::Error, clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getDefinition(), clang::ObjCInterfaceDecl::getImplementation(), clang::Decl::getLocation(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCInterfaceDecl::getSuperClassLoc(), clang::ObjCInterfaceDecl::getSuperClassTInfo(), 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(), and clang::ObjCInterfaceDecl::startDefinition().
Error ASTNodeImporter::ImportDefinition | ( | ObjCProtocolDecl * | From, |
ObjCProtocolDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 4010 of file ASTImporter.cpp.
References clang::ImportError::Error, clang::ObjCProtocolDecl::getDefinition(), clang::ObjCProtocolDecl::protocol_begin(), clang::ObjCProtocolDecl::protocol_end(), clang::ObjCProtocolDecl::protocol_loc_begin(), clang::ObjCProtocolDecl::setProtocolList(), and clang::ObjCProtocolDecl::startDefinition().
Definition at line 1573 of file ASTImporter.cpp.
References clang::ImportError::Error.
Expected< ASTNodeImporter::FunctionTemplateAndArgsTy > clang::ASTNodeImporter::ImportFunctionTemplateWithTemplateArgsFromSpecialization | ( | FunctionDecl * | FromFD | ) |
Definition at line 696 of file ASTImporter.cpp.
References clang::ImportError::Error, clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::Result, and clang::FunctionDecl::TK_FunctionTemplateSpecialization.
Error ASTNodeImporter::ImportImplicitMethods | ( | const CXXRecordDecl * | From, |
CXXRecordDecl * | To | ||
) |
Definition at line 1683 of file ASTImporter.cpp.
References clang::CXXRecordDecl::getDefinition(), clang::TagDecl::isCompleteDefinition(), and clang::CXXRecordDecl::methods().
Definition at line 1849 of file ASTImporter.cpp.
References clang::EvaluatedStmt::CheckedICE, clang::VarDecl::ensureEvaluatedStmt(), clang::VarDecl::getAnyInitializer(), clang::VarDecl::getInit(), clang::EvaluatedStmt::IsICE, clang::VarDecl::isInitICE(), clang::VarDecl::isInitKnownICE(), and clang::VarDecl::setInit().
Expected< ObjCTypeParamList * > ASTNodeImporter::ImportObjCTypeParamList | ( | ObjCTypeParamList * | list | ) |
Definition at line 4453 of file ASTImporter.cpp.
References clang::ObjCTypeParamList::create().
void ASTNodeImporter::ImportOverrides | ( | CXXMethodDecl * | ToMethod, |
CXXMethodDecl * | FromMethod | ||
) |
Definition at line 7602 of file ASTImporter.cpp.
References clang::CXXMethodDecl::addOverriddenMethod(), clang::CXXMethodDecl::getCanonicalDecl(), and clang::CXXMethodDecl::overridden_methods().
Expected< TemplateArgument > ASTNodeImporter::ImportTemplateArgument | ( | const TemplateArgument & | From | ) |
Definition at line 1955 of file ASTImporter.cpp.
Referenced by clang::ASTImporter::Import().
Error ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const InContainerTy & | Container, |
TemplateArgumentListInfo & | ToTAInfo | ||
) |
Definition at line 1960 of file ASTImporter.cpp.
Referenced by ImportTemplateArgumentListInfo().
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | SourceLocation | FromLAngleLoc, |
SourceLocation | FromRAngleLoc, | ||
const InContainerTy & | Container, | ||
TemplateArgumentListInfo & | Result | ||
) |
Definition at line 662 of file ASTImporter.cpp.
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const TemplateArgumentListInfo & | From, |
TemplateArgumentListInfo & | Result | ||
) |
Definition at line 680 of file ASTImporter.cpp.
References clang::ImportError::Error, ImportTemplateArgumentListInfo(), and clang::Result.
Error clang::ASTNodeImporter::ImportTemplateArgumentListInfo | ( | const ASTTemplateArgumentListInfo & | From, |
TemplateArgumentListInfo & | Result | ||
) |
Definition at line 688 of file ASTImporter.cpp.
References clang::Result.
Error ASTNodeImporter::ImportTemplateArguments | ( | const TemplateArgument * | FromArgs, |
unsigned | NumFromArgs, | ||
SmallVectorImpl< TemplateArgument > & | ToArgs | ||
) |
Definition at line 1940 of file ASTImporter.cpp.
Error ASTNodeImporter::ImportTemplateInformation | ( | FunctionDecl * | FromFD, |
FunctionDecl * | ToFD | ||
) |
Definition at line 2851 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::TemplateArgumentList::CreateCopy(), clang::ImportError::Error, clang::FunctionDecl::getDependentSpecializationInfo(), clang::FunctionDecl::getInstantiatedFromMemberFunction(), clang::FunctionDecl::getMemberSpecializationInfo(), clang::MemberSpecializationInfo::getPointOfInstantiation(), clang::FunctionDecl::getTemplatedKind(), clang::FunctionDecl::getTemplateSpecializationInfo(), clang::FunctionDecl::getTemplateSpecializationKind(), clang::FunctionDecl::setDependentTemplateSpecialization(), clang::MemberSpecializationInfo::setPointOfInstantiation(), clang::FunctionDecl::TK_DependentFunctionTemplateSpecialization, clang::FunctionDecl::TK_FunctionTemplate, clang::FunctionDecl::TK_FunctionTemplateSpecialization, clang::FunctionDecl::TK_MemberSpecialization, and clang::FunctionDecl::TK_NonTemplate.
Expected< TemplateParameterList * > ASTNodeImporter::ImportTemplateParameterList | ( | TemplateParameterList * | Params | ) |
Definition at line 1907 of file ASTImporter.cpp.
References clang::TemplateParameterList::Create(), clang::ImportError::Error, clang::TemplateParameterList::getLAngleLoc(), clang::TemplateParameterList::getRAngleLoc(), clang::TemplateParameterList::getRequiresClause(), clang::TemplateParameterList::getTemplateLoc(), and clang::TemplateParameterList::size().
Definition at line 1977 of file ASTImporter.cpp.
References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | RecordDecl * | FromRecord, |
RecordDecl * | ToRecord, | ||
bool | Complain = true |
||
) |
Definition at line 1985 of file ASTImporter.cpp.
References clang::Decl::getASTContext(), getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | VarDecl * | FromVar, |
VarDecl * | ToVar, | ||
bool | Complain = true |
||
) |
Definition at line 2004 of file ASTImporter.cpp.
References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
Definition at line 2013 of file ASTImporter.cpp.
References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | EnumConstantDecl * | FromEC, |
EnumConstantDecl * | ToEC | ||
) |
Definition at line 2037 of file ASTImporter.cpp.
References clang::EnumConstantDecl::getInitVal().
bool ASTNodeImporter::IsStructuralMatch | ( | FunctionTemplateDecl * | From, |
FunctionTemplateDecl * | To | ||
) |
Definition at line 2020 of file ASTImporter.cpp.
References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | FunctionDecl * | From, |
FunctionDecl * | To | ||
) |
Definition at line 2029 of file ASTImporter.cpp.
References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | ClassTemplateDecl * | From, |
ClassTemplateDecl * | To | ||
) |
Definition at line 2047 of file ASTImporter.cpp.
References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
bool ASTNodeImporter::IsStructuralMatch | ( | VarTemplateDecl * | From, |
VarTemplateDecl * | To | ||
) |
Definition at line 2056 of file ASTImporter.cpp.
References getStructuralEquivalenceKind(), and clang::StructuralEquivalenceContext::IsEquivalent().
|
inline |
Definition at line 397 of file ASTImporter.cpp.
References clang::ImportError::Error, and clang::ASTImporter::isMinimalImport().
ExpectedDecl ASTNodeImporter::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |
Definition at line 2106 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 6307 of file ASTImporter.cpp.
References clang::AddrLabelExpr::getAmpAmpLoc(), clang::AddrLabelExpr::getLabel(), clang::AddrLabelExpr::getLabelLoc(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitArrayInitIndexExpr | ( | ArrayInitIndexExpr * | E | ) |
Definition at line 7473 of file ASTImporter.cpp.
References clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitArrayInitLoopExpr | ( | ArrayInitLoopExpr * | E | ) |
Definition at line 7460 of file ASTImporter.cpp.
References clang::ArrayInitLoopExpr::getCommonExpr(), clang::ArrayInitLoopExpr::getSubExpr(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitArraySubscriptExpr | ( | ArraySubscriptExpr * | E | ) |
Definition at line 6529 of file ASTImporter.cpp.
References clang::ArraySubscriptExpr::getLHS(), clang::Expr::getObjectKind(), clang::ArraySubscriptExpr::getRBracketLoc(), clang::ArraySubscriptExpr::getRHS(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitArrayTypeTraitExpr | ( | ArrayTypeTraitExpr * | E | ) |
Definition at line 6478 of file ASTImporter.cpp.
References clang::ArrayTypeTraitExpr::getBeginLoc(), clang::ArrayTypeTraitExpr::getDimensionExpression(), clang::ArrayTypeTraitExpr::getEndLoc(), clang::ArrayTypeTraitExpr::getQueriedTypeSourceInfo(), clang::ArrayTypeTraitExpr::getTrait(), clang::Expr::getType(), and clang::ArrayTypeTraitExpr::getValue().
ExpectedStmt ASTNodeImporter::VisitAtomicExpr | ( | AtomicExpr * | E | ) |
Definition at line 6287 of file ASTImporter.cpp.
References clang::ImportError::Error, clang::AtomicExpr::getBuiltinLoc(), clang::AtomicExpr::getNumSubExprs(), clang::AtomicExpr::getOp(), clang::AtomicExpr::getRParenLoc(), clang::AtomicExpr::getSubExprs(), and clang::Expr::getType().
ExpectedType ASTNodeImporter::VisitAtomicType | ( | const AtomicType * | T | ) |
Definition at line 961 of file ASTImporter.cpp.
References clang::AtomicType::getValueType().
ExpectedStmt ASTNodeImporter::VisitAttributedStmt | ( | AttributedStmt * | S | ) |
Definition at line 5701 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitAttributedType | ( | const AttributedType * | T | ) |
Definition at line 1346 of file ASTImporter.cpp.
References clang::AttributedType::getAttrKind(), clang::AttributedType::getEquivalentType(), and clang::AttributedType::getModifiedType().
ExpectedType ASTNodeImporter::VisitAutoType | ( | const AutoType * | T | ) |
Definition at line 1297 of file ASTImporter.cpp.
References clang::DeducedType::getDeducedType(), and clang::AutoType::getKeyword().
ExpectedStmt ASTNodeImporter::VisitBinaryConditionalOperator | ( | BinaryConditionalOperator * | E | ) |
Definition at line 6456 of file ASTImporter.cpp.
References clang::AbstractConditionalOperator::getColonLoc(), clang::BinaryConditionalOperator::getCommon(), clang::BinaryConditionalOperator::getCond(), clang::BinaryConditionalOperator::getFalseExpr(), clang::Expr::getObjectKind(), clang::BinaryConditionalOperator::getOpaqueValue(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::BinaryConditionalOperator::getTrueExpr(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitBinaryOperator | ( | BinaryOperator * | E | ) |
Definition at line 6423 of file ASTImporter.cpp.
References clang::BinaryOperator::getFPFeatures(), clang::BinaryOperator::getLHS(), clang::Expr::getObjectKind(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getRHS(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedType ASTNodeImporter::VisitBlockPointerType | ( | const BlockPointerType * | T | ) |
Definition at line 1042 of file ASTImporter.cpp.
References clang::BlockPointerType::getPointeeType().
ExpectedStmt ASTNodeImporter::VisitBreakStmt | ( | BreakStmt * | S | ) |
Definition at line 5859 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitBuiltinType | ( | const BuiltinType * | T | ) |
Definition at line 969 of file ASTImporter.cpp.
References clang::BuiltinType::getKind().
ExpectedStmt ASTNodeImporter::VisitCallExpr | ( | CallExpr * | E | ) |
Definition at line 7303 of file ASTImporter.cpp.
References clang::CallExpr::arguments(), clang::CXXOperatorCallExpr::Create(), clang::CallExpr::Create(), clang::ImportError::Error, clang::CallExpr::getADLCallKind(), clang::CallExpr::getCallee(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitCaseStmt | ( | CaseStmt * | S | ) |
Definition at line 5654 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCharacterLiteral | ( | CharacterLiteral * | E | ) |
Definition at line 6241 of file ASTImporter.cpp.
References clang::CharacterLiteral::getKind(), clang::CharacterLiteral::getLocation(), clang::Expr::getType(), and clang::CharacterLiteral::getValue().
ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |
Definition at line 4919 of file ASTImporter.cpp.
References clang::Decl::FOK_None, getDefinition(), and clang::Decl::getFriendObjectKind().
ExpectedDecl ASTNodeImporter::VisitClassTemplateSpecializationDecl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 5042 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::TemplateArgumentList::data(), clang::ImportError::Error, clang::RecordDecl::fields(), clang::ClassTemplateDecl::findPartialSpecialization(), clang::ClassTemplateDecl::findSpecialization(), clang::TypeDecl::getBeginLoc(), clang::QualType::getCanonicalType(), clang::CXXRecordDecl::getDefinition(), clang::ClassTemplateSpecializationDecl::getExternLoc(), clang::ClassTemplatePartialSpecializationDecl::getInjectedSpecializationType(), clang::Decl::getLocation(), clang::ClassTemplateSpecializationDecl::getPointOfInstantiation(), clang::TagDecl::getQualifierLoc(), clang::ClassTemplateSpecializationDecl::getSpecializationKind(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplate(), clang::TagDecl::getTagKind(), clang::ClassTemplateSpecializationDecl::getTemplateArgs(), clang::ClassTemplatePartialSpecializationDecl::getTemplateArgsAsWritten(), clang::ClassTemplateSpecializationDecl::getTemplateKeywordLoc(), clang::ClassTemplatePartialSpecializationDecl::getTemplateParameters(), clang::CXXRecordDecl::getTemplateSpecializationKind(), clang::ClassTemplateSpecializationDecl::getTypeAsWritten(), clang::TagDecl::isCompleteDefinition(), clang::ClassTemplateSpecializationDecl::isExplicitInstantiationOrSpecialization(), clang::SourceLocation::isValid(), clang::CXXRecordDecl::methods(), clang::ClassTemplateSpecializationDecl::setExternLoc(), clang::Decl::setLexicalDeclContext(), clang::ClassTemplateSpecializationDecl::setPointOfInstantiation(), clang::TagDecl::setQualifierInfo(), clang::ClassTemplateSpecializationDecl::setSpecializationKind(), clang::ClassTemplateSpecializationDecl::setTemplateKeywordLoc(), clang::CXXRecordDecl::setTemplateSpecializationKind(), clang::ClassTemplateSpecializationDecl::setTypeAsWritten(), and clang::TemplateArgumentList::size().
ExpectedType ASTNodeImporter::VisitComplexType | ( | const ComplexType * | T | ) |
Definition at line 1026 of file ASTImporter.cpp.
References clang::ComplexType::getElementType().
ExpectedStmt ASTNodeImporter::VisitCompoundAssignOperator | ( | CompoundAssignOperator * | E | ) |
Definition at line 6546 of file ASTImporter.cpp.
References 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(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitCompoundLiteralExpr | ( | CompoundLiteralExpr * | E | ) |
ExpectedStmt ASTNodeImporter::VisitCompoundStmt | ( | CompoundStmt * | S | ) |
Definition at line 5635 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitConditionalOperator | ( | ConditionalOperator * | E | ) |
Definition at line 6439 of file ASTImporter.cpp.
References clang::AbstractConditionalOperator::getColonLoc(), clang::ConditionalOperator::getCond(), clang::ConditionalOperator::getLHS(), clang::Expr::getObjectKind(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::ConditionalOperator::getRHS(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedType ASTNodeImporter::VisitConstantArrayType | ( | const ConstantArrayType * | T | ) |
Definition at line 1087 of file ASTImporter.cpp.
References clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::ConstantArrayType::getSize(), and clang::ArrayType::getSizeModifier().
ExpectedStmt ASTNodeImporter::VisitConstantExpr | ( | ConstantExpr * | E | ) |
Definition at line 6322 of file ASTImporter.cpp.
References clang::ConstantExpr::Create(), and clang::FullExpr::getSubExpr().
ExpectedStmt ASTNodeImporter::VisitContinueStmt | ( | ContinueStmt * | S | ) |
Definition at line 5852 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXBindTemporaryExpr | ( | CXXBindTemporaryExpr * | E | ) |
Definition at line 6787 of file ASTImporter.cpp.
References clang::CXXTemporary::Create(), clang::CXXBindTemporaryExpr::Create(), clang::CXXTemporary::getDestructor(), clang::CXXBindTemporaryExpr::getSubExpr(), and clang::CXXBindTemporaryExpr::getTemporary().
ExpectedStmt ASTNodeImporter::VisitCXXBoolLiteralExpr | ( | CXXBoolLiteralExpr * | E | ) |
Definition at line 7010 of file ASTImporter.cpp.
References clang::CXXBoolLiteralExpr::getLocation(), clang::Expr::getType(), and clang::CXXBoolLiteralExpr::getValue().
ExpectedStmt ASTNodeImporter::VisitCXXCatchStmt | ( | CXXCatchStmt * | S | ) |
Definition at line 5881 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXConstructExpr | ( | CXXConstructExpr * | E | ) |
Definition at line 6939 of file ASTImporter.cpp.
References clang::CXXConstructExpr::arguments(), clang::CXXConstructExpr::Create(), clang::ImportError::Error, clang::CXXConstructExpr::getConstructionKind(), clang::CXXConstructExpr::getConstructor(), clang::CXXConstructExpr::getLocation(), clang::CXXConstructExpr::getNumArgs(), clang::CXXConstructExpr::getParenOrBraceRange(), clang::Expr::getType(), clang::CXXConstructExpr::hadMultipleCandidates(), clang::CXXConstructExpr::isElidable(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().
ExpectedDecl ASTNodeImporter::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 3236 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 3244 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXDefaultArgExpr | ( | CXXDefaultArgExpr * | E | ) |
Definition at line 6757 of file ASTImporter.cpp.
References clang::CXXDefaultArgExpr::Create(), clang::CXXDefaultArgExpr::getParam(), and clang::CXXDefaultArgExpr::getUsedLocation().
ExpectedStmt ASTNodeImporter::VisitCXXDefaultInitExpr | ( | CXXDefaultInitExpr * | E | ) |
Definition at line 7480 of file ASTImporter.cpp.
References clang::CXXDefaultInitExpr::Create(), clang::CXXDefaultInitExpr::getBeginLoc(), and clang::CXXDefaultInitExpr::getField().
ExpectedStmt ASTNodeImporter::VisitCXXDeleteExpr | ( | CXXDeleteExpr * | E | ) |
Definition at line 6921 of file ASTImporter.cpp.
References clang::CXXDeleteExpr::doesUsualArrayDeleteWantSize(), clang::CXXDeleteExpr::getArgument(), clang::CXXDeleteExpr::getBeginLoc(), clang::CXXDeleteExpr::getOperatorDelete(), clang::Expr::getType(), clang::CXXDeleteExpr::isArrayForm(), clang::CXXDeleteExpr::isArrayFormAsWritten(), and clang::CXXDeleteExpr::isGlobalDelete().
ExpectedStmt ASTNodeImporter::VisitCXXDependentScopeMemberExpr | ( | CXXDependentScopeMemberExpr * | E | ) |
Definition at line 7100 of file ASTImporter.cpp.
References clang::CXXDependentScopeMemberExpr::Create(), clang::ImportError::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(), clang::CXXDependentScopeMemberExpr::isArrow(), clang::CXXDependentScopeMemberExpr::isImplicitAccess(), and clang::CXXDependentScopeMemberExpr::template_arguments().
ExpectedDecl ASTNodeImporter::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 3240 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXForRangeStmt | ( | CXXForRangeStmt * | S | ) |
Definition at line 5918 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXInheritedCtorInitExpr | ( | CXXInheritedCtorInitExpr * | E | ) |
ExpectedStmt ASTNodeImporter::VisitCXXMemberCallExpr | ( | CXXMemberCallExpr * | E | ) |
Definition at line 6978 of file ASTImporter.cpp.
References clang::CallExpr::arguments(), clang::CXXMemberCallExpr::Create(), clang::ImportError::Error, clang::CallExpr::getCallee(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedDecl ASTNodeImporter::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 3232 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXNamedCastExpr | ( | CXXNamedCastExpr * | E | ) |
Definition at line 7493 of file ASTImporter.cpp.
References clang::CXXStaticCastExpr::Create(), clang::CXXDynamicCastExpr::Create(), clang::CXXReinterpretCastExpr::Create(), clang::CXXConstCastExpr::Create(), clang::CXXNamedCastExpr::getAngleBrackets(), clang::CastExpr::getCastKind(), clang::CXXNamedCastExpr::getOperatorLoc(), clang::CXXNamedCastExpr::getRParenLoc(), clang::CastExpr::getSubExpr(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitCXXNewExpr | ( | CXXNewExpr * | E | ) |
Definition at line 6890 of file ASTImporter.cpp.
References clang::CXXNewExpr::Create(), clang::CXXNewExpr::doesUsualArrayDeleteWantSize(), clang::ImportError::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::isGlobalNew(), clang::CXXNewExpr::passAlignment(), and clang::CXXNewExpr::placement_arguments().
ExpectedStmt ASTNodeImporter::VisitCXXNoexceptExpr | ( | CXXNoexceptExpr * | E | ) |
Definition at line 6722 of file ASTImporter.cpp.
References clang::CT_Can, clang::CT_Cannot, clang::CT_Dependent, clang::CXXNoexceptExpr::getBeginLoc(), clang::CXXNoexceptExpr::getEndLoc(), clang::CXXNoexceptExpr::getOperand(), clang::Expr::getType(), clang::CXXNoexceptExpr::getValue(), and clang::Expr::isValueDependent().
ExpectedStmt ASTNodeImporter::VisitCXXNullPtrLiteralExpr | ( | CXXNullPtrLiteralExpr * | E | ) |
Definition at line 6187 of file ASTImporter.cpp.
References clang::CXXNullPtrLiteralExpr::getLocation(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXPseudoDestructorExpr | ( | CXXPseudoDestructorExpr * | E | ) |
Definition at line 7066 of file ASTImporter.cpp.
References clang::CXXPseudoDestructorExpr::getBase(), clang::CXXPseudoDestructorExpr::getColonColonLoc(), clang::CXXPseudoDestructorExpr::getDestroyedTypeIdentifier(), clang::CXXPseudoDestructorExpr::getDestroyedTypeInfo(), clang::CXXPseudoDestructorExpr::getDestroyedTypeLoc(), clang::CXXPseudoDestructorExpr::getOperatorLoc(), clang::CXXPseudoDestructorExpr::getQualifierLoc(), clang::CXXPseudoDestructorExpr::getScopeTypeInfo(), clang::CXXPseudoDestructorExpr::getTildeLoc(), and clang::CXXPseudoDestructorExpr::isArrow().
ExpectedStmt ASTNodeImporter::VisitCXXScalarValueInitExpr | ( | CXXScalarValueInitExpr * | E | ) |
Definition at line 6771 of file ASTImporter.cpp.
References clang::CXXScalarValueInitExpr::getRParenLoc(), clang::Expr::getType(), and clang::CXXScalarValueInitExpr::getTypeSourceInfo().
ExpectedStmt ASTNodeImporter::VisitCXXStdInitializerListExpr | ( | CXXStdInitializerListExpr * | E | ) |
Definition at line 7430 of file ASTImporter.cpp.
References clang::CXXStdInitializerListExpr::getSubExpr(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitCXXTemporaryObjectExpr | ( | CXXTemporaryObjectExpr * | E | ) |
Definition at line 6802 of file ASTImporter.cpp.
References clang::CXXConstructExpr::arguments(), clang::CXXTemporaryObjectExpr::Create(), clang::ImportError::Error, clang::CXXConstructExpr::getConstructor(), clang::CXXConstructExpr::getNumArgs(), clang::CXXConstructExpr::getParenOrBraceRange(), clang::Expr::getType(), clang::CXXTemporaryObjectExpr::getTypeSourceInfo(), clang::CXXConstructExpr::hadMultipleCandidates(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().
ExpectedStmt ASTNodeImporter::VisitCXXThisExpr | ( | CXXThisExpr * | E | ) |
Definition at line 6997 of file ASTImporter.cpp.
References clang::CXXThisExpr::getLocation(), clang::Expr::getType(), and clang::CXXThisExpr::isImplicit().
ExpectedStmt ASTNodeImporter::VisitCXXThrowExpr | ( | CXXThrowExpr * | E | ) |
Definition at line 6743 of file ASTImporter.cpp.
References clang::CXXThrowExpr::getSubExpr(), clang::CXXThrowExpr::getThrowLoc(), clang::Expr::getType(), and clang::CXXThrowExpr::isThrownVariableInScope().
ExpectedStmt ASTNodeImporter::VisitCXXTryStmt | ( | CXXTryStmt * | S | ) |
Definition at line 5896 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitCXXTypeidExpr | ( | CXXTypeidExpr * | E | ) |
Definition at line 7577 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 7182 of file ASTImporter.cpp.
References clang::CXXUnresolvedConstructExpr::arg_begin(), clang::CXXUnresolvedConstructExpr::arg_end(), clang::CXXUnresolvedConstructExpr::arg_size(), clang::CXXUnresolvedConstructExpr::Create(), clang::ImportError::Error, clang::CXXUnresolvedConstructExpr::getLParenLoc(), clang::CXXUnresolvedConstructExpr::getRParenLoc(), and clang::CXXUnresolvedConstructExpr::getTypeSourceInfo().
ExpectedType ASTNodeImporter::VisitDecayedType | ( | const DecayedType * | T | ) |
Definition at line 1018 of file ASTImporter.cpp.
References clang::AdjustedType::getOriginalType().
ExpectedDecl ASTNodeImporter::VisitDecl | ( | Decl * | D | ) |
Definition at line 2065 of file ASTImporter.cpp.
References clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitDeclRefExpr | ( | DeclRefExpr * | E | ) |
Definition at line 6110 of file ASTImporter.cpp.
References clang::DeclRefExpr::Create(), clang::ImportError::Error, clang::DeclRefExpr::getDecl(), clang::DeclRefExpr::getFoundDecl(), clang::DeclRefExpr::getLocation(), clang::DeclRefExpr::getQualifierLoc(), clang::DeclRefExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::DeclRefExpr::hadMultipleCandidates(), clang::DeclRefExpr::hasExplicitTemplateArgs(), clang::DeclRefExpr::refersToEnclosingVariableOrCapture(), clang::DeclRefExpr::setHadMultipleCandidates(), and clang::DeclRefExpr::template_arguments().
ExpectedStmt ASTNodeImporter::VisitDeclStmt | ( | DeclStmt * | S | ) |
Definition at line 5615 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitDecltypeType | ( | const DecltypeType * | T | ) |
Definition at line 1269 of file ASTImporter.cpp.
References clang::DecltypeType::getUnderlyingExpr(), and clang::DecltypeType::getUnderlyingType().
ExpectedStmt ASTNodeImporter::VisitDefaultStmt | ( | DefaultStmt * | S | ) |
Definition at line 5674 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitDependentNameType | ( | const DependentNameType * | T | ) |
Definition at line 1458 of file ASTImporter.cpp.
References clang::DependentNameType::getQualifier().
ExpectedStmt ASTNodeImporter::VisitDependentScopeDeclRefExpr | ( | DependentScopeDeclRefExpr * | E | ) |
Definition at line 7150 of file ASTImporter.cpp.
References clang::DependentScopeDeclRefExpr::Create(), clang::ImportError::Error, clang::DependentScopeDeclRefExpr::getDeclName(), clang::Expr::getExprLoc(), clang::DependentScopeDeclRefExpr::getLAngleLoc(), clang::DependentScopeDeclRefExpr::getNameInfo(), clang::DependentScopeDeclRefExpr::getQualifierLoc(), clang::DependentScopeDeclRefExpr::getRAngleLoc(), clang::DependentScopeDeclRefExpr::getTemplateKeywordLoc(), clang::DependentScopeDeclRefExpr::hasExplicitTemplateArgs(), and clang::DependentScopeDeclRefExpr::template_arguments().
ExpectedType ASTNodeImporter::VisitDependentSizedArrayType | ( | const DependentSizedArrayType * | T | ) |
ExpectedType ASTNodeImporter::VisitDependentTemplateSpecializationType | ( | const DependentTemplateSpecializationType * | T | ) |
Definition at line 1439 of file ASTImporter.cpp.
References clang::ImportError::Error, clang::DependentTemplateSpecializationType::getArgs(), clang::DependentTemplateSpecializationType::getIdentifier(), clang::TypeWithKeyword::getKeyword(), clang::DependentTemplateSpecializationType::getNumArgs(), and clang::DependentTemplateSpecializationType::getQualifier().
ExpectedStmt ASTNodeImporter::VisitDesignatedInitExpr | ( | DesignatedInitExpr * | E | ) |
Definition at line 6158 of file ASTImporter.cpp.
References clang::DesignatedInitExpr::Create(), clang::DesignatedInitExpr::designators(), clang::ImportError::Error, clang::DesignatedInitExpr::getEqualOrColonLoc(), clang::DesignatedInitExpr::getInit(), clang::DesignatedInitExpr::getNumSubExprs(), clang::DesignatedInitExpr::getSubExpr(), clang::DesignatedInitExpr::size(), and clang::DesignatedInitExpr::usesGNUSyntax().
ExpectedStmt ASTNodeImporter::VisitDoStmt | ( | DoStmt * | S | ) |
Definition at line 5788 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitElaboratedType | ( | const ElaboratedType * | T | ) |
Definition at line 1409 of file ASTImporter.cpp.
References clang::TypeWithKeyword::getKeyword(), clang::ElaboratedType::getNamedType(), clang::ElaboratedType::getOwnedTagDecl(), and clang::ElaboratedType::getQualifier().
ExpectedDecl ASTNodeImporter::VisitEmptyDecl | ( | EmptyDecl * | D | ) |
Definition at line 2077 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ImportError::Error, clang::Decl::getLocation(), and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitEnumConstantDecl | ( | EnumConstantDecl * | D | ) |
Definition at line 2793 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitEnumDecl | ( | EnumDecl * | D | ) |
Definition at line 2458 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitEnumType | ( | const EnumType * | T | ) |
Definition at line 1338 of file ASTImporter.cpp.
References clang::EnumType::getDecl().
ExpectedStmt ASTNodeImporter::VisitExplicitCastExpr | ( | ExplicitCastExpr * | E | ) |
Definition at line 6595 of file ASTImporter.cpp.
References clang::CXXFunctionalCastExpr::Create(), clang::CStyleCastExpr::Create(), clang::CastExpr::getCastKind(), clang::Stmt::getStmtClass(), clang::CastExpr::getSubExpr(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), clang::Expr::getValueKind(), and clang::ImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitExpr | ( | Expr * | E | ) |
Definition at line 6057 of file ASTImporter.cpp.
References clang::Stmt::getBeginLoc(), clang::Stmt::getStmtClassName(), and clang::ImportError::UnsupportedConstruct.
ExpectedStmt ASTNodeImporter::VisitExpressionTraitExpr | ( | ExpressionTraitExpr * | E | ) |
Definition at line 6498 of file ASTImporter.cpp.
References clang::ExpressionTraitExpr::getBeginLoc(), clang::ExpressionTraitExpr::getEndLoc(), clang::ExpressionTraitExpr::getQueriedExpression(), clang::ExpressionTraitExpr::getTrait(), clang::Expr::getType(), and clang::ExpressionTraitExpr::getValue().
ExpectedStmt ASTNodeImporter::VisitExprWithCleanups | ( | ExprWithCleanups * | E | ) |
ExpectedType ASTNodeImporter::VisitExtVectorType | ( | const ExtVectorType * | T | ) |
Definition at line 1153 of file ASTImporter.cpp.
References clang::VectorType::getElementType(), and clang::VectorType::getNumElements().
ExpectedDecl ASTNodeImporter::VisitFieldDecl | ( | FieldDecl * | D | ) |
Definition at line 3248 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitFloatingLiteral | ( | FloatingLiteral * | E | ) |
Definition at line 6214 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 5804 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitFriendDecl | ( | FriendDecl * | D | ) |
Definition at line 3406 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ImportError::Error, clang::Decl::FOK_None, clang::Decl::getAccess(), clang::FriendDecl::getFriendDecl(), clang::FriendDecl::getFriendLoc(), clang::FriendDecl::getFriendType(), clang::Decl::getLocation(), clang::TypeSourceInfo::getType(), clang::Decl::IDNS_NonMemberOperator, clang::Decl::setAccess(), clang::Decl::setLexicalDeclContext(), and clang::Decl::setObjectOfFriendDecl().
ExpectedDecl ASTNodeImporter::VisitFunctionDecl | ( | FunctionDecl * | D | ) |
Definition at line 2948 of file ASTImporter.cpp.
References clang::getCanonicalForwardRedeclChain().
ExpectedType ASTNodeImporter::VisitFunctionNoProtoType | ( | const FunctionNoProtoType * | T | ) |
Definition at line 1163 of file ASTImporter.cpp.
References clang::FunctionType::getExtInfo(), and clang::FunctionType::getReturnType().
ExpectedType ASTNodeImporter::VisitFunctionProtoType | ( | const FunctionProtoType * | T | ) |
Definition at line 1175 of file ASTImporter.cpp.
References clang::FunctionProtoType::ExceptionSpecInfo::Exceptions, clang::FunctionProtoType::exceptions(), clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, clang::FunctionProtoType::ExtProtoInfo::ExtInfo, clang::FunctionProtoType::getExtProtoInfo(), clang::FunctionType::getReturnType(), clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn, clang::FunctionProtoType::ExceptionSpecInfo::NoexceptExpr, clang::FunctionProtoType::param_types(), clang::FunctionProtoType::ExtProtoInfo::RefQualifier, clang::FunctionProtoType::ExceptionSpecInfo::SourceDecl, clang::FunctionProtoType::ExceptionSpecInfo::SourceTemplate, clang::FunctionProtoType::ExceptionSpecInfo::Type, clang::FunctionProtoType::ExtProtoInfo::TypeQuals, and clang::FunctionProtoType::ExtProtoInfo::Variadic.
ExpectedDecl ASTNodeImporter::VisitFunctionTemplateDecl | ( | FunctionTemplateDecl * | D | ) |
Definition at line 5472 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitGCCAsmStmt | ( | GCCAsmStmt * | S | ) |
Definition at line 5541 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitGNUNullExpr | ( | GNUNullExpr * | E | ) |
Definition at line 6083 of file ASTImporter.cpp.
References clang::GNUNullExpr::getBeginLoc(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitGotoStmt | ( | GotoStmt * | S | ) |
Definition at line 5826 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitIfStmt | ( | IfStmt * | S | ) |
Definition at line 5717 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitImaginaryLiteral | ( | ImaginaryLiteral * | E | ) |
Definition at line 6228 of file ASTImporter.cpp.
References clang::ImaginaryLiteral::getSubExpr(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitImplicitCastExpr | ( | ImplicitCastExpr * | E | ) |
Definition at line 6577 of file ASTImporter.cpp.
References clang::ImplicitCastExpr::Create(), clang::CastExpr::getCastKind(), clang::CastExpr::getSubExpr(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedDecl ASTNodeImporter::VisitImplicitParamDecl | ( | ImplicitParamDecl * | D | ) |
Definition at line 3683 of file ASTImporter.cpp.
References clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::ImplicitParamDecl::getParameterKind(), and clang::ValueDecl::getType().
ExpectedStmt ASTNodeImporter::VisitImplicitValueInitExpr | ( | ImplicitValueInitExpr * | E | ) |
Definition at line 6150 of file ASTImporter.cpp.
References clang::Expr::getType().
ExpectedDecl ASTNodeImporter::VisitImportDecl | ( | ImportDecl * | D | ) |
Definition at line 2071 of file ASTImporter.cpp.
References clang::Decl::getDeclKindName(), clang::Decl::getLocation(), and clang::ImportError::UnsupportedConstruct.
ExpectedType ASTNodeImporter::VisitIncompleteArrayType | ( | const IncompleteArrayType * | T | ) |
Definition at line 1099 of file ASTImporter.cpp.
References clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), and clang::ArrayType::getSizeModifier().
ExpectedDecl ASTNodeImporter::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | D | ) |
Definition at line 3333 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitIndirectGotoStmt | ( | IndirectGotoStmt * | S | ) |
Definition at line 5839 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitInitListExpr | ( | InitListExpr * | E | ) |
Definition at line 7384 of file ASTImporter.cpp.
References clang::ImportError::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(), clang::InitListExpr::inits(), clang::InitListExpr::sawArrayRangeDesignator(), clang::InitListExpr::setArrayFiller(), clang::InitListExpr::setInitializedFieldInUnion(), clang::InitListExpr::setSyntacticForm(), and clang::Expr::setType().
ExpectedType ASTNodeImporter::VisitInjectedClassNameType | ( | const InjectedClassNameType * | T | ) |
Definition at line 1308 of file ASTImporter.cpp.
References clang::InjectedClassNameType::getDecl(), clang::InjectedClassNameType::getInjectedSpecializationType(), clang::TypeAlignment, and clang::TypeAlignmentInBits.
ExpectedStmt ASTNodeImporter::VisitIntegerLiteral | ( | IntegerLiteral * | E | ) |
Definition at line 6200 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 2419 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitLabelStmt | ( | LabelStmt * | S | ) |
Definition at line 5687 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitLambdaExpr | ( | LambdaExpr * | LE | ) |
Definition at line 7330 of file ASTImporter.cpp.
References clang::LambdaExpr::capture_inits(), clang::LambdaExpr::capture_size(), clang::LambdaExpr::captures(), clang::CXXRecordDecl::completeDefinition(), clang::Expr::containsUnexpandedParameterPack(), clang::LambdaExpr::Create(), clang::ImportError::Error, clang::RecordDecl::fields(), clang::LambdaExpr::getCallOperator(), clang::LambdaExpr::getCaptureDefault(), clang::LambdaExpr::getCaptureDefaultLoc(), clang::LambdaExpr::getEndLoc(), clang::LambdaExpr::getIntroducerRange(), clang::LambdaExpr::getLambdaClass(), clang::LambdaExpr::hasExplicitParameters(), clang::LambdaExpr::hasExplicitResultType(), and clang::TagDecl::isBeingDefined().
ExpectedDecl ASTNodeImporter::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 4111 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ImportError::Error, clang::LinkageSpecDecl::getExternLoc(), clang::LinkageSpecDecl::getLanguage(), clang::Decl::getLocation(), clang::LinkageSpecDecl::getRBraceLoc(), clang::LinkageSpecDecl::hasBraces(), clang::Decl::setLexicalDeclContext(), and clang::LinkageSpecDecl::setRBraceLoc().
ExpectedType ASTNodeImporter::VisitLValueReferenceType | ( | const LValueReferenceType * | T | ) |
Definition at line 1052 of file ASTImporter.cpp.
References clang::ReferenceType::getPointeeTypeAsWritten().
ExpectedStmt ASTNodeImporter::VisitMaterializeTemporaryExpr | ( | MaterializeTemporaryExpr * | E | ) |
Definition at line 6827 of file ASTImporter.cpp.
References clang::MaterializeTemporaryExpr::getExtendingDecl(), clang::MaterializeTemporaryExpr::getManglingNumber(), clang::MaterializeTemporaryExpr::GetTemporaryExpr(), clang::Expr::getType(), clang::MaterializeTemporaryExpr::isBoundToLvalueReference(), and clang::MaterializeTemporaryExpr::setExtendingDecl().
ExpectedStmt ASTNodeImporter::VisitMemberExpr | ( | MemberExpr * | E | ) |
Definition at line 7023 of file ASTImporter.cpp.
References clang::MemberExpr::Create(), clang::DeclAccessPair::getAccess(), clang::MemberExpr::getBase(), clang::DeclAccessPair::getDecl(), clang::MemberExpr::getFoundDecl(), clang::MemberExpr::getLAngleLoc(), clang::DeclarationNameInfo::getLoc(), clang::MemberExpr::getMemberDecl(), clang::MemberExpr::getMemberNameInfo(), clang::DeclarationNameInfo::getName(), clang::Expr::getObjectKind(), clang::MemberExpr::getOperatorLoc(), clang::MemberExpr::getQualifierLoc(), clang::MemberExpr::getRAngleLoc(), clang::MemberExpr::getTemplateKeywordLoc(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::MemberExpr::hasExplicitTemplateArgs(), clang::MemberExpr::isArrow(), clang::DeclAccessPair::make(), and clang::ImportError::UnsupportedConstruct.
ExpectedType ASTNodeImporter::VisitMemberPointerType | ( | const MemberPointerType * | T | ) |
Definition at line 1072 of file ASTImporter.cpp.
References clang::MemberPointerType::getClass(), and clang::MemberPointerType::getPointeeType().
ExpectedDecl ASTNodeImporter::VisitNamespaceAliasDecl | ( | NamespaceAliasDecl * | D | ) |
Definition at line 2237 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 2160 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitNonTypeTemplateParmDecl | ( | NonTypeTemplateParmDecl * | D | ) |
Definition at line 4852 of file ASTImporter.cpp.
References clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::TemplateParmPosition::getDepth(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), clang::TemplateParmPosition::getPosition(), clang::Decl::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), and clang::NonTypeTemplateParmDecl::isParameterPack().
ExpectedStmt ASTNodeImporter::VisitNullStmt | ( | NullStmt * | S | ) |
Definition at line 5627 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAtCatchStmt | ( | ObjCAtCatchStmt * | S | ) |
Definition at line 5963 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAtFinallyStmt | ( | ObjCAtFinallyStmt * | S | ) |
Definition at line 5979 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAtSynchronizedStmt | ( | ObjCAtSynchronizedStmt * | S | ) |
Definition at line 6016 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAtThrowStmt | ( | ObjCAtThrowStmt * | S | ) |
Definition at line 6031 of file ASTImporter.cpp.
References clang::ObjCAtThrowStmt::getThrowExpr(), and clang::ObjCAtThrowStmt::getThrowLoc().
ExpectedStmt ASTNodeImporter::VisitObjCAtTryStmt | ( | ObjCAtTryStmt * | S | ) |
Definition at line 5990 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitObjCAutoreleasePoolStmt | ( | ObjCAutoreleasePoolStmt * | S | ) |
Definition at line 6042 of file ASTImporter.cpp.
References clang::ObjCAutoreleasePoolStmt::getAtLoc(), and clang::ObjCAutoreleasePoolStmt::getSubStmt().
ExpectedDecl ASTNodeImporter::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
Definition at line 3917 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitObjCCategoryImplDecl | ( | ObjCCategoryImplDecl * | D | ) |
Definition at line 4545 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), Category, clang::ImportError::Error, clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCCategoryImplDecl::getCategoryDecl(), clang::ObjCCategoryImplDecl::getCategoryNameLoc(), clang::ObjCCategoryDecl::getClassInterface(), clang::NamedDecl::getIdentifier(), clang::ObjCCategoryDecl::getImplementation(), clang::Decl::getLocation(), clang::ObjCCategoryDecl::setImplementation(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitObjCForCollectionStmt | ( | ObjCForCollectionStmt * | S | ) |
Definition at line 5944 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |
Definition at line 4582 of file ASTImporter.cpp.
References clang::declaresSameEntity(), clang::ImportError::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::ObjCImplementationDecl::getSuperClassLoc(), clang::ImportError::NameConflict, and clang::Decl::setLexicalDeclContext().
ExpectedDecl ASTNodeImporter::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 4479 of file ASTImporter.cpp.
References clang::ObjCInterfaceDecl::getDefinition().
ExpectedType ASTNodeImporter::VisitObjCInterfaceType | ( | const ObjCInterfaceType * | T | ) |
Definition at line 1479 of file ASTImporter.cpp.
References clang::ObjCInterfaceType::getDecl().
ExpectedDecl ASTNodeImporter::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 3479 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 3760 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitObjCObjectPointerType | ( | const ObjCObjectPointerType * | T | ) |
Definition at line 1515 of file ASTImporter.cpp.
References clang::ObjCObjectPointerType::getPointeeType().
ExpectedType ASTNodeImporter::VisitObjCObjectType | ( | const ObjCObjectType * | T | ) |
Definition at line 1487 of file ASTImporter.cpp.
References clang::ObjCObjectType::getBaseType(), clang::ObjCObjectType::getTypeArgsAsWritten(), clang::ObjCObjectType::isKindOfTypeAsWritten(), P, and clang::ObjCProtocolQualifiers< T >::quals().
ExpectedDecl ASTNodeImporter::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |
Definition at line 4666 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 4750 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCPropertyImplDecl::Dynamic, clang::ImportError::Error, clang::ObjCPropertyImplDecl::getBeginLoc(), clang::NamedDecl::getDeclName(), clang::NamedDecl::getIdentifier(), clang::Decl::getLocation(), clang::ObjCPropertyImplDecl::getPropertyDecl(), clang::ObjCPropertyImplDecl::getPropertyImplementation(), clang::ObjCPropertyImplDecl::getPropertyIvarDecl(), clang::ObjCPropertyImplDecl::getPropertyIvarDeclLoc(), clang::ObjCPropertyDecl::getQueryKind(), clang::ImportError::NameConflict, clang::Property, clang::Decl::setLexicalDeclContext(), and clang::ObjCPropertyImplDecl::Synthesize.
ExpectedDecl ASTNodeImporter::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 4055 of file ASTImporter.cpp.
References clang::ObjCProtocolDecl::getDefinition().
ExpectedDecl ASTNodeImporter::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 3885 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitOffsetOfExpr | ( | OffsetOfExpr * | OE | ) |
Definition at line 6658 of file ASTImporter.cpp.
References clang::OffsetOfNode::Array, clang::OffsetOfNode::Base, clang::OffsetOfExpr::Create(), clang::OffsetOfNode::Field, clang::OffsetOfNode::getArrayExprIndex(), clang::OffsetOfNode::getBase(), clang::OffsetOfNode::getBeginLoc(), clang::OffsetOfExpr::getComponent(), clang::OffsetOfNode::getEndLoc(), clang::OffsetOfNode::getField(), clang::OffsetOfNode::getFieldName(), clang::OffsetOfExpr::getIndexExpr(), clang::OffsetOfNode::getKind(), clang::OffsetOfExpr::getNumComponents(), clang::OffsetOfExpr::getNumExpressions(), clang::OffsetOfExpr::getOperatorLoc(), clang::OffsetOfExpr::getRParenLoc(), clang::Expr::getType(), clang::OffsetOfExpr::getTypeSourceInfo(), and clang::OffsetOfNode::Identifier.
ExpectedStmt ASTNodeImporter::VisitOpaqueValueExpr | ( | OpaqueValueExpr * | E | ) |
Definition at line 6514 of file ASTImporter.cpp.
References clang::OpaqueValueExpr::getLocation(), clang::Expr::getObjectKind(), clang::OpaqueValueExpr::getSourceExpr(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedStmt ASTNodeImporter::VisitPackExpansionExpr | ( | PackExpansionExpr * | E | ) |
Definition at line 6846 of file ASTImporter.cpp.
References clang::PackExpansionExpr::getEllipsisLoc(), clang::PackExpansionExpr::getNumExpansions(), clang::PackExpansionExpr::getPattern(), and clang::Expr::getType().
ExpectedType ASTNodeImporter::VisitPackExpansionType | ( | const PackExpansionType * | T | ) |
Definition at line 1430 of file ASTImporter.cpp.
References clang::PackExpansionType::getNumExpansions(), and clang::PackExpansionType::getPattern().
ExpectedStmt ASTNodeImporter::VisitParenExpr | ( | ParenExpr * | E | ) |
Definition at line 6333 of file ASTImporter.cpp.
References clang::ParenExpr::getLParen(), clang::ParenExpr::getRParen(), and clang::ParenExpr::getSubExpr().
ExpectedStmt ASTNodeImporter::VisitParenListExpr | ( | ParenListExpr * | E | ) |
Definition at line 6346 of file ASTImporter.cpp.
References clang::ParenListExpr::Create(), clang::ImportError::Error, clang::ParenListExpr::exprs(), clang::ParenListExpr::getLParenLoc(), clang::ParenListExpr::getNumExprs(), and clang::ParenListExpr::getRParenLoc().
ExpectedType ASTNodeImporter::VisitParenType | ( | const ParenType * | T | ) |
Definition at line 1237 of file ASTImporter.cpp.
References clang::ParenType::getInnerType().
ExpectedDecl ASTNodeImporter::VisitParmVarDecl | ( | ParmVarDecl * | D | ) |
Definition at line 3705 of file ASTImporter.cpp.
References clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::ParmVarDecl::getDefaultArg(), clang::ParmVarDecl::getFunctionScopeDepth(), clang::ParmVarDecl::getFunctionScopeIndex(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), clang::ParmVarDecl::getObjCDeclQualifier(), clang::VarDecl::getStorageClass(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ParmVarDecl::getUninstantiatedDefaultArg(), clang::ParmVarDecl::hasDefaultArg(), clang::ParmVarDecl::hasInheritedDefaultArg(), clang::ParmVarDecl::hasUninstantiatedDefaultArg(), clang::ParmVarDecl::hasUnparsedDefaultArg(), clang::ParmVarDecl::isKNRPromoted(), clang::ParmVarDecl::isObjCMethodParameter(), clang::ParmVarDecl::setDefaultArg(), clang::ParmVarDecl::setHasInheritedDefaultArg(), clang::ParmVarDecl::setKNRPromoted(), clang::ParmVarDecl::setObjCDeclQualifier(), clang::ParmVarDecl::setObjCMethodScopeInfo(), clang::ParmVarDecl::setScopeInfo(), clang::ParmVarDecl::setUninstantiatedDefaultArg(), and clang::ParmVarDecl::setUnparsedDefaultArg().
ExpectedType ASTNodeImporter::VisitPointerType | ( | const PointerType * | T | ) |
Definition at line 1034 of file ASTImporter.cpp.
References clang::PointerType::getPointeeType().
ExpectedStmt ASTNodeImporter::VisitPredefinedExpr | ( | PredefinedExpr * | E | ) |
Definition at line 6095 of file ASTImporter.cpp.
References clang::PredefinedExpr::Create(), clang::PredefinedExpr::getBeginLoc(), clang::PredefinedExpr::getFunctionName(), clang::PredefinedExpr::getIdentKind(), and clang::Expr::getType().
ExpectedDecl ASTNodeImporter::VisitRecordDecl | ( | RecordDecl * | D | ) |
Definition at line 2542 of file ASTImporter.cpp.
References clang::Decl::FOK_None, clang::RecordDecl::getDefinition(), and clang::Decl::isImplicit().
ExpectedType ASTNodeImporter::VisitRecordType | ( | const RecordType * | T | ) |
Definition at line 1330 of file ASTImporter.cpp.
References clang::RecordType::getDecl().
ExpectedStmt ASTNodeImporter::VisitReturnStmt | ( | ReturnStmt * | S | ) |
Definition at line 5866 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitRValueReferenceType | ( | const RValueReferenceType * | T | ) |
Definition at line 1062 of file ASTImporter.cpp.
References clang::ReferenceType::getPointeeTypeAsWritten().
ExpectedStmt ASTNodeImporter::VisitSizeOfPackExpr | ( | SizeOfPackExpr * | E | ) |
Definition at line 6861 of file ASTImporter.cpp.
References clang::SizeOfPackExpr::Create(), clang::ImportError::Error, clang::SizeOfPackExpr::getOperatorLoc(), clang::SizeOfPackExpr::getPack(), clang::SizeOfPackExpr::getPackLength(), clang::SizeOfPackExpr::getPackLoc(), clang::SizeOfPackExpr::getPartialArguments(), clang::SizeOfPackExpr::getRParenLoc(), clang::SizeOfPackExpr::isPartiallySubstituted(), and clang::Expr::isValueDependent().
ExpectedDecl ASTNodeImporter::VisitStaticAssertDecl | ( | StaticAssertDecl * | D | ) |
Definition at line 2133 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::StaticAssertDecl::getAssertExpr(), clang::Decl::getDeclContext(), clang::Decl::getLocation(), clang::StaticAssertDecl::getMessage(), clang::StaticAssertDecl::getRParenLoc(), clang::StaticAssertDecl::isFailed(), and clang::Decl::setLexicalDeclContext().
ExpectedStmt ASTNodeImporter::VisitStmt | ( | Stmt * | S | ) |
Definition at line 5534 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitStmtExpr | ( | StmtExpr * | E | ) |
Definition at line 6363 of file ASTImporter.cpp.
References clang::StmtExpr::getLParenLoc(), clang::StmtExpr::getRParenLoc(), clang::StmtExpr::getSubStmt(), and clang::Expr::getType().
ExpectedStmt ASTNodeImporter::VisitStringLiteral | ( | StringLiteral * | E | ) |
Definition at line 6254 of file ASTImporter.cpp.
References clang::StringLiteral::Create(), clang::ImportError::Error, clang::StringLiteral::getBytes(), clang::StringLiteral::getKind(), clang::StringLiteral::getNumConcatenated(), clang::Expr::getType(), clang::StringLiteral::isPascal(), clang::StringLiteral::tokloc_begin(), and clang::StringLiteral::tokloc_end().
ExpectedStmt ASTNodeImporter::VisitSubstNonTypeTemplateParmExpr | ( | SubstNonTypeTemplateParmExpr * | E | ) |
Definition at line 7537 of file ASTImporter.cpp.
References clang::Expr::getExprLoc(), clang::SubstNonTypeTemplateParmExpr::getParameter(), clang::SubstNonTypeTemplateParmExpr::getReplacement(), clang::Expr::getType(), and clang::Expr::getValueKind().
ExpectedType ASTNodeImporter::VisitSubstTemplateTypeParmType | ( | const SubstTemplateTypeParmType * | T | ) |
Definition at line 1368 of file ASTImporter.cpp.
References clang::SubstTemplateTypeParmType::getReplacedParameter(), and clang::SubstTemplateTypeParmType::getReplacementType().
ExpectedStmt ASTNodeImporter::VisitSwitchStmt | ( | SwitchStmt * | S | ) |
Definition at line 5737 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitTemplateSpecializationType | ( | const TemplateSpecializationType * | T | ) |
ExpectedDecl ASTNodeImporter::VisitTemplateTemplateParmDecl | ( | TemplateTemplateParmDecl * | D | ) |
Definition at line 4879 of file ASTImporter.cpp.
References clang::NamedDecl::getDeclName(), clang::TemplateParmPosition::getDepth(), clang::Decl::getLocation(), clang::TemplateParmPosition::getPosition(), clang::TemplateDecl::getTemplateParameters(), clang::Decl::getTranslationUnitDecl(), and clang::TemplateTemplateParmDecl::isParameterPack().
ExpectedDecl ASTNodeImporter::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 4826 of file ASTImporter.cpp.
References clang::TypeDecl::getBeginLoc(), clang::TemplateTypeParmDecl::getDepth(), clang::NamedDecl::getIdentifier(), clang::TemplateTypeParmDecl::getIndex(), clang::Decl::getLocation(), clang::Decl::getTranslationUnitDecl(), clang::TemplateTypeParmDecl::isParameterPack(), and clang::TemplateTypeParmDecl::wasDeclaredWithTypename().
ExpectedType ASTNodeImporter::VisitTemplateTypeParmType | ( | const TemplateTypeParmType * | T | ) |
Definition at line 1358 of file ASTImporter.cpp.
References clang::TemplateTypeParmType::getDecl(), clang::TemplateTypeParmType::getDepth(), clang::TemplateTypeParmType::getIndex(), and clang::TemplateTypeParmType::isParameterPack().
ExpectedDecl ASTNodeImporter::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | D | ) |
Definition at line 2097 of file ASTImporter.cpp.
References clang::Decl::getTranslationUnitDecl().
ExpectedType ASTNodeImporter::VisitType | ( | const Type * | T | ) |
Definition at line 955 of file ASTImporter.cpp.
References clang::Type::getTypeClassName(), and clang::ImportError::UnsupportedConstruct.
ExpectedDecl ASTNodeImporter::VisitTypeAliasDecl | ( | TypeAliasDecl * | D | ) |
Definition at line 2359 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitTypeAliasTemplateDecl | ( | TypeAliasTemplateDecl * | D | ) |
Definition at line 2364 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitTypedefDecl | ( | TypedefDecl * | D | ) |
Definition at line 2355 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitTypedefNameDecl | ( | TypedefNameDecl * | D, |
bool | IsAlias | ||
) |
Definition at line 2276 of file ASTImporter.cpp.
ExpectedType ASTNodeImporter::VisitTypedefType | ( | const TypedefType * | T | ) |
Definition at line 1245 of file ASTImporter.cpp.
References clang::TypedefType::getDecl().
ExpectedType ASTNodeImporter::VisitTypeOfExprType | ( | const TypeOfExprType * | T | ) |
Definition at line 1253 of file ASTImporter.cpp.
References clang::TypeOfExprType::getUnderlyingExpr().
ExpectedType ASTNodeImporter::VisitTypeOfType | ( | const TypeOfType * | T | ) |
Definition at line 1261 of file ASTImporter.cpp.
References clang::TypeOfType::getUnderlyingType().
ExpectedStmt ASTNodeImporter::VisitTypeTraitExpr | ( | TypeTraitExpr * | E | ) |
Definition at line 7554 of file ASTImporter.cpp.
References clang::TypeTraitExpr::Create(), clang::ImportError::Error, false, clang::TypeTraitExpr::getArgs(), clang::TypeTraitExpr::getBeginLoc(), clang::TypeTraitExpr::getEndLoc(), clang::TypeTraitExpr::getNumArgs(), clang::TypeTraitExpr::getTrait(), clang::Expr::getType(), clang::TypeTraitExpr::getValue(), and clang::Expr::isValueDependent().
ExpectedStmt ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr | ( | UnaryExprOrTypeTraitExpr * | E | ) |
Definition at line 6395 of file ASTImporter.cpp.
References clang::UnaryExprOrTypeTraitExpr::getArgumentExpr(), clang::UnaryExprOrTypeTraitExpr::getArgumentTypeInfo(), clang::UnaryExprOrTypeTraitExpr::getKind(), clang::UnaryExprOrTypeTraitExpr::getOperatorLoc(), clang::UnaryExprOrTypeTraitExpr::getRParenLoc(), clang::Expr::getType(), and clang::UnaryExprOrTypeTraitExpr::isArgumentType().
ExpectedStmt ASTNodeImporter::VisitUnaryOperator | ( | UnaryOperator * | E | ) |
ExpectedType ASTNodeImporter::VisitUnaryTransformType | ( | const UnaryTransformType * | T | ) |
Definition at line 1284 of file ASTImporter.cpp.
References clang::UnaryTransformType::getBaseType(), clang::UnaryTransformType::getUnderlyingType(), and clang::UnaryTransformType::getUTTKind().
ExpectedStmt ASTNodeImporter::VisitUnresolvedLookupExpr | ( | UnresolvedLookupExpr * | E | ) |
Definition at line 7204 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::UnresolvedLookupExpr::Create(), clang::OverloadExpr::decls(), clang::UnresolvedSetImpl::end(), clang::ImportError::Error, 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(), clang::UnresolvedLookupExpr::isOverloaded(), clang::SourceLocation::isValid(), clang::UnresolvedLookupExpr::requiresADL(), and clang::OverloadExpr::template_arguments().
ExpectedStmt ASTNodeImporter::VisitUnresolvedMemberExpr | ( | UnresolvedMemberExpr * | E | ) |
Definition at line 7253 of file ASTImporter.cpp.
References clang::UnresolvedSetImpl::addDecl(), clang::UnresolvedSetImpl::begin(), clang::UnresolvedMemberExpr::Create(), clang::OverloadExpr::decls(), clang::UnresolvedSetImpl::end(), clang::ImportError::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(), clang::UnresolvedMemberExpr::isArrow(), clang::UnresolvedMemberExpr::isImplicitAccess(), and clang::OverloadExpr::template_arguments().
ExpectedType ASTNodeImporter::VisitUnresolvedUsingType | ( | const UnresolvedUsingType * | T | ) |
Definition at line 1224 of file ASTImporter.cpp.
References clang::UnresolvedUsingType::getDecl(), and clang::Decl::getPreviousDecl().
ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingTypenameDecl | ( | UnresolvedUsingTypenameDecl * | D | ) |
Definition at line 4317 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitUnresolvedUsingValueDecl | ( | UnresolvedUsingValueDecl * | D | ) |
Definition at line 4280 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitUsingDecl | ( | UsingDecl * | D | ) |
Definition at line 4145 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitUsingDirectiveDecl | ( | UsingDirectiveDecl * | D | ) |
Definition at line 4238 of file ASTImporter.cpp.
ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl | ( | UsingShadowDecl * | D | ) |
Definition at line 4196 of file ASTImporter.cpp.
ExpectedStmt ASTNodeImporter::VisitVAArgExpr | ( | VAArgExpr * | E | ) |
Definition at line 6063 of file ASTImporter.cpp.
References clang::VAArgExpr::getBuiltinLoc(), clang::VAArgExpr::getRParenLoc(), clang::VAArgExpr::getSubExpr(), clang::Expr::getType(), clang::VAArgExpr::getWrittenTypeInfo(), and clang::VAArgExpr::isMicrosoftABI().
ExpectedDecl ASTNodeImporter::VisitVarDecl | ( | VarDecl * | D | ) |
Definition at line 3532 of file ASTImporter.cpp.
References clang::getCanonicalForwardRedeclChain().
ExpectedType ASTNodeImporter::VisitVariableArrayType | ( | const VariableArrayType * | T | ) |
Definition at line 1110 of file ASTImporter.cpp.
References clang::VariableArrayType::getBracketsRange(), clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::VariableArrayType::getSizeExpr(), and clang::ArrayType::getSizeModifier().
ExpectedDecl ASTNodeImporter::VisitVarTemplateDecl | ( | VarTemplateDecl * | D | ) |
Definition at line 5227 of file ASTImporter.cpp.
References clang::VarDecl::getDefinition(), and clang::VarTemplateDecl::getTemplatedDecl().
ExpectedDecl ASTNodeImporter::VisitVarTemplateSpecializationDecl | ( | VarTemplateSpecializationDecl * | D | ) |
Definition at line 5323 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::VarTemplateDecl::AddSpecialization(), clang::TemplateArgumentList::data(), clang::ImportError::Error, clang::VarTemplateDecl::findSpecialization(), clang::Decl::getAccess(), clang::DeclaratorDecl::getBeginLoc(), clang::VarDecl::getDefinition(), clang::Decl::getLocation(), clang::VarTemplateSpecializationDecl::getPointOfInstantiation(), clang::DeclaratorDecl::getQualifierLoc(), clang::VarTemplateSpecializationDecl::getSpecializationKind(), clang::VarTemplateSpecializationDecl::getSpecializedTemplate(), clang::VarDecl::getStorageClass(), clang::VarTemplateSpecializationDecl::getTemplateArgs(), clang::VarTemplateSpecializationDecl::getTemplateArgsInfo(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::VarDecl::isConstexpr(), clang::VarDecl::isThisDeclarationADefinition(), clang::SourceLocation::isValid(), clang::Decl::setAccess(), clang::VarDecl::setConstexpr(), clang::Decl::setLexicalDeclContext(), clang::VarTemplateSpecializationDecl::setPointOfInstantiation(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarTemplateSpecializationDecl::setSpecializationKind(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateArgumentList::size().
ExpectedType ASTNodeImporter::VisitVectorType | ( | const VectorType * | T | ) |
Definition at line 1143 of file ASTImporter.cpp.
References clang::VectorType::getElementType(), clang::VectorType::getNumElements(), and clang::VectorType::getVectorKind().
ExpectedStmt ASTNodeImporter::VisitWhileStmt | ( | WhileStmt * | S | ) |
Definition at line 5772 of file ASTImporter.cpp.