clang
3.9.0
|
Public Types | |
enum | ImportDefinitionKind { IDK_Default, IDK_Everything, IDK_Basic } |
What we should import from the definition. More... | |
typedef DesignatedInitExpr::Designator | Designator |
Definition at line 28 of file ASTImporter.cpp.
Definition at line 91 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 96 of file ASTImporter.cpp.
|
inlineexplicit |
Definition at line 34 of file ASTImporter.cpp.
|
inline |
Definition at line 259 of file ASTImporter.cpp.
References clang::ASTImporter::Import(), and clang::ast_matchers::type.
Referenced by VisitStringLiteral().
|
inline |
Definition at line 269 of file ASTImporter.cpp.
References clang::ASTImporter::Import(), and clang::ast_matchers::type.
Referenced by VisitAtomicExpr(), VisitCompoundStmt(), VisitCXXConstructExpr(), VisitCXXMemberCallExpr(), VisitGCCAsmStmt(), VisitInitListExpr(), and VisitParenListExpr().
void ASTNodeImporter::ImportDeclarationNameLoc | ( | const DeclarationNameInfo & | From, |
DeclarationNameInfo & | To | ||
) |
Definition at line 2056 of file ASTImporter.cpp.
References clang::DeclarationName::CXXConstructorName, clang::DeclarationName::CXXConversionFunctionName, 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::ASTImporter::Import(), clang::DeclarationName::ObjCMultiArgSelector, clang::DeclarationName::ObjCOneArgSelector, clang::DeclarationName::ObjCZeroArgSelector, clang::DeclarationNameInfo::setCXXLiteralOperatorNameLoc(), clang::DeclarationNameInfo::setCXXOperatorNameRange(), and clang::DeclarationNameInfo::setNamedTypeInfo().
Referenced by VisitFunctionDecl().
void ASTNodeImporter::ImportDeclContext | ( | DeclContext * | FromDC, |
bool | ForceImport = false |
||
) |
Definition at line 2089 of file ASTImporter.cpp.
References clang::DeclContext::decls(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), and clang::ASTImporter::isMinimalImport().
Referenced by ImportDefinition(), clang::ASTImporter::ImportDefinition(), VisitNamespaceDecl(), VisitObjCCategoryDecl(), VisitObjCCategoryImplDecl(), and VisitObjCImplementationDecl().
DeclGroupRef ASTNodeImporter::ImportDeclGroup | ( | DeclGroupRef | DG | ) |
Definition at line 4798 of file ASTImporter.cpp.
References clang::DeclGroupRef::begin(), clang::DeclGroupRef::Create(), clang::DeclGroupRef::end(), clang::ASTImporter::getToContext(), and clang::DeclGroupRef::isNull().
Referenced by VisitDeclStmt().
bool ASTNodeImporter::ImportDeclParts | ( | NamedDecl * | D, |
DeclContext *& | DC, | ||
DeclContext *& | LexicalDC, | ||
DeclarationName & | Name, | ||
NamedDecl *& | ToD, | ||
SourceLocation & | Loc | ||
) |
Definition at line 1998 of file ASTImporter.cpp.
References clang::ASTImporter::GetAlreadyImportedOrNull(), clang::NamedDecl::getDeclName(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), and clang::Name.
Referenced by VisitClassTemplateDecl(), VisitEnumConstantDecl(), VisitEnumDecl(), VisitFieldDecl(), VisitFunctionDecl(), VisitIndirectFieldDecl(), VisitLabelDecl(), VisitNamespaceDecl(), VisitObjCCategoryDecl(), VisitObjCInterfaceDecl(), VisitObjCIvarDecl(), VisitObjCMethodDecl(), VisitObjCPropertyDecl(), VisitObjCProtocolDecl(), VisitObjCTypeParamDecl(), VisitRecordDecl(), VisitTypedefNameDecl(), VisitVarDecl(), and VisitVarTemplateDecl().
bool ASTNodeImporter::ImportDefinition | ( | RecordDecl * | From, |
RecordDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 2099 of file ASTImporter.cpp.
References clang::CXXRecordDecl::bases(), clang::RecordDecl::completeDefinition(), clang::RecordDecl::getDefinition(), clang::ASTImporter::getToContext(), IDK_Everything, clang::ASTImporter::Import(), ImportDeclContext(), ImportDefinitionIfNeeded(), clang::TagDecl::isBeingDefined(), clang::QualType::isNull(), shouldForceImportDeclContext(), and clang::TagDecl::startDefinition().
Referenced by clang::ASTImporter::ImportContext(), clang::ASTImporter::ImportDefinition(), ImportDefinitionIfNeeded(), VisitClassTemplateSpecializationDecl(), VisitEnumDecl(), VisitObjCInterfaceDecl(), VisitObjCProtocolDecl(), VisitRecordDecl(), VisitVarDecl(), VisitVarTemplateDecl(), and VisitVarTemplateSpecializationDecl().
bool ASTNodeImporter::ImportDefinition | ( | VarDecl * | From, |
VarDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 2207 of file ASTImporter.cpp.
References clang::VarDecl::getAnyInitializer(), clang::ASTImporter::Import(), and clang::VarDecl::setInit().
bool ASTNodeImporter::ImportDefinition | ( | EnumDecl * | From, |
EnumDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 2222 of file ASTImporter.cpp.
References clang::EnumDecl::completeDefinition(), clang::EnumDecl::getDefinition(), clang::ASTImporter::getFromContext(), clang::EnumDecl::getNumNegativeBits(), clang::EnumDecl::getNumPositiveBits(), clang::EnumDecl::getPromotionType(), clang::ASTContext::getTypeDeclType(), IDK_Everything, clang::ASTImporter::Import(), ImportDeclContext(), clang::TagDecl::isBeingDefined(), clang::QualType::isNull(), shouldForceImportDeclContext(), and clang::TagDecl::startDefinition().
bool ASTNodeImporter::ImportDefinition | ( | ObjCInterfaceDecl * | From, |
ObjCInterfaceDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 3891 of file ASTImporter.cpp.
References clang::declaresSameEntity(), clang::ASTImporter::FromDiag(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getDefinition(), clang::ObjCInterfaceDecl::getImplementation(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCInterfaceDecl::getSuperClassLoc(), clang::ObjCInterfaceDecl::getSuperClassTInfo(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportDeclContext(), clang::ObjCInterfaceDecl::known_categories(), clang::ObjCInterfaceDecl::protocol_begin(), clang::ObjCInterfaceDecl::protocol_end(), clang::ObjCInterfaceDecl::protocol_loc_begin(), clang::ObjCInterfaceDecl::setImplementation(), clang::ObjCInterfaceDecl::setProtocolList(), clang::ObjCInterfaceDecl::setSuperClass(), shouldForceImportDeclContext(), clang::ObjCInterfaceDecl::startDefinition(), and clang::ASTImporter::ToDiag().
bool ASTNodeImporter::ImportDefinition | ( | ObjCProtocolDecl * | From, |
ObjCProtocolDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 3769 of file ASTImporter.cpp.
References clang::ObjCProtocolDecl::getDefinition(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportDeclContext(), clang::ObjCProtocolDecl::protocol_begin(), clang::ObjCProtocolDecl::protocol_end(), clang::ObjCProtocolDecl::protocol_loc_begin(), clang::ObjCProtocolDecl::setProtocolList(), shouldForceImportDeclContext(), and clang::ObjCProtocolDecl::startDefinition().
Definition at line 2026 of file ASTImporter.cpp.
References clang::ASTImporter::Import(), and ImportDefinition().
Referenced by clang::ASTImporter::GetAlreadyImportedOrNull(), clang::ASTImporter::Import(), and ImportDefinition().
ASTNodeImporter::Designator ASTNodeImporter::ImportDesignator | ( | const Designator & | D | ) |
Definition at line 5420 of file ASTImporter.cpp.
References clang::DesignatedInitExpr::Designator::getDotLoc(), clang::DesignatedInitExpr::Designator::getEllipsisLoc(), clang::DesignatedInitExpr::Designator::getFieldLoc(), clang::DesignatedInitExpr::Designator::getFieldName(), clang::DesignatedInitExpr::Designator::getFirstExprIndex(), clang::DesignatedInitExpr::Designator::getLBracketLoc(), clang::DesignatedInitExpr::Designator::getRBracketLoc(), clang::ASTImporter::Import(), clang::DesignatedInitExpr::Designator::isArrayDesignator(), clang::DesignatedInitExpr::Designator::isArrayRangeDesignator(), and clang::DesignatedInitExpr::Designator::isFieldDesignator().
Referenced by VisitDesignatedInitExpr().
ObjCTypeParamList * ASTNodeImporter::ImportObjCTypeParamList | ( | ObjCTypeParamList * | list | ) |
Definition at line 3986 of file ASTImporter.cpp.
References clang::ObjCTypeParamList::create(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Referenced by VisitObjCCategoryDecl(), and VisitObjCInterfaceDecl().
TemplateArgument ASTNodeImporter::ImportTemplateArgument | ( | const TemplateArgument & | From | ) |
Definition at line 2273 of file ASTImporter.cpp.
References clang::TemplateArgument::Declaration, clang::TemplateArgument::Expression, clang::TemplateArgument::getAsDecl(), clang::TemplateArgument::getAsExpr(), clang::TemplateArgument::getAsTemplate(), clang::TemplateArgument::getAsTemplateOrTemplatePattern(), clang::TemplateArgument::getAsType(), clang::TemplateArgument::getIntegralType(), clang::TemplateArgument::getKind(), clang::TemplateArgument::getNullPtrType(), clang::TemplateArgument::getNumTemplateExpansions(), clang::TemplateArgument::getParamTypeForDecl(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportTemplateArguments(), clang::TemplateArgument::Integral, clang::TemplateName::isNull(), clang::QualType::isNull(), 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.
Referenced by clang::ASTImporter::Import(), and ImportTemplateArguments().
bool ASTNodeImporter::ImportTemplateArguments | ( | const TemplateArgument * | FromArgs, |
unsigned | NumFromArgs, | ||
SmallVectorImpl< TemplateArgument > & | ToArgs | ||
) |
Definition at line 2343 of file ASTImporter.cpp.
References I, ImportTemplateArgument(), and clang::TemplateArgument::isNull().
Referenced by ImportTemplateArgument(), VisitClassTemplateSpecializationDecl(), VisitTemplateSpecializationType(), and VisitVarTemplateSpecializationDecl().
TemplateParameterList * ASTNodeImporter::ImportTemplateParameterList | ( | TemplateParameterList * | Params | ) |
Definition at line 2251 of file ASTImporter.cpp.
References clang::TemplateParameterList::begin(), clang::TemplateParameterList::Create(), clang::TemplateParameterList::end(), clang::TemplateParameterList::getLAngleLoc(), clang::TemplateParameterList::getRAngleLoc(), clang::TemplateParameterList::getTemplateLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), P, and clang::TemplateParameterList::size().
Referenced by VisitClassTemplateDecl(), VisitTemplateTemplateParmDecl(), and VisitVarTemplateDecl().
bool ASTNodeImporter::IsStructuralMatch | ( | RecordDecl * | FromRecord, |
RecordDecl * | ToRecord, | ||
bool | Complain = true |
||
) |
Definition at line 2357 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), and clang::ASTImporter::GetOriginalDecl().
Referenced by VisitClassTemplateDecl(), VisitClassTemplateSpecializationDecl(), VisitEnumConstantDecl(), VisitEnumDecl(), VisitRecordDecl(), VisitVarTemplateDecl(), and VisitVarTemplateSpecializationDecl().
bool ASTNodeImporter::IsStructuralMatch | ( | VarDecl * | FromVar, |
VarDecl * | ToVar, | ||
bool | Complain = true |
||
) |
Definition at line 2375 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), and clang::ASTImporter::getToContext().
Definition at line 2383 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), and clang::ASTImporter::getToContext().
bool ASTNodeImporter::IsStructuralMatch | ( | EnumConstantDecl * | FromEC, |
EnumConstantDecl * | ToEC | ||
) |
Definition at line 2390 of file ASTImporter.cpp.
References clang::EnumConstantDecl::getInitVal().
bool ASTNodeImporter::IsStructuralMatch | ( | ClassTemplateDecl * | From, |
ClassTemplateDecl * | To | ||
) |
Definition at line 2401 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), and clang::ASTImporter::getToContext().
bool ASTNodeImporter::IsStructuralMatch | ( | VarTemplateDecl * | From, |
VarTemplateDecl * | To | ||
) |
Definition at line 2409 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), and clang::ASTImporter::getToContext().
|
inline |
Definition at line 108 of file ASTImporter.cpp.
References IDK_Default, IDK_Everything, and clang::ASTImporter::isMinimalImport().
Referenced by ImportDefinition().
Decl * ASTNodeImporter::VisitAccessSpecDecl | ( | AccessSpecDecl * | D | ) |
Definition at line 2432 of file ASTImporter.cpp.
References clang::ast_matchers::accessSpecDecl, clang::DeclContext::addDeclInternal(), ColonLoc, clang::AccessSpecDecl::Create(), clang::AccessSpecDecl::getColonLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::ASTImporter::ImportContext().
Expr * ASTNodeImporter::VisitAddrLabelExpr | ( | AddrLabelExpr * | E | ) |
Definition at line 5556 of file ASTImporter.cpp.
References clang::AddrLabelExpr::getAmpAmpLoc(), clang::AddrLabelExpr::getLabel(), clang::AddrLabelExpr::getLabelLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitAtomicExpr | ( | AtomicExpr * | E | ) |
Definition at line 5540 of file ASTImporter.cpp.
References clang::AtomicExpr::getBuiltinLoc(), clang::AtomicExpr::getNumSubExprs(), clang::AtomicExpr::getOp(), clang::AtomicExpr::getRParenLoc(), clang::AtomicExpr::getSubExprs(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), ImportArrayChecked(), and clang::QualType::isNull().
Stmt * ASTNodeImporter::VisitAttributedStmt | ( | AttributedStmt * | S | ) |
QualType ASTNodeImporter::VisitAttributedType | ( | const AttributedType * | T | ) |
Definition at line 1876 of file ASTImporter.cpp.
References clang::ASTContext::getAttributedType(), clang::AttributedType::getAttrKind(), clang::AttributedType::getEquivalentType(), clang::AttributedType::getModifiedType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 1822 of file ASTImporter.cpp.
References clang::ASTContext::getAutoType(), clang::AutoType::getDeducedType(), clang::AutoType::getKeyword(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitBinaryConditionalOperator | ( | BinaryConditionalOperator * | E | ) |
Definition at line 5689 of file ASTImporter.cpp.
References clang::AbstractConditionalOperator::getColonLoc(), clang::BinaryConditionalOperator::getCommon(), clang::BinaryConditionalOperator::getCond(), clang::BinaryConditionalOperator::getFalseExpr(), clang::Expr::getObjectKind(), clang::BinaryConditionalOperator::getOpaqueValue(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::ASTImporter::getToContext(), clang::BinaryConditionalOperator::getTrueExpr(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitBinaryOperator | ( | BinaryOperator * | E | ) |
Definition at line 5646 of file ASTImporter.cpp.
References clang::BinaryOperator::getLHS(), clang::Expr::getObjectKind(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getRHS(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), clang::BinaryOperator::isFPContractable(), and clang::QualType::isNull().
QualType ASTNodeImporter::VisitBlockPointerType | ( | const BlockPointerType * | T | ) |
Definition at line 1613 of file ASTImporter.cpp.
References clang::ASTContext::getBlockPointerType(), clang::BlockPointerType::getPointeeType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 5141 of file ASTImporter.cpp.
References clang::BreakStmt::getBreakLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
QualType ASTNodeImporter::VisitBuiltinType | ( | const BuiltinType * | T | ) |
Definition at line 1552 of file ASTImporter.cpp.
References clang::ASTContext::CharTy, clang::BuiltinType::getKind(), clang::ASTContext::getLangOpts(), clang::ASTImporter::getToContext(), clang::ASTContext::SignedCharTy, clang::ASTContext::UnsignedCharTy, and clang::ASTContext::WCharTy.
Definition at line 5913 of file ASTImporter.cpp.
References clang::CallExpr::getArg(), clang::CallExpr::getCallee(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), clang::QualType::isNull(), and clang::NumArgs.
Definition at line 4920 of file ASTImporter.cpp.
References clang::CaseStmt::getCaseLoc(), clang::CaseStmt::getColonLoc(), clang::CaseStmt::getEllipsisLoc(), clang::CaseStmt::getLHS(), clang::CaseStmt::getRHS(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitCharacterLiteral | ( | CharacterLiteral * | E | ) |
Decl * ASTNodeImporter::VisitClassTemplateDecl | ( | ClassTemplateDecl * | D | ) |
Definition at line 4403 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ClassTemplateDecl::Create(), clang::ASTImporter::GetAlreadyImportedOrNull(), clang::CXXRecordDecl::getDefinition(), clang::CXXRecordDecl::getDescribedClassTemplate(), clang::DeclContext::getRedeclContext(), clang::ClassTemplateDecl::getTemplatedDecl(), clang::TemplateDecl::getTemplateParameters(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), I, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), ImportTemplateParameterList(), clang::TagDecl::isCompleteDefinition(), clang::DeclContext::isFunctionOrMethod(), IsStructuralMatch(), clang::DeclContext::localUncachedLookup(), and clang::Name.
Decl * ASTNodeImporter::VisitClassTemplateSpecializationDecl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 4504 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ClassTemplateSpecializationDecl::Create(), clang::TemplateArgumentList::data(), clang::ClassTemplateDecl::findSpecialization(), clang::CXXRecordDecl::getDefinition(), clang::TypeDecl::getLocStart(), clang::TagDecl::getQualifierLoc(), clang::ClassTemplateSpecializationDecl::getSpecializationKind(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplate(), clang::TagDecl::getTagKind(), clang::ClassTemplateSpecializationDecl::getTemplateArgs(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), ImportDefinition(), clang::ASTImporter::Imported(), ImportTemplateArguments(), clang::TagDecl::isCompleteDefinition(), IsStructuralMatch(), clang::TagDecl::setQualifierInfo(), clang::ClassTemplateSpecializationDecl::setSpecializationKind(), and clang::TemplateArgumentList::size().
QualType ASTNodeImporter::VisitComplexType | ( | const ComplexType * | T | ) |
Definition at line 1597 of file ASTImporter.cpp.
References clang::ASTContext::getComplexType(), clang::ComplexType::getElementType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitCompoundAssignOperator | ( | CompoundAssignOperator * | E | ) |
Definition at line 5736 of file ASTImporter.cpp.
References clang::CompoundAssignOperator::getComputationLHSType(), clang::CompoundAssignOperator::getComputationResultType(), clang::BinaryOperator::getLHS(), clang::Expr::getObjectKind(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getRHS(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), clang::BinaryOperator::isFPContractable(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitCompoundLiteralExpr | ( | CompoundLiteralExpr * | E | ) |
Definition at line 5522 of file ASTImporter.cpp.
References clang::CompoundLiteralExpr::getInitializer(), clang::CompoundLiteralExpr::getLParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CompoundLiteralExpr::getTypeSourceInfo(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), clang::CompoundLiteralExpr::isFileScope(), and clang::QualType::isNull().
Stmt * ASTNodeImporter::VisitCompoundStmt | ( | CompoundStmt * | S | ) |
Definition at line 4907 of file ASTImporter.cpp.
References clang::CompoundStmt::body_begin(), clang::CompoundStmt::body_end(), clang::CompoundStmt::getLBracLoc(), clang::CompoundStmt::getRBracLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportArrayChecked(), and clang::CompoundStmt::size().
Expr * ASTNodeImporter::VisitConditionalOperator | ( | ConditionalOperator * | E | ) |
Definition at line 5666 of file ASTImporter.cpp.
References clang::AbstractConditionalOperator::getColonLoc(), clang::ConditionalOperator::getCond(), clang::ConditionalOperator::getLHS(), clang::Expr::getObjectKind(), clang::AbstractConditionalOperator::getQuestionLoc(), clang::ConditionalOperator::getRHS(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), and clang::QualType::isNull().
QualType ASTNodeImporter::VisitConstantArrayType | ( | const ConstantArrayType * | T | ) |
Definition at line 1653 of file ASTImporter.cpp.
References clang::ASTContext::getConstantArrayType(), clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::ConstantArrayType::getSize(), clang::ArrayType::getSizeModifier(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Stmt * ASTNodeImporter::VisitContinueStmt | ( | ContinueStmt * | S | ) |
Definition at line 5136 of file ASTImporter.cpp.
References clang::ContinueStmt::getContinueLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitCStyleCastExpr | ( | CStyleCastExpr * | E | ) |
Definition at line 5790 of file ASTImporter.cpp.
References clang::CStyleCastExpr::Create(), clang::CastExpr::getCastKind(), clang::CStyleCastExpr::getLParenLoc(), clang::CStyleCastExpr::getRParenLoc(), clang::CastExpr::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), ImportCastPath(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitCXXBoolLiteralExpr | ( | CXXBoolLiteralExpr * | E | ) |
Definition at line 5868 of file ASTImporter.cpp.
References clang::CXXBoolLiteralExpr::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CXXBoolLiteralExpr::getValue(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Stmt * ASTNodeImporter::VisitCXXCatchStmt | ( | CXXCatchStmt * | S | ) |
Definition at line 5159 of file ASTImporter.cpp.
References clang::CXXCatchStmt::getCatchLoc(), clang::CXXCatchStmt::getExceptionDecl(), clang::CXXCatchStmt::getHandlerBlock(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitCXXConstructExpr | ( | CXXConstructExpr * | E | ) |
Definition at line 5814 of file ASTImporter.cpp.
References clang::CXXConstructExpr::Create(), clang::CXXConstructExpr::getArgs(), clang::CXXConstructExpr::getConstructionKind(), clang::CXXConstructExpr::getConstructor(), clang::CXXConstructExpr::getLocation(), clang::CXXConstructExpr::getNumArgs(), clang::CXXConstructExpr::getParenOrBraceRange(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::CXXConstructExpr::hadMultipleCandidates(), clang::ASTImporter::Import(), ImportArrayChecked(), clang::CXXConstructExpr::isElidable(), clang::CXXConstructExpr::isListInitialization(), clang::QualType::isNull(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().
Decl * ASTNodeImporter::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 3143 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
Decl * ASTNodeImporter::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 3151 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
Expr * ASTNodeImporter::VisitCXXDefaultInitExpr | ( | CXXDefaultInitExpr * | E | ) |
Definition at line 5991 of file ASTImporter.cpp.
References clang::CXXDefaultInitExpr::Create(), clang::CXXDefaultInitExpr::getField(), clang::CXXDefaultInitExpr::getLocStart(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Decl * ASTNodeImporter::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 3147 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
Stmt * ASTNodeImporter::VisitCXXForRangeStmt | ( | CXXForRangeStmt * | S | ) |
Definition at line 5193 of file ASTImporter.cpp.
References 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::getLoopVarStmt(), clang::CXXForRangeStmt::getRangeStmt(), clang::CXXForRangeStmt::getRParenLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitCXXMemberCallExpr | ( | CXXMemberCallExpr * | E | ) |
Definition at line 5840 of file ASTImporter.cpp.
References clang::CallExpr::arg_begin(), clang::CallExpr::arg_end(), clang::CallExpr::getCallee(), clang::CallExpr::getNumArgs(), clang::CallExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), ImportArrayChecked(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 3139 of file ASTImporter.cpp.
References VisitFunctionDecl().
Referenced by VisitCXXConstructorDecl(), VisitCXXConversionDecl(), and VisitCXXDestructorDecl().
Expr * ASTNodeImporter::VisitCXXNamedCastExpr | ( | CXXNamedCastExpr * | E | ) |
Definition at line 6001 of file ASTImporter.cpp.
References clang::CXXStaticCastExpr::Create(), clang::CXXDynamicCastExpr::Create(), clang::CXXReinterpretCastExpr::Create(), clang::CXXNamedCastExpr::getAngleBrackets(), clang::CastExpr::getCastKind(), clang::CXXNamedCastExpr::getOperatorLoc(), clang::CXXNamedCastExpr::getRParenLoc(), clang::CastExpr::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ExplicitCastExpr::getTypeInfoAsWritten(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), ImportCastPath(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitCXXNullPtrLiteralExpr | ( | CXXNullPtrLiteralExpr * | E | ) |
Definition at line 5470 of file ASTImporter.cpp.
References clang::CXXNullPtrLiteralExpr::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitCXXThisExpr | ( | CXXThisExpr * | E | ) |
Definition at line 5859 of file ASTImporter.cpp.
References clang::CXXThisExpr::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), clang::CXXThisExpr::isImplicit(), and clang::QualType::isNull().
Stmt * ASTNodeImporter::VisitCXXTryStmt | ( | CXXTryStmt * | S | ) |
Definition at line 2417 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag().
Expr * ASTNodeImporter::VisitDeclRefExpr | ( | DeclRefExpr * | E | ) |
Definition at line 5381 of file ASTImporter.cpp.
References clang::DeclRefExpr::Create(), clang::DeclRefExpr::getDecl(), clang::DeclRefExpr::getFoundDecl(), clang::DeclRefExpr::getLocation(), clang::DeclRefExpr::getQualifierLoc(), clang::DeclRefExpr::getTemplateKeywordLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::DeclRefExpr::hadMultipleCandidates(), clang::ASTImporter::Import(), clang::QualType::isNull(), clang::DeclRefExpr::refersToEnclosingVariableOrCapture(), and clang::DeclRefExpr::setHadMultipleCandidates().
Definition at line 4890 of file ASTImporter.cpp.
References clang::DeclStmt::getDeclGroup(), clang::DeclStmt::getEndLoc(), clang::DeclStmt::getStartLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and ImportDeclGroup().
QualType ASTNodeImporter::VisitDecltypeType | ( | const DecltypeType * | T | ) |
Definition at line 1798 of file ASTImporter.cpp.
References clang::ASTContext::getDecltypeType(), clang::ASTImporter::getToContext(), clang::DecltypeType::getUnderlyingExpr(), clang::DecltypeType::getUnderlyingType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Stmt * ASTNodeImporter::VisitDefaultStmt | ( | DefaultStmt * | S | ) |
Definition at line 4935 of file ASTImporter.cpp.
References clang::DefaultStmt::getColonLoc(), clang::DefaultStmt::getDefaultLoc(), clang::DefaultStmt::getSubStmt(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitDesignatedInitExpr | ( | DesignatedInitExpr * | E | ) |
Definition at line 5440 of file ASTImporter.cpp.
References clang::DesignatedInitExpr::Create(), clang::DesignatedInitExpr::designators(), E, clang::DesignatedInitExpr::getEqualOrColonLoc(), clang::DesignatedInitExpr::getInit(), clang::DesignatedInitExpr::getNumSubExprs(), clang::DesignatedInitExpr::getSubExpr(), clang::ASTImporter::getToContext(), I, clang::ASTImporter::Import(), ImportDesignator(), clang::DesignatedInitExpr::size(), and clang::DesignatedInitExpr::usesGNUSyntax().
Definition at line 5067 of file ASTImporter.cpp.
References clang::DoStmt::getBody(), clang::DoStmt::getCond(), clang::DoStmt::getDoLoc(), clang::DoStmt::getRParenLoc(), clang::ASTImporter::getToContext(), clang::DoStmt::getWhileLoc(), and clang::ASTImporter::Import().
QualType ASTNodeImporter::VisitElaboratedType | ( | const ElaboratedType * | T | ) |
Definition at line 1932 of file ASTImporter.cpp.
References clang::ASTContext::getElaboratedType(), clang::TypeWithKeyword::getKeyword(), clang::ElaboratedType::getNamedType(), clang::ElaboratedType::getQualifier(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitEnumConstantDecl | ( | EnumConstantDecl * | D | ) |
Definition at line 2879 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::EnumConstantDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::EnumConstantDecl::getInitExpr(), clang::EnumConstantDecl::getInitVal(), clang::DeclContext::getRedeclContext(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::ASTImporter::HandleNameConflict(), I, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::DeclContext::isFunctionOrMethod(), clang::QualType::isNull(), IsStructuralMatch(), clang::DeclContext::localUncachedLookup(), and clang::Name.
Definition at line 2638 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::EnumDecl::Create(), clang::Type::getAs(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::EnumDecl::getIntegerType(), clang::ASTContext::getLangOpts(), clang::TypeDecl::getLocStart(), clang::TagDecl::getQualifierLoc(), clang::DeclContext::getRedeclContext(), clang::ASTImporter::getToContext(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::ASTImporter::HandleNameConflict(), I, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), clang::TagDecl::isCompleteDefinition(), clang::EnumDecl::isFixed(), clang::DeclContext::isFunctionOrMethod(), clang::QualType::isNull(), clang::EnumDecl::isScoped(), clang::EnumDecl::isScopedUsingClassTag(), IsStructuralMatch(), clang::DeclContext::localUncachedLookup(), clang::Name, clang::EnumDecl::setIntegerType(), and clang::TagDecl::setQualifierInfo().
Definition at line 1867 of file ASTImporter.cpp.
References clang::EnumType::getDecl(), clang::ASTContext::getTagDeclType(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Definition at line 5333 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag().
QualType ASTNodeImporter::VisitExtVectorType | ( | const ExtVectorType * | T | ) |
Definition at line 1701 of file ASTImporter.cpp.
References clang::VectorType::getElementType(), clang::ASTContext::getExtVectorType(), clang::VectorType::getNumElements(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 3172 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::FieldDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::FieldDecl::getBitWidth(), getFieldIndex(), clang::FieldDecl::getInClassInitializer(), clang::FieldDecl::getInClassInitStyle(), clang::DeclaratorDecl::getInnerLocStart(), clang::DeclContext::getRedeclContext(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), I, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::FieldDecl::isMutable(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Name, clang::FieldDecl::setInClassInitializer(), and clang::ASTImporter::ToDiag().
Expr * ASTNodeImporter::VisitFloatingLiteral | ( | FloatingLiteral * | E | ) |
Definition at line 5489 of file ASTImporter.cpp.
References clang::FloatingLiteral::Create(), clang::FloatingLiteral::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::FloatingLiteral::getValue(), clang::ASTImporter::Import(), clang::FloatingLiteral::isExact(), and clang::QualType::isNull().
Definition at line 5082 of file ASTImporter.cpp.
References clang::ForStmt::getBody(), clang::ForStmt::getCond(), clang::ForStmt::getConditionVariable(), clang::ForStmt::getForLoc(), clang::ForStmt::getInc(), clang::ForStmt::getInit(), clang::ForStmt::getLParenLoc(), clang::ForStmt::getRParenLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Decl * ASTNodeImporter::VisitFunctionDecl | ( | FunctionDecl * | D | ) |
Definition at line 2938 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::FunctionDecl::Create(), clang::CXXMethodDecl::Create(), clang::CXXConstructorDecl::Create(), clang::CXXDestructorDecl::Create(), clang::CXXConversionDecl::Create(), clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, clang::Type::getAs(), clang::FunctionDecl::getBody(), clang::ASTImporter::getFromContext(), clang::ASTContext::getFunctionType(), clang::DeclaratorDecl::getInnerLocStart(), clang::ASTContext::getLangOpts(), clang::FunctionDecl::getNameInfo(), clang::DeclaratorDecl::getQualifierLoc(), clang::DeclContext::getRedeclContext(), clang::FunctionDecl::getStorageClass(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::HandleNameConflict(), clang::NamedDecl::hasExternalFormalLinkage(), clang::FunctionDecl::hasWrittenPrototype(), I, clang::ASTImporter::Import(), ImportDeclarationNameLoc(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::FunctionDecl::isConstexpr(), clang::DeclContext::isFunctionOrMethod(), clang::FunctionDecl::isInlineSpecified(), clang::QualType::isNull(), clang::FunctionDecl::isPure(), clang::ASTImporter::IsStructurallyEquivalent(), clang::FunctionDecl::isTrivial(), clang::FunctionDecl::isVirtualAsWritten(), clang::DeclContext::localUncachedLookup(), clang::Name, clang::FunctionProtoType::ExceptionSpecInfo::NoexceptExpr, P, clang::FunctionDecl::parameters(), clang::FunctionDecl::setBody(), clang::CXXConstructorDecl::setCtorInitializers(), clang::FunctionDecl::setPure(), clang::DeclaratorDecl::setQualifierInfo(), clang::FunctionDecl::setTrivial(), clang::ValueDecl::setType(), clang::FunctionDecl::setVirtualAsWritten(), clang::FunctionProtoType::ExceptionSpecInfo::SourceDecl, clang::FunctionProtoType::ExceptionSpecInfo::SourceTemplate, and clang::ASTImporter::ToDiag().
Referenced by VisitCXXMethodDecl().
QualType ASTNodeImporter::VisitFunctionNoProtoType | ( | const FunctionNoProtoType * | T | ) |
Definition at line 1711 of file ASTImporter.cpp.
References clang::FunctionType::getExtInfo(), clang::ASTContext::getFunctionNoProtoType(), clang::FunctionType::getReturnType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
QualType ASTNodeImporter::VisitFunctionProtoType | ( | const FunctionProtoType * | T | ) |
Definition at line 1722 of file ASTImporter.cpp.
References E, clang::FunctionProtoType::ExceptionSpecInfo::Exceptions, clang::FunctionProtoType::exceptions(), clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, clang::FunctionProtoType::ExtProtoInfo::ExtInfo, clang::FunctionProtoType::getExtProtoInfo(), clang::ASTContext::getFunctionType(), clang::FunctionType::getReturnType(), clang::ASTImporter::getToContext(), clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn, clang::ASTImporter::Import(), clang::QualType::isNull(), 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.
Stmt * ASTNodeImporter::VisitGCCAsmStmt | ( | GCCAsmStmt * | S | ) |
Definition at line 4820 of file ASTImporter.cpp.
References clang::AsmStmt::begin_inputs(), clang::AsmStmt::begin_outputs(), E, clang::AsmStmt::end_inputs(), clang::AsmStmt::end_outputs(), clang::AsmStmt::getAsmLoc(), clang::GCCAsmStmt::getAsmString(), clang::GCCAsmStmt::getClobberStringLiteral(), clang::GCCAsmStmt::getInputConstraintLiteral(), clang::GCCAsmStmt::getInputIdentifier(), clang::AsmStmt::getNumClobbers(), clang::AsmStmt::getNumInputs(), clang::AsmStmt::getNumOutputs(), clang::GCCAsmStmt::getOutputConstraintLiteral(), clang::GCCAsmStmt::getOutputIdentifier(), clang::GCCAsmStmt::getRParenLoc(), clang::ASTImporter::getToContext(), I, clang::ASTImporter::Import(), ImportArrayChecked(), Input, clang::AsmStmt::isSimple(), clang::AsmStmt::isVolatile(), and clang::ast_matchers::internal::Names().
Expr * ASTNodeImporter::VisitGNUNullExpr | ( | GNUNullExpr * | E | ) |
Definition at line 5358 of file ASTImporter.cpp.
References clang::Expr::getExprLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 5113 of file ASTImporter.cpp.
References clang::GotoStmt::getGotoLoc(), clang::GotoStmt::getLabel(), clang::GotoStmt::getLabelLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Definition at line 4978 of file ASTImporter.cpp.
References clang::IfStmt::getCond(), clang::IfStmt::getConditionVariable(), clang::IfStmt::getElse(), clang::IfStmt::getElseLoc(), clang::IfStmt::getIfLoc(), clang::IfStmt::getInit(), clang::IfStmt::getThen(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::IfStmt::isConstexpr().
Expr * ASTNodeImporter::VisitImplicitCastExpr | ( | ImplicitCastExpr * | E | ) |
Definition at line 5773 of file ASTImporter.cpp.
References clang::ImplicitCastExpr::Create(), clang::CastExpr::getCastKind(), clang::CastExpr::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), ImportCastPath(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitImplicitParamDecl | ( | ImplicitParamDecl * | D | ) |
Definition at line 3487 of file ASTImporter.cpp.
References clang::ImplicitParamDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::ASTImporter::Import(), clang::ASTImporter::Imported(), clang::QualType::isNull(), and clang::Name.
Expr * ASTNodeImporter::VisitImplicitValueInitExpr | ( | ImplicitValueInitExpr * | ILE | ) |
Definition at line 5411 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), clang::QualType::isNull(), and NULL.
QualType ASTNodeImporter::VisitIncompleteArrayType | ( | const IncompleteArrayType * | T | ) |
Definition at line 1665 of file ASTImporter.cpp.
References clang::ArrayType::getElementType(), clang::ASTContext::getIncompleteArrayType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::ArrayType::getSizeModifier(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitIndirectFieldDecl | ( | IndirectFieldDecl * | D | ) |
Definition at line 3236 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::IndirectFieldDecl::chain(), clang::Attr::clone(), clang::IndirectFieldDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::IndirectFieldDecl::getChainingSize(), getFieldIndex(), clang::DeclContext::getRedeclContext(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), I, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::DeclarationName::isEmpty(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Name, and clang::ASTImporter::ToDiag().
Stmt * ASTNodeImporter::VisitIndirectGotoStmt | ( | IndirectGotoStmt * | S | ) |
Definition at line 5126 of file ASTImporter.cpp.
References clang::IndirectGotoStmt::getGotoLoc(), clang::IndirectGotoStmt::getStarLoc(), clang::IndirectGotoStmt::getTarget(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitInitListExpr | ( | InitListExpr * | E | ) |
Definition at line 5946 of file ASTImporter.cpp.
References clang::InitListExpr::getArrayFiller(), clang::InitListExpr::getInitializedFieldInUnion(), clang::InitListExpr::getInits(), clang::InitListExpr::getLBraceLoc(), clang::InitListExpr::getNumInits(), clang::InitListExpr::getSyntacticForm(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::InitListExpr::hadArrayRangeDesignator(), clang::InitListExpr::hasArrayFiller(), clang::ASTImporter::Import(), ImportArrayChecked(), clang::Expr::isInstantiationDependent(), clang::QualType::isNull(), clang::Expr::isValueDependent(), clang::InitListExpr::sawArrayRangeDesignator(), clang::InitListExpr::setArrayFiller(), clang::InitListExpr::setInitializedFieldInUnion(), clang::Expr::setInstantiationDependent(), clang::InitListExpr::setSyntacticForm(), clang::Expr::setType(), and clang::Expr::setValueDependent().
QualType ASTNodeImporter::VisitInjectedClassNameType | ( | const InjectedClassNameType * | T | ) |
Definition at line 1836 of file ASTImporter.cpp.
References clang::InjectedClassNameType::getDecl(), clang::InjectedClassNameType::getInjectedSpecializationType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::QualType::isNull(), clang::TypeAlignment, and clang::TypeAlignmentInBits.
Expr * ASTNodeImporter::VisitIntegerLiteral | ( | IntegerLiteral * | E | ) |
Definition at line 5479 of file ASTImporter.cpp.
References clang::IntegerLiteral::Create(), clang::IntegerLiteral::getLocation(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::APIntStorage::getValue(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 2605 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::LabelDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::LabelDecl::getStmt(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::DeclContext::isFunctionOrMethod(), clang::LabelDecl::isGnuLocal(), and clang::Name.
Definition at line 4945 of file ASTImporter.cpp.
References clang::LabelStmt::getDecl(), clang::LabelStmt::getIdentLoc(), clang::LabelStmt::getSubStmt(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Decl * ASTNodeImporter::VisitLinkageSpecDecl | ( | LinkageSpecDecl * | D | ) |
Definition at line 3861 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::LinkageSpecDecl::Create(), clang::LinkageSpecDecl::getExternLoc(), clang::LinkageSpecDecl::getLanguage(), clang::LinkageSpecDecl::getRBraceLoc(), clang::ASTImporter::getToContext(), clang::LinkageSpecDecl::hasBraces(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), clang::ASTImporter::Imported(), and clang::LinkageSpecDecl::setRBraceLoc().
QualType ASTNodeImporter::VisitLValueReferenceType | ( | const LValueReferenceType * | T | ) |
Definition at line 1623 of file ASTImporter.cpp.
References clang::ASTContext::getLValueReferenceType(), clang::ReferenceType::getPointeeTypeAsWritten(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitMemberExpr | ( | MemberExpr * | E | ) |
Definition at line 5878 of file ASTImporter.cpp.
References clang::MemberExpr::Create(), clang::DeclAccessPair::getAccess(), clang::MemberExpr::getBase(), clang::DeclAccessPair::getDecl(), clang::MemberExpr::getFoundDecl(), clang::DeclarationNameInfo::getLoc(), clang::MemberExpr::getMemberDecl(), clang::MemberExpr::getMemberNameInfo(), clang::DeclarationNameInfo::getName(), clang::Expr::getObjectKind(), clang::MemberExpr::getOperatorLoc(), clang::MemberExpr::getQualifierLoc(), clang::MemberExpr::getTemplateKeywordLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::MemberExpr::hasExplicitTemplateArgs(), clang::ASTImporter::Import(), clang::MemberExpr::isArrow(), clang::QualType::isNull(), and clang::DeclAccessPair::make().
QualType ASTNodeImporter::VisitMemberPointerType | ( | const MemberPointerType * | T | ) |
Definition at line 1642 of file ASTImporter.cpp.
References clang::MemberPointerType::getClass(), clang::ASTContext::getMemberPointerType(), clang::MemberPointerType::getPointeeType(), clang::ASTImporter::getToContext(), clang::QualType::getTypePtr(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitNamespaceDecl | ( | NamespaceDecl * | D | ) |
Definition at line 2457 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::NamespaceDecl::Create(), clang::NamespaceDecl::getAnonymousNamespace(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamespaceDecl::getLocStart(), clang::DeclContext::getRedeclContext(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), I, clang::ASTImporter::Import(), ImportDeclContext(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::NamespaceDecl::isInline(), clang::DeclContext::localUncachedLookup(), and clang::Name.
Decl * ASTNodeImporter::VisitNonTypeTemplateParmDecl | ( | NonTypeTemplateParmDecl * | D | ) |
Definition at line 4348 of file ASTImporter.cpp.
References clang::NonTypeTemplateParmDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::TemplateParmPosition::getDepth(), clang::DeclaratorDecl::getInnerLocStart(), clang::TemplateParmPosition::getPosition(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::Import(), clang::QualType::isNull(), clang::NonTypeTemplateParmDecl::isParameterPack(), and clang::Name.
Definition at line 4901 of file ASTImporter.cpp.
References clang::NullStmt::getSemiLoc(), clang::ASTImporter::getToContext(), clang::NullStmt::hasLeadingEmptyMacro(), and clang::ASTImporter::Import().
Stmt * ASTNodeImporter::VisitObjCAtCatchStmt | ( | ObjCAtCatchStmt * | S | ) |
Stmt * ASTNodeImporter::VisitObjCAtFinallyStmt | ( | ObjCAtFinallyStmt * | S | ) |
Definition at line 5267 of file ASTImporter.cpp.
References clang::ObjCAtFinallyStmt::getAtFinallyLoc(), clang::ObjCAtFinallyStmt::getFinallyBody(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Stmt * ASTNodeImporter::VisitObjCAtSynchronizedStmt | ( | ObjCAtSynchronizedStmt * | S | ) |
Definition at line 5299 of file ASTImporter.cpp.
References clang::ObjCAtSynchronizedStmt::getAtSynchronizedLoc(), clang::ObjCAtSynchronizedStmt::getSynchBody(), and clang::ObjCAtSynchronizedStmt::getSynchExpr().
Stmt * ASTNodeImporter::VisitObjCAtThrowStmt | ( | ObjCAtThrowStmt * | S | ) |
Definition at line 5312 of file ASTImporter.cpp.
References clang::ObjCAtThrowStmt::getThrowExpr(), clang::ObjCAtThrowStmt::getThrowLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Stmt * ASTNodeImporter::VisitObjCAtTryStmt | ( | ObjCAtTryStmt * | S | ) |
Definition at line 5276 of file ASTImporter.cpp.
References clang::ObjCAtTryStmt::Create(), clang::ObjCAtTryStmt::getAtTryLoc(), clang::ObjCAtTryStmt::getCatchStmt(), clang::ObjCAtTryStmt::getFinallyStmt(), clang::ObjCAtTryStmt::getNumCatchStmts(), clang::ASTImporter::getToContext(), clang::ObjCAtTryStmt::getTryBody(), and clang::ASTImporter::Import().
Stmt * ASTNodeImporter::VisitObjCAutoreleasePoolStmt | ( | ObjCAutoreleasePoolStmt * | S | ) |
Definition at line 5321 of file ASTImporter.cpp.
References clang::ObjCAutoreleasePoolStmt::getAtLoc(), and clang::ObjCAutoreleasePoolStmt::getSubStmt().
Decl * ASTNodeImporter::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
Definition at line 3689 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCCategoryDecl::Create(), 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::ASTImporter::getToContext(), clang::ObjCCategoryDecl::getTypeParamList(), clang::ASTImporter::Import(), ImportDeclContext(), ImportDeclParts(), clang::ASTImporter::Imported(), ImportObjCTypeParamList(), clang::Name, clang::ObjCCategoryDecl::protocol_begin(), clang::ObjCCategoryDecl::protocol_end(), clang::ObjCCategoryDecl::protocol_loc_begin(), clang::ObjCCategoryDecl::setImplementation(), clang::ObjCCategoryDecl::setProtocolList(), and clang::ObjCCategoryDecl::setTypeParamList().
Decl * ASTNodeImporter::VisitObjCCategoryImplDecl | ( | ObjCCategoryImplDecl * | D | ) |
Definition at line 4065 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), Category, clang::ObjCCategoryImplDecl::Create(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCCategoryImplDecl::getCategoryDecl(), clang::ObjCCategoryImplDecl::getCategoryNameLoc(), clang::ObjCCategoryDecl::getClassInterface(), clang::ObjCCategoryImplDecl::getIdentifier(), clang::ObjCCategoryDecl::getImplementation(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), ImportDeclContext(), clang::ASTImporter::Imported(), and clang::ObjCCategoryDecl::setImplementation().
Stmt * ASTNodeImporter::VisitObjCForCollectionStmt | ( | ObjCForCollectionStmt * | S | ) |
Definition at line 5230 of file ASTImporter.cpp.
References clang::ObjCForCollectionStmt::getBody(), clang::ObjCForCollectionStmt::getCollection(), clang::ObjCForCollectionStmt::getElement(), clang::ObjCForCollectionStmt::getForLoc(), clang::ObjCForCollectionStmt::getRParenLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Decl * ASTNodeImporter::VisitObjCImplementationDecl | ( | ObjCImplementationDecl * | D | ) |
Definition at line 4103 of file ASTImporter.cpp.
References clang::ObjCImplementationDecl::Create(), clang::declaresSameEntity(), clang::ASTImporter::FromDiag(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCInterfaceDecl::getCanonicalDecl(), clang::ObjCImplDecl::getClassInterface(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getImplementation(), clang::ObjCImplementationDecl::getIvarLBraceLoc(), clang::ObjCImplementationDecl::getIvarRBraceLoc(), clang::ObjCImplementationDecl::getSuperClass(), clang::ObjCImplementationDecl::getSuperClassLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), ImportDeclContext(), clang::ASTImporter::Imported(), clang::ObjCInterfaceDecl::setImplementation(), and clang::ASTImporter::ToDiag().
Decl * ASTNodeImporter::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 4006 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCInterfaceDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCInterfaceDecl::getDefinition(), clang::DeclContext::getRedeclContext(), clang::ASTImporter::getToContext(), clang::ObjCInterfaceDecl::getTypeParamListAsWritten(), I, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), ImportObjCTypeParamList(), clang::ObjCInterfaceDecl::isImplicitInterfaceDecl(), clang::ObjCInterfaceDecl::isThisDeclarationADefinition(), clang::DeclContext::localUncachedLookup(), clang::Name, and clang::ObjCInterfaceDecl::setTypeParamList().
QualType ASTNodeImporter::VisitObjCInterfaceType | ( | const ObjCInterfaceType * | T | ) |
Definition at line 1949 of file ASTImporter.cpp.
References clang::ObjCInterfaceType::getDecl(), clang::ASTContext::getObjCInterfaceType(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Decl * ASTNodeImporter::VisitObjCIvarDecl | ( | ObjCIvarDecl * | D | ) |
Definition at line 3306 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCIvarDecl::Create(), clang::ObjCIvarDecl::getAccessControl(), clang::DeclarationName::getAsIdentifierInfo(), clang::FieldDecl::getBitWidth(), clang::DeclaratorDecl::getInnerLocStart(), clang::DeclContext::getRedeclContext(), clang::ObjCIvarDecl::getSynthesize(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), I, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Name, and clang::ASTImporter::ToDiag().
Decl * ASTNodeImporter::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 3546 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCMethodDecl::Create(), clang::ASTImporter::FromDiag(), clang::ObjCMethodDecl::getImplementationControl(), clang::ObjCMethodDecl::getLocEnd(), clang::DeclarationName::getObjCSelector(), clang::DeclContext::getRedeclContext(), clang::ObjCMethodDecl::getReturnType(), clang::ObjCMethodDecl::getReturnTypeSourceInfo(), clang::ObjCMethodDecl::getSelectorLocs(), clang::ASTImporter::getToContext(), clang::ObjCMethodDecl::hasRelatedResultType(), I, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::ObjCMethodDecl::isDefined(), clang::ObjCMethodDecl::isInstanceMethod(), clang::QualType::isNull(), clang::ObjCMethodDecl::isPropertyAccessor(), clang::ASTImporter::IsStructurallyEquivalent(), clang::ObjCMethodDecl::isVariadic(), clang::DeclContext::localUncachedLookup(), clang::Name, P, clang::ObjCMethodDecl::param_begin(), clang::ObjCMethodDecl::param_end(), clang::ObjCMethodDecl::param_size(), clang::ObjCMethodDecl::parameters(), clang::ObjCMethodDecl::setMethodParams(), clang::ParmVarDecl::setOwningFunction(), and clang::ASTImporter::ToDiag().
QualType ASTNodeImporter::VisitObjCObjectPointerType | ( | const ObjCObjectPointerType * | T | ) |
Definition at line 1987 of file ASTImporter.cpp.
References clang::ASTContext::getObjCObjectPointerType(), clang::ObjCObjectPointerType::getPointeeType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
QualType ASTNodeImporter::VisitObjCObjectType | ( | const ObjCObjectType * | T | ) |
Definition at line 1958 of file ASTImporter.cpp.
References clang::ObjCObjectType::getBaseType(), clang::ASTContext::getObjCObjectType(), clang::ASTImporter::getToContext(), clang::ObjCObjectType::getTypeArgsAsWritten(), clang::ASTImporter::Import(), clang::ObjCObjectType::isKindOfTypeAsWritten(), clang::QualType::isNull(), P, and clang::ObjCObjectType::quals().
Decl * ASTNodeImporter::VisitObjCPropertyDecl | ( | ObjCPropertyDecl * | D | ) |
Definition at line 4181 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCPropertyDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCPropertyDecl::getAtLoc(), clang::ObjCPropertyDecl::getGetterMethodDecl(), clang::ObjCPropertyDecl::getGetterName(), clang::ObjCPropertyDecl::getLParenLoc(), clang::ObjCPropertyDecl::getPropertyAttributes(), clang::ObjCPropertyDecl::getPropertyAttributesAsWritten(), clang::ObjCPropertyDecl::getPropertyImplementation(), clang::ObjCPropertyDecl::getPropertyIvarDecl(), clang::DeclContext::getRedeclContext(), clang::ObjCPropertyDecl::getSetterMethodDecl(), clang::ObjCPropertyDecl::getSetterName(), clang::ASTImporter::getToContext(), clang::ObjCPropertyDecl::getType(), clang::ObjCPropertyDecl::getTypeSourceInfo(), I, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Name, clang::ObjCPropertyDecl::setGetterMethodDecl(), clang::ObjCPropertyDecl::setGetterName(), clang::ObjCPropertyDecl::setPropertyAttributes(), clang::ObjCPropertyDecl::setPropertyAttributesAsWritten(), clang::ObjCPropertyDecl::setPropertyIvarDecl(), clang::ObjCPropertyDecl::setSetterMethodDecl(), clang::ObjCPropertyDecl::setSetterName(), and clang::ASTImporter::ToDiag().
Decl * ASTNodeImporter::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 4248 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCPropertyImplDecl::Create(), clang::ObjCPropertyImplDecl::Dynamic, clang::ObjCImplDecl::FindPropertyImplDecl(), clang::ASTImporter::FromDiag(), clang::NamedDecl::getDeclName(), clang::NamedDecl::getIdentifier(), clang::ObjCPropertyImplDecl::getLocStart(), clang::ObjCPropertyImplDecl::getPropertyDecl(), clang::ObjCPropertyImplDecl::getPropertyImplementation(), clang::ObjCPropertyImplDecl::getPropertyIvarDecl(), clang::ObjCPropertyImplDecl::getPropertyIvarDeclLoc(), clang::ObjCPropertyDecl::getQueryKind(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), clang::ASTImporter::Imported(), clang::Property, clang::ObjCPropertyImplDecl::Synthesize, and clang::ASTImporter::ToDiag().
Decl * ASTNodeImporter::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 3809 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCProtocolDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCProtocolDecl::getDefinition(), clang::DeclContext::getRedeclContext(), clang::ASTImporter::getToContext(), I, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), clang::ObjCProtocolDecl::isThisDeclarationADefinition(), clang::DeclContext::localUncachedLookup(), and clang::Name.
Decl * ASTNodeImporter::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 3660 of file ASTImporter.cpp.
References clang::ObjCTypeParamDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCTypeParamDecl::getColonLoc(), clang::ObjCTypeParamDecl::getIndex(), clang::ASTImporter::getToContext(), clang::TypedefNameDecl::getTypeSourceInfo(), clang::ObjCTypeParamDecl::getVariance(), clang::ObjCTypeParamDecl::getVarianceLoc(), clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::Name, and clang::Result.
Expr * ASTNodeImporter::VisitOpaqueValueExpr | ( | OpaqueValueExpr * | E | ) |
Definition at line 5722 of file ASTImporter.cpp.
References clang::OpaqueValueExpr::getExprLoc(), clang::Expr::getObjectKind(), clang::OpaqueValueExpr::getSourceExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 5570 of file ASTImporter.cpp.
References clang::ParenExpr::getLParen(), clang::ParenExpr::getRParen(), clang::ParenExpr::getSubExpr(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitParenListExpr | ( | ParenListExpr * | E | ) |
Definition at line 5581 of file ASTImporter.cpp.
References clang::ParenListExpr::getExprs(), clang::ParenListExpr::getLParenLoc(), clang::ParenListExpr::getNumExprs(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and ImportArrayChecked().
Definition at line 1765 of file ASTImporter.cpp.
References clang::ParenType::getInnerType(), clang::ASTContext::getParenType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitParmVarDecl | ( | ParmVarDecl * | D | ) |
Definition at line 3513 of file ASTImporter.cpp.
References clang::ParmVarDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::DeclaratorDecl::getInnerLocStart(), clang::VarDecl::getStorageClass(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ParmVarDecl::hasInheritedDefaultArg(), clang::ASTImporter::Import(), clang::ASTImporter::Imported(), clang::QualType::isNull(), clang::Name, and clang::ParmVarDecl::setHasInheritedDefaultArg().
QualType ASTNodeImporter::VisitPointerType | ( | const PointerType * | T | ) |
Definition at line 1605 of file ASTImporter.cpp.
References clang::PointerType::getPointeeType(), clang::ASTContext::getPointerType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitPredefinedExpr | ( | PredefinedExpr * | E | ) |
Definition at line 5367 of file ASTImporter.cpp.
References clang::Expr::getExprLoc(), clang::PredefinedExpr::getFunctionName(), clang::PredefinedExpr::getIdentType(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitRecordDecl | ( | RecordDecl * | D | ) |
Definition at line 2714 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::CXXRecordDecl::Create(), clang::RecordDecl::Create(), clang::CXXRecordDecl::CreateLambda(), findUntaggedStructOrUnionIndex(), clang::Type::getAs(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::RecordDecl::getDefinition(), clang::ASTContext::getLangOpts(), clang::TypeDecl::getLocStart(), clang::TagDecl::getQualifierLoc(), clang::DeclContext::getRedeclContext(), clang::TagDecl::getTagKind(), clang::ASTImporter::getToContext(), clang::ASTContext::getTypeDeclType(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::ASTImporter::HandleNameConflict(), clang::DeclContext::hasExternalLexicalStorage(), I, IDK_Default, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), clang::RecordDecl::isAnonymousStructOrUnion(), clang::TagDecl::isCompleteDefinition(), clang::DeclContext::isFunctionOrMethod(), IsStructuralMatch(), clang::DeclContext::localUncachedLookup(), clang::Name, clang::RecordDecl::setAnonymousStructOrUnion(), clang::CXXRecordDecl::setLambdaMangling(), and clang::TagDecl::setQualifierInfo().
QualType ASTNodeImporter::VisitRecordType | ( | const RecordType * | T | ) |
Definition at line 1858 of file ASTImporter.cpp.
References clang::RecordType::getDecl(), clang::ASTContext::getTagDeclType(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Stmt * ASTNodeImporter::VisitReturnStmt | ( | ReturnStmt * | S | ) |
Definition at line 5146 of file ASTImporter.cpp.
References clang::ReturnStmt::getNRVOCandidate(), clang::ReturnStmt::getReturnLoc(), clang::ReturnStmt::getRetValue(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
QualType ASTNodeImporter::VisitRValueReferenceType | ( | const RValueReferenceType * | T | ) |
Definition at line 1633 of file ASTImporter.cpp.
References clang::ReferenceType::getPointeeTypeAsWritten(), clang::ASTContext::getRValueReferenceType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 4813 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag().
Definition at line 5592 of file ASTImporter.cpp.
References clang::StmtExpr::getLParenLoc(), clang::StmtExpr::getRParenLoc(), clang::StmtExpr::getSubStmt(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitStringLiteral | ( | StringLiteral * | E | ) |
Definition at line 5509 of file ASTImporter.cpp.
References clang::StringLiteral::Create(), clang::StringLiteral::getBytes(), clang::StringLiteral::getKind(), clang::StringLiteral::getNumConcatenated(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), ImportArray(), clang::QualType::isNull(), clang::StringLiteral::isPascal(), clang::StringLiteral::tokloc_begin(), and clang::StringLiteral::tokloc_end().
Stmt * ASTNodeImporter::VisitSwitchStmt | ( | SwitchStmt * | S | ) |
Definition at line 5008 of file ASTImporter.cpp.
References clang::SwitchStmt::getBody(), clang::SwitchStmt::getCond(), clang::SwitchStmt::getConditionVariable(), clang::SwitchStmt::getInit(), clang::SwitchCase::getNextSwitchCase(), clang::SwitchStmt::getSwitchCaseList(), clang::SwitchStmt::getSwitchLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::SwitchStmt::setBody(), clang::SwitchCase::setNextSwitchCase(), clang::SwitchStmt::setSwitchCaseList(), and clang::SwitchStmt::setSwitchLoc().
QualType ASTNodeImporter::VisitTemplateSpecializationType | ( | const TemplateSpecializationType * | T | ) |
Definition at line 1909 of file ASTImporter.cpp.
References clang::ASTContext::getCanonicalType(), clang::ASTImporter::getFromContext(), clang::ASTContext::getTemplateSpecializationType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportTemplateArguments(), clang::TemplateName::isNull(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitTemplateTemplateParmDecl | ( | TemplateTemplateParmDecl * | D | ) |
Definition at line 4378 of file ASTImporter.cpp.
References clang::TemplateTemplateParmDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::TemplateParmPosition::getDepth(), clang::TemplateParmPosition::getPosition(), clang::TemplateDecl::getTemplateParameters(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTImporter::Import(), ImportTemplateParameterList(), clang::TemplateTemplateParmDecl::isParameterPack(), and clang::Name.
Decl * ASTNodeImporter::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 4330 of file ASTImporter.cpp.
References clang::TemplateTypeParmDecl::Create(), clang::TemplateTypeParmDecl::getDepth(), clang::NamedDecl::getIdentifier(), clang::TemplateTypeParmDecl::getIndex(), clang::TypeDecl::getLocStart(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTImporter::Import(), clang::TemplateTypeParmDecl::isParameterPack(), and clang::TemplateTypeParmDecl::wasDeclaredWithTypename().
QualType ASTNodeImporter::VisitTemplateTypeParmType | ( | const TemplateTypeParmType * | T | ) |
Definition at line 1898 of file ASTImporter.cpp.
References clang::TemplateTypeParmType::getDecl(), clang::TemplateTypeParmType::getDepth(), clang::TemplateTypeParmType::getIndex(), clang::ASTContext::getTemplateTypeParmType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::TemplateTypeParmType::isParameterPack().
Decl * ASTNodeImporter::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | D | ) |
Definition at line 2423 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), and clang::ASTImporter::Imported().
Definition at line 1546 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), and clang::Type::getTypeClassName().
Decl * ASTNodeImporter::VisitTypeAliasDecl | ( | TypeAliasDecl * | D | ) |
Definition at line 2601 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
Decl * ASTNodeImporter::VisitTypedefDecl | ( | TypedefDecl * | D | ) |
Definition at line 2597 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
Decl * ASTNodeImporter::VisitTypedefNameDecl | ( | TypedefNameDecl * | D, |
bool | IsAlias | ||
) |
Definition at line 2528 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::TypedefDecl::Create(), clang::TypeAliasDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::TypeDecl::getLocStart(), clang::DeclContext::getRedeclContext(), clang::ASTImporter::getToContext(), clang::TypedefNameDecl::getTypeSourceInfo(), clang::TypedefNameDecl::getUnderlyingType(), clang::ASTImporter::HandleNameConflict(), I, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::DeclContext::isFunctionOrMethod(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), and clang::Name.
Referenced by VisitTypeAliasDecl(), and VisitTypedefDecl().
QualType ASTNodeImporter::VisitTypedefType | ( | const TypedefType * | T | ) |
Definition at line 1773 of file ASTImporter.cpp.
References clang::TypedefType::getDecl(), clang::ASTImporter::getToContext(), clang::ASTContext::getTypeDeclType(), and clang::ASTImporter::Import().
QualType ASTNodeImporter::VisitTypeOfExprType | ( | const TypeOfExprType * | T | ) |
Definition at line 1782 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::ASTContext::getTypeOfExprType(), clang::TypeOfExprType::getUnderlyingExpr(), and clang::ASTImporter::Import().
QualType ASTNodeImporter::VisitTypeOfType | ( | const TypeOfType * | T | ) |
Definition at line 1790 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::ASTContext::getTypeOfType(), clang::TypeOfType::getUnderlyingType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr | ( | UnaryExprOrTypeTraitExpr * | E | ) |
Definition at line 5621 of file ASTImporter.cpp.
References clang::UnaryExprOrTypeTraitExpr::getArgumentExpr(), clang::UnaryExprOrTypeTraitExpr::getArgumentTypeInfo(), clang::UnaryExprOrTypeTraitExpr::getKind(), clang::UnaryExprOrTypeTraitExpr::getOperatorLoc(), clang::UnaryExprOrTypeTraitExpr::getRParenLoc(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::ASTImporter::Import(), and clang::UnaryExprOrTypeTraitExpr::isArgumentType().
Expr * ASTNodeImporter::VisitUnaryOperator | ( | UnaryOperator * | E | ) |
Definition at line 5606 of file ASTImporter.cpp.
References clang::Expr::getObjectKind(), clang::UnaryOperator::getOpcode(), clang::UnaryOperator::getOperatorLoc(), clang::UnaryOperator::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::Expr::getValueKind(), clang::ASTImporter::Import(), and clang::QualType::isNull().
QualType ASTNodeImporter::VisitUnaryTransformType | ( | const UnaryTransformType * | T | ) |
Definition at line 1811 of file ASTImporter.cpp.
References clang::UnaryTransformType::getBaseType(), clang::ASTImporter::getToContext(), clang::ASTContext::getUnaryTransformType(), clang::UnaryTransformType::getUnderlyingType(), clang::UnaryTransformType::getUTTKind(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 5339 of file ASTImporter.cpp.
References clang::VAArgExpr::getBuiltinLoc(), clang::VAArgExpr::getRParenLoc(), clang::VAArgExpr::getSubExpr(), clang::ASTImporter::getToContext(), clang::Expr::getType(), clang::VAArgExpr::getWrittenTypeInfo(), clang::ASTImporter::Import(), clang::VAArgExpr::isMicrosoftABI(), and clang::QualType::isNull().
Definition at line 3359 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::EvaluatedStmt::CheckedICE, clang::VarDecl::Create(), clang::VarDecl::ensureEvaluatedStmt(), clang::ASTImporter::FromDiag(), clang::ASTContext::getAsArrayType(), clang::DeclarationName::getAsIdentifierInfo(), clang::VarDecl::getDefinition(), clang::DeclaratorDecl::getInnerLocStart(), clang::DeclaratorDecl::getQualifierLoc(), clang::DeclContext::getRedeclContext(), clang::VarDecl::getStorageClass(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::HandleNameConflict(), clang::NamedDecl::hasExternalFormalLinkage(), I, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), clang::VarDecl::isFileVarDecl(), clang::EvaluatedStmt::IsICE, clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Name, clang::VarDecl::setInit(), clang::DeclaratorDecl::setQualifierInfo(), and clang::ASTImporter::ToDiag().
QualType ASTNodeImporter::VisitVariableArrayType | ( | const VariableArrayType * | T | ) |
Definition at line 1675 of file ASTImporter.cpp.
References clang::VariableArrayType::getBracketsRange(), clang::ArrayType::getElementType(), clang::ArrayType::getIndexTypeCVRQualifiers(), clang::VariableArrayType::getSizeExpr(), clang::ArrayType::getSizeModifier(), clang::ASTImporter::getToContext(), clang::ASTContext::getVariableArrayType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitVarTemplateDecl | ( | VarTemplateDecl * | D | ) |
Definition at line 4593 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::VarDecl::Create(), clang::VarTemplateDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::VarDecl::getDefinition(), clang::VarDecl::getDescribedVarTemplate(), clang::DeclaratorDecl::getLocStart(), clang::DeclaratorDecl::getQualifierLoc(), clang::DeclContext::getRedeclContext(), clang::VarDecl::getStorageClass(), clang::VarTemplateDecl::getTemplatedDecl(), clang::TemplateDecl::getTemplateParameters(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::HandleNameConflict(), I, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), ImportTemplateParameterList(), clang::DeclContext::isFunctionOrMethod(), clang::QualType::isNull(), IsStructuralMatch(), clang::VarDecl::isThisDeclarationADefinition(), clang::DeclContext::localUncachedLookup(), clang::Name, clang::VarDecl::setDescribedVarTemplate(), and clang::DeclaratorDecl::setQualifierInfo().
Decl * ASTNodeImporter::VisitVarTemplateSpecializationDecl | ( | VarTemplateSpecializationDecl * | D | ) |
Definition at line 4701 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::VarTemplateSpecializationDecl::Create(), clang::TemplateArgumentList::data(), clang::VarTemplateDecl::findSpecialization(), clang::VarDecl::getDefinition(), clang::DeclaratorDecl::getLocStart(), clang::DeclaratorDecl::getQualifierLoc(), clang::VarTemplateSpecializationDecl::getSpecializationKind(), clang::VarTemplateSpecializationDecl::getSpecializedTemplate(), clang::VarDecl::getStorageClass(), clang::VarTemplateSpecializationDecl::getTemplateArgs(), clang::VarTemplateSpecializationDecl::getTemplateArgsInfo(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), ImportDefinition(), clang::ASTImporter::Imported(), ImportTemplateArguments(), clang::QualType::isNull(), IsStructuralMatch(), clang::VarDecl::isThisDeclarationADefinition(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarTemplateSpecializationDecl::setSpecializationKind(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateArgumentList::size().
QualType ASTNodeImporter::VisitVectorType | ( | const VectorType * | T | ) |
Definition at line 1691 of file ASTImporter.cpp.
References clang::VectorType::getElementType(), clang::VectorType::getNumElements(), clang::ASTImporter::getToContext(), clang::VectorType::getVectorKind(), clang::ASTContext::getVectorType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 5046 of file ASTImporter.cpp.
References clang::WhileStmt::getBody(), clang::WhileStmt::getCond(), clang::WhileStmt::getConditionVariable(), clang::ASTImporter::getToContext(), clang::WhileStmt::getWhileLoc(), and clang::ASTImporter::Import().