clang API Documentation
Definition at line 28 of file ASTImporter.cpp.
What we should import from the definition.
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 90 of file ASTImporter.cpp.
clang::ASTNodeImporter::ASTNodeImporter | ( | ASTImporter & | Importer | ) | [inline, explicit] |
Definition at line 34 of file ASTImporter.cpp.
void ASTNodeImporter::ImportDeclarationNameLoc | ( | const DeclarationNameInfo & | From, |
DeclarationNameInfo & | To | ||
) |
Definition at line 1863 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 1896 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().
bool ASTNodeImporter::ImportDeclParts | ( | NamedDecl * | D, |
DeclContext *& | DC, | ||
DeclContext *& | LexicalDC, | ||
DeclarationName & | Name, | ||
SourceLocation & | Loc | ||
) |
Definition at line 1807 of file ASTImporter.cpp.
References clang::Decl::getDeclContext(), clang::NamedDecl::getDeclName(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), clang::ASTImporter::Import(), and clang::ASTImporter::ImportContext().
Referenced by VisitClassTemplateDecl(), VisitEnumConstantDecl(), VisitEnumDecl(), VisitFieldDecl(), VisitFunctionDecl(), VisitIndirectFieldDecl(), VisitNamespaceDecl(), VisitObjCCategoryDecl(), VisitObjCInterfaceDecl(), VisitObjCIvarDecl(), VisitObjCMethodDecl(), VisitObjCPropertyDecl(), VisitObjCProtocolDecl(), VisitRecordDecl(), VisitTypedefNameDecl(), VisitVarDecl(), and VisitVarTemplateDecl().
bool ASTNodeImporter::ImportDefinition | ( | RecordDecl * | From, |
RecordDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 1906 of file ASTImporter.cpp.
References clang::CXXRecordDecl::bases(), clang::TagDecl::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 2009 of file ASTImporter.cpp.
References clang::VarDecl::getAnyInitializer(), clang::VarDecl::getDefinition(), clang::ASTImporter::Import(), and clang::VarDecl::setInit().
bool ASTNodeImporter::ImportDefinition | ( | EnumDecl * | From, |
EnumDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 2024 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 3473 of file ASTImporter.cpp.
References clang::declaresSameEntity(), clang::ASTImporter::FromDiag(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getDefinition(), clang::ObjCInterfaceDecl::getImplementation(), clang::Decl::getLocation(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCInterfaceDecl::getSuperClassLoc(), clang::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(), clang::ObjCInterfaceDecl::setSuperClassLoc(), shouldForceImportDeclContext(), clang::ObjCInterfaceDecl::startDefinition(), and clang::ASTImporter::ToDiag().
bool ASTNodeImporter::ImportDefinition | ( | ObjCProtocolDecl * | From, |
ObjCProtocolDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 3384 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().
void ASTNodeImporter::ImportDefinitionIfNeeded | ( | Decl * | FromD, |
Decl * | ToD = nullptr |
||
) |
Definition at line 1833 of file ASTImporter.cpp.
References clang::ASTImporter::Import(), and ImportDefinition().
Referenced by clang::ASTImporter::Import(), and ImportDefinition().
TemplateArgument ASTNodeImporter::ImportTemplateArgument | ( | const TemplateArgument & | From | ) |
Definition at line 2075 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 2147 of file ASTImporter.cpp.
References ImportTemplateArgument(), and clang::TemplateArgument::isNull().
Referenced by ImportTemplateArgument(), VisitClassTemplateSpecializationDecl(), VisitTemplateSpecializationType(), and VisitVarTemplateSpecializationDecl().
TemplateParameterList * ASTNodeImporter::ImportTemplateParameterList | ( | TemplateParameterList * | Params | ) |
Definition at line 2053 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 2161 of file ASTImporter.cpp.
References clang::Decl::getASTContext(), 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 2179 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), and clang::ASTImporter::getToContext().
bool ASTNodeImporter::IsStructuralMatch | ( | EnumDecl * | FromEnum, |
EnumDecl * | ToRecord | ||
) |
Definition at line 2187 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 2194 of file ASTImporter.cpp.
References clang::EnumConstantDecl::getInitVal().
bool ASTNodeImporter::IsStructuralMatch | ( | ClassTemplateDecl * | From, |
ClassTemplateDecl * | To | ||
) |
Definition at line 2205 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 2213 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), and clang::ASTImporter::getToContext().
Definition at line 102 of file ASTImporter.cpp.
References IDK_Default, IDK_Everything, and clang::ASTImporter::isMinimalImport().
Referenced by ImportDefinition().
QualType ASTNodeImporter::VisitAutoType | ( | const AutoType * | T | ) |
Definition at line 1694 of file ASTImporter.cpp.
References clang::ASTContext::getAutoType(), clang::AutoType::getDeducedType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::AutoType::isDecltypeAuto(), and clang::QualType::isNull().
Definition at line 4459 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().
Definition at line 1485 of file ASTImporter.cpp.
References clang::ASTContext::getBlockPointerType(), clang::BlockPointerType::getPointeeType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
QualType ASTNodeImporter::VisitBuiltinType | ( | const BuiltinType * | T | ) |
Definition at line 1428 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 3953 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::CXXRecordDecl::Create(), clang::ClassTemplateDecl::Create(), clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::CXXRecordDecl::getDefinition(), clang::CXXRecordDecl::getDescribedClassTemplate(), clang::Decl::getLocation(), clang::TypeDecl::getLocStart(), clang::TagDecl::getQualifierLoc(), clang::TagDecl::getTagKind(), clang::ClassTemplateDecl::getTemplatedDecl(), clang::TemplateDecl::getTemplateParameters(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), clang::Decl::IDNS_Ordinary, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), ImportTemplateParameterList(), clang::TagDecl::isCompleteDefinition(), clang::DeclContext::isFunctionOrMethod(), IsStructuralMatch(), clang::DeclContext::localUncachedLookup(), clang::Decl::setAccess(), clang::Decl::setLexicalDeclContext(), and clang::TagDecl::setQualifierInfo().
Definition at line 4051 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ClassTemplateSpecializationDecl::Create(), clang::TemplateArgumentList::data(), clang::ClassTemplateDecl::findSpecialization(), clang::Decl::getDeclContext(), clang::CXXRecordDecl::getDefinition(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), 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::Decl::setLexicalDeclContext(), clang::TagDecl::setQualifierInfo(), clang::ClassTemplateSpecializationDecl::setSpecializationKind(), and clang::TemplateArgumentList::size().
QualType ASTNodeImporter::VisitComplexType | ( | const ComplexType * | T | ) |
Definition at line 1469 of file ASTImporter.cpp.
References clang::ASTContext::getComplexType(), clang::ComplexType::getElementType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 4479 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().
Definition at line 1525 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().
Definition at line 4533 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().
Definition at line 2823 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
Definition at line 2831 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
Definition at line 2827 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
Definition at line 2819 of file ASTImporter.cpp.
References VisitFunctionDecl().
Referenced by VisitCXXConstructorDecl(), VisitCXXConversionDecl(), and VisitCXXDestructorDecl().
Decl * ASTNodeImporter::VisitDecl | ( | Decl * | D | ) |
Definition at line 2221 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), clang::Decl::getDeclKindName(), and clang::Decl::getLocation().
Definition at line 4358 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::refersToEnclosingLocal(), and clang::DeclRefExpr::setHadMultipleCandidates().
QualType ASTNodeImporter::VisitDecltypeType | ( | const DecltypeType * | T | ) |
Definition at line 1670 of file ASTImporter.cpp.
References clang::ASTContext::getDecltypeType(), clang::ASTImporter::getToContext(), clang::DecltypeType::getUnderlyingExpr(), clang::DecltypeType::getUnderlyingType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
QualType ASTNodeImporter::VisitElaboratedType | ( | const ElaboratedType * | T | ) |
Definition at line 1750 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().
Definition at line 2589 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::EnumConstantDecl::Create(), clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::EnumConstantDecl::getInitExpr(), clang::EnumConstantDecl::getInitVal(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::ASTImporter::HandleNameConflict(), clang::Decl::IDNS_Ordinary, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::DeclContext::isFunctionOrMethod(), clang::QualType::isNull(), IsStructuralMatch(), clang::DeclContext::localUncachedLookup(), clang::Decl::setAccess(), and clang::Decl::setLexicalDeclContext().
Decl * ASTNodeImporter::VisitEnumDecl | ( | EnumDecl * | D | ) |
Definition at line 2378 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::EnumDecl::Create(), clang::Decl::getAccess(), clang::Type::getAs(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::EnumDecl::getIntegerType(), clang::ASTContext::getLangOpts(), clang::TypeDecl::getLocStart(), clang::TagDecl::getQualifierLoc(), clang::ASTImporter::getToContext(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::ASTImporter::HandleNameConflict(), clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_Tag, 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::Decl::setAccess(), clang::EnumDecl::setIntegerType(), clang::Decl::setLexicalDeclContext(), and clang::TagDecl::setQualifierInfo().
QualType ASTNodeImporter::VisitEnumType | ( | const EnumType * | T | ) |
Definition at line 1717 of file ASTImporter.cpp.
References clang::EnumType::getDecl(), clang::ASTContext::getTagDeclType(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitExpr | ( | Expr * | E | ) |
Definition at line 4352 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), clang::Stmt::getLocStart(), and clang::Stmt::getStmtClassName().
QualType ASTNodeImporter::VisitExtVectorType | ( | const ExtVectorType * | T | ) |
Definition at line 1573 of file ASTImporter.cpp.
References clang::VectorType::getElementType(), clang::ASTContext::getExtVectorType(), clang::VectorType::getNumElements(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitFieldDecl | ( | FieldDecl * | D | ) |
Definition at line 2852 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::FieldDecl::Create(), clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::FieldDecl::getBitWidth(), getFieldIndex(), clang::FieldDecl::getInClassInitializer(), clang::FieldDecl::getInClassInitStyle(), clang::DeclaratorDecl::getInnerLocStart(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::FieldDecl::hasInClassInitializer(), clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::Decl::isImplicit(), clang::FieldDecl::isMutable(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Decl::setAccess(), clang::Decl::setImplicit(), clang::FieldDecl::setInClassInitializer(), clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
Definition at line 2645 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::Decl::getAccess(), clang::Type::getAs(), clang::ASTImporter::getFromContext(), clang::ASTContext::getFunctionType(), clang::DeclaratorDecl::getInnerLocStart(), clang::ASTContext::getLangOpts(), clang::Decl::getLocEnd(), clang::FunctionDecl::getNameInfo(), clang::DeclaratorDecl::getQualifierLoc(), clang::FunctionDecl::getStorageClass(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::HandleNameConflict(), clang::NamedDecl::hasExternalFormalLinkage(), clang::FunctionDecl::hasWrittenPrototype(), clang::Decl::IDNS_Ordinary, clang::ASTImporter::Import(), ImportDeclarationNameLoc(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::FunctionDecl::isConstexpr(), clang::DeclContext::isFunctionOrMethod(), clang::Decl::isImplicit(), clang::FunctionDecl::isInlineSpecified(), clang::QualType::isNull(), clang::FunctionDecl::isPure(), clang::ASTImporter::IsStructurallyEquivalent(), clang::FunctionDecl::isTrivial(), clang::FunctionDecl::isVirtualAsWritten(), clang::DeclContext::localUncachedLookup(), clang::FunctionProtoType::ExceptionSpecInfo::NoexceptExpr, P, clang::FunctionDecl::params(), clang::Decl::setAccess(), clang::Decl::setLexicalDeclContext(), 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().
Definition at line 1583 of file ASTImporter.cpp.
References clang::FunctionType::getExtInfo(), clang::ASTContext::getFunctionNoProtoType(), clang::FunctionType::getReturnType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 1594 of file ASTImporter.cpp.
References clang::FunctionProtoType::ExceptionSpecInfo::Exceptions, clang::FunctionProtoType::exceptions(), clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec, clang::FunctionProtoType::ExtProtoInfo::ExtInfo, clang::FunctionProtoType::getExtProtoInfo(), clang::ASTContext::getFunctionType(), clang::FunctionType::getReturnType(), clang::ASTImporter::getToContext(), clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn, clang::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.
Definition at line 4516 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().
Definition at line 3146 of file ASTImporter.cpp.
References clang::ImplicitParamDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::ASTImporter::Import(), clang::ASTImporter::Imported(), and clang::QualType::isNull().
Definition at line 1537 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().
Definition at line 2908 of file ASTImporter.cpp.
References clang::Decl::addAttr(), clang::DeclContext::addDeclInternal(), clang::Decl::attrs(), clang::IndirectFieldDecl::chain(), clang::Attr::clone(), clang::IndirectFieldDecl::Create(), clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::IndirectFieldDecl::getChainingSize(), getFieldIndex(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::DeclarationName::isEmpty(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Decl::setAccess(), clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
Definition at line 4388 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 1495 of file ASTImporter.cpp.
References clang::ASTContext::getLValueReferenceType(), clang::ReferenceType::getPointeeTypeAsWritten(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 1514 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().
Definition at line 2236 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::NamespaceDecl::Create(), clang::NamespaceDecl::getAnonymousNamespace(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamespaceDecl::getLocStart(), clang::ASTImporter::getToContext(), clang::ASTImporter::HandleNameConflict(), clang::Decl::IDNS_Namespace, clang::ASTImporter::Import(), ImportDeclContext(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::NamespaceDecl::isInline(), clang::DeclContext::localUncachedLookup(), and clang::Decl::setLexicalDeclContext().
Definition at line 3898 of file ASTImporter.cpp.
References clang::NonTypeTemplateParmDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::TemplateParmPosition::getDepth(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), clang::TemplateParmPosition::getPosition(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::Import(), clang::QualType::isNull(), and clang::NonTypeTemplateParmDecl::isParameterPack().
Definition at line 3312 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::ASTImporter::Import(), ImportDeclContext(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::ObjCCategoryDecl::protocol_begin(), clang::ObjCCategoryDecl::protocol_end(), clang::ObjCCategoryDecl::protocol_loc_begin(), clang::ObjCCategoryDecl::setImplementation(), clang::Decl::setLexicalDeclContext(), and clang::ObjCCategoryDecl::setProtocolList().
Definition at line 3620 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCCategoryImplDecl::Create(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCCategoryImplDecl::getCategoryDecl(), clang::ObjCCategoryImplDecl::getCategoryNameLoc(), clang::ObjCCategoryDecl::getClassInterface(), clang::Decl::getDeclContext(), clang::ObjCCategoryImplDecl::getIdentifier(), clang::ObjCCategoryDecl::getImplementation(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), ImportDeclContext(), clang::ASTImporter::Imported(), clang::ObjCCategoryDecl::setImplementation(), and clang::Decl::setLexicalDeclContext().
Definition at line 3658 of file ASTImporter.cpp.
References clang::ObjCImplementationDecl::Create(), clang::declaresSameEntity(), clang::ASTImporter::FromDiag(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCInterfaceDecl::getCanonicalDecl(), clang::ObjCImplDecl::getClassInterface(), clang::Decl::getDeclContext(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getImplementation(), clang::ObjCImplementationDecl::getIvarLBraceLoc(), clang::ObjCImplementationDecl::getIvarRBraceLoc(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), clang::ObjCImplementationDecl::getSuperClass(), clang::ObjCImplementationDecl::getSuperClassLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), ImportDeclContext(), clang::ASTImporter::Imported(), clang::ObjCInterfaceDecl::setImplementation(), clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
Definition at line 3569 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCInterfaceDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCInterfaceDecl::getDefinition(), clang::ASTImporter::getToContext(), clang::Decl::IDNS_Ordinary, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), clang::ObjCInterfaceDecl::isImplicitInterfaceDecl(), clang::ObjCInterfaceDecl::isThisDeclarationADefinition(), clang::DeclContext::localUncachedLookup(), and clang::Decl::setLexicalDeclContext().
Definition at line 1767 of file ASTImporter.cpp.
References clang::ObjCInterfaceType::getDecl(), clang::ASTContext::getObjCInterfaceType(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Definition at line 2975 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCIvarDecl::Create(), clang::ObjCIvarDecl::getAccessControl(), clang::DeclarationName::getAsIdentifierInfo(), clang::FieldDecl::getBitWidth(), clang::DeclaratorDecl::getInnerLocStart(), clang::ObjCIvarDecl::getSynthesize(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
Definition at line 3201 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCMethodDecl::Create(), clang::ASTImporter::FromDiag(), clang::ObjCMethodDecl::getImplementationControl(), clang::ObjCMethodDecl::getLocEnd(), clang::DeclarationName::getObjCSelector(), clang::ObjCMethodDecl::getReturnType(), clang::ObjCMethodDecl::getReturnTypeSourceInfo(), clang::ObjCMethodDecl::getSelectorLocs(), clang::ASTImporter::getToContext(), clang::ObjCMethodDecl::hasRelatedResultType(), clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::ObjCMethodDecl::isDefined(), clang::Decl::isImplicit(), clang::ObjCMethodDecl::isInstanceMethod(), clang::QualType::isNull(), clang::ObjCMethodDecl::isPropertyAccessor(), clang::ASTImporter::IsStructurallyEquivalent(), clang::ObjCMethodDecl::isVariadic(), clang::DeclContext::localUncachedLookup(), P, clang::ObjCMethodDecl::param_begin(), clang::ObjCMethodDecl::param_end(), clang::ObjCMethodDecl::param_size(), clang::ObjCMethodDecl::params(), clang::Decl::setLexicalDeclContext(), clang::ObjCMethodDecl::setMethodParams(), clang::ParmVarDecl::setOwningFunction(), and clang::ASTImporter::ToDiag().
Definition at line 1796 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 1776 of file ASTImporter.cpp.
References clang::ObjCObjectType::getBaseType(), clang::ASTContext::getObjCObjectType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::QualType::isNull(), P, and clang::ObjCObjectType::quals().
Definition at line 3736 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::ObjCPropertyDecl::getSetterMethodDecl(), clang::ObjCPropertyDecl::getSetterName(), clang::ASTImporter::getToContext(), clang::ObjCPropertyDecl::getType(), clang::ObjCPropertyDecl::getTypeSourceInfo(), clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::ObjCPropertyDecl::setGetterMethodDecl(), clang::ObjCPropertyDecl::setGetterName(), clang::Decl::setLexicalDeclContext(), clang::ObjCPropertyDecl::setPropertyAttributes(), clang::ObjCPropertyDecl::setPropertyAttributesAsWritten(), clang::ObjCPropertyDecl::setPropertyIvarDecl(), clang::ObjCPropertyDecl::setSetterMethodDecl(), clang::ObjCPropertyDecl::setSetterName(), and clang::ASTImporter::ToDiag().
Definition at line 3799 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCPropertyImplDecl::Create(), clang::ObjCPropertyImplDecl::Dynamic, clang::ObjCImplDecl::FindPropertyImplDecl(), clang::ASTImporter::FromDiag(), clang::Decl::getDeclContext(), clang::NamedDecl::getDeclName(), clang::NamedDecl::getIdentifier(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), clang::ObjCPropertyImplDecl::getLocStart(), clang::ObjCPropertyImplDecl::getPropertyDecl(), clang::ObjCPropertyImplDecl::getPropertyImplementation(), clang::ObjCPropertyImplDecl::getPropertyIvarDecl(), clang::ObjCPropertyImplDecl::getPropertyIvarDeclLoc(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), clang::ASTImporter::Imported(), clang::Decl::setLexicalDeclContext(), clang::ObjCPropertyImplDecl::Synthesize, and clang::ASTImporter::ToDiag().
Definition at line 3424 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ObjCProtocolDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCContainerDecl::getAtStartLoc(), clang::ObjCProtocolDecl::getDefinition(), clang::ASTImporter::getToContext(), clang::Decl::IDNS_ObjCProtocol, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), clang::ObjCProtocolDecl::isThisDeclarationADefinition(), clang::DeclContext::localUncachedLookup(), and clang::Decl::setLexicalDeclContext().
Expr * ASTNodeImporter::VisitParenExpr | ( | ParenExpr * | E | ) |
Definition at line 4408 of file ASTImporter.cpp.
References clang::ParenExpr::getLParen(), clang::ParenExpr::getRParen(), clang::ParenExpr::getSubExpr(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
QualType ASTNodeImporter::VisitParenType | ( | const ParenType * | T | ) |
Definition at line 1637 of file ASTImporter.cpp.
References clang::ParenType::getInnerType(), clang::ASTContext::getParenType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 3172 of file ASTImporter.cpp.
References clang::ParmVarDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::DeclaratorDecl::getInnerLocStart(), clang::Decl::getLocation(), 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(), and clang::ParmVarDecl::setHasInheritedDefaultArg().
QualType ASTNodeImporter::VisitPointerType | ( | const PointerType * | T | ) |
Definition at line 1477 of file ASTImporter.cpp.
References clang::PointerType::getPointeeType(), clang::ASTContext::getPointerType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 2451 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::ExternalASTSource::CompleteType(), clang::CXXRecordDecl::Create(), clang::RecordDecl::Create(), findAnonymousStructOrUnionIndex(), clang::Decl::getAccess(), clang::Type::getAs(), clang::DeclarationName::getAsIdentifierInfo(), clang::Decl::getASTContext(), clang::NamedDecl::getDeclName(), clang::RecordDecl::getDefinition(), clang::ASTContext::getExternalSource(), clang::ASTContext::getLangOpts(), clang::TypeDecl::getLocStart(), clang::TagDecl::getQualifierLoc(), clang::TagDecl::getTagKind(), clang::ASTImporter::getToContext(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::ASTImporter::HandleNameConflict(), clang::DeclContext::hasExternalLexicalStorage(), IDK_Default, clang::Decl::IDNS_Ordinary, clang::Decl::IDNS_Tag, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), clang::RecordDecl::isAnonymousStructOrUnion(), clang::TagDecl::isCompleteDefinition(), clang::DeclContext::isFunctionOrMethod(), IsStructuralMatch(), clang::DeclContext::localUncachedLookup(), clang::Decl::setAccess(), clang::RecordDecl::setAnonymousStructOrUnion(), clang::Decl::setLexicalDeclContext(), and clang::TagDecl::setQualifierInfo().
QualType ASTNodeImporter::VisitRecordType | ( | const RecordType * | T | ) |
Definition at line 1708 of file ASTImporter.cpp.
References clang::RecordType::getDecl(), clang::ASTContext::getTagDeclType(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Definition at line 1505 of file ASTImporter.cpp.
References clang::ReferenceType::getPointeeTypeAsWritten(), clang::ASTContext::getRValueReferenceType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Stmt * ASTNodeImporter::VisitStmt | ( | Stmt * | S | ) |
Definition at line 4343 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), clang::Stmt::getLocStart(), and clang::Stmt::getStmtClassName().
Definition at line 1726 of file ASTImporter.cpp.
References clang::TemplateSpecializationType::getArgs(), clang::ASTContext::getCanonicalType(), clang::ASTImporter::getFromContext(), clang::TemplateSpecializationType::getNumArgs(), clang::TemplateSpecializationType::getTemplateName(), clang::ASTContext::getTemplateSpecializationType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), ImportTemplateArguments(), clang::TemplateName::isNull(), and clang::QualType::isNull().
Definition at line 3928 of file ASTImporter.cpp.
References clang::TemplateTemplateParmDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::NamedDecl::getDeclName(), clang::TemplateParmPosition::getDepth(), clang::Decl::getLocation(), clang::TemplateParmPosition::getPosition(), clang::TemplateDecl::getTemplateParameters(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTImporter::Import(), ImportTemplateParameterList(), and clang::TemplateTemplateParmDecl::isParameterPack().
Definition at line 3880 of file ASTImporter.cpp.
References clang::TemplateTypeParmDecl::Create(), clang::TemplateTypeParmDecl::getDepth(), clang::NamedDecl::getIdentifier(), clang::TemplateTypeParmDecl::getIndex(), clang::Decl::getLocation(), clang::TypeDecl::getLocStart(), clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTImporter::Import(), clang::TemplateTypeParmDecl::isParameterPack(), and clang::TemplateTypeParmDecl::wasDeclaredWithTypename().
Definition at line 2227 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), and clang::ASTImporter::Imported().
QualType ASTNodeImporter::VisitType | ( | const Type * | ) |
Method called if ImpClass
doesn't provide specific handler for some type class.
Reimplemented from clang::TypeVisitor< ASTNodeImporter, QualType >.
Definition at line 1422 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), and clang::Type::getTypeClassName().
Definition at line 2374 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
Definition at line 2370 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
Decl * ASTNodeImporter::VisitTypedefNameDecl | ( | TypedefNameDecl * | D, |
bool | IsAlias | ||
) |
Definition at line 2304 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::TypedefDecl::Create(), clang::TypeAliasDecl::Create(), clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::TypeDecl::getLocStart(), clang::ASTImporter::getToContext(), clang::TypedefNameDecl::getTypeSourceInfo(), clang::TypedefNameDecl::getUnderlyingType(), clang::ASTImporter::HandleNameConflict(), clang::Decl::IDNS_Ordinary, clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::DeclContext::isFunctionOrMethod(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), and clang::Decl::setAccess().
Referenced by VisitTypeAliasDecl(), and VisitTypedefDecl().
QualType ASTNodeImporter::VisitTypedefType | ( | const TypedefType * | T | ) |
Definition at line 1645 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 1654 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 1662 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::ASTContext::getTypeOfType(), clang::TypeOfType::getUnderlyingType(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 4434 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().
Definition at line 4419 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().
Definition at line 1683 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().
Decl * ASTNodeImporter::VisitVarDecl | ( | VarDecl * | D | ) |
Definition at line 3025 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::EvaluatedStmt::CheckedICE, clang::VarDecl::Create(), clang::VarDecl::ensureEvaluatedStmt(), clang::ASTImporter::FromDiag(), clang::Decl::getAccess(), clang::ASTContext::getAsArrayType(), clang::DeclarationName::getAsIdentifierInfo(), clang::VarDecl::getDefinition(), clang::DeclaratorDecl::getInnerLocStart(), clang::DeclaratorDecl::getQualifierLoc(), clang::VarDecl::getStorageClass(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::HandleNameConflict(), clang::NamedDecl::hasExternalFormalLinkage(), clang::Decl::IDNS_Ordinary, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), clang::VarDecl::isFileVarDecl(), clang::EvaluatedStmt::IsICE, clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Decl::setAccess(), clang::VarDecl::setInit(), clang::Decl::setLexicalDeclContext(), clang::DeclaratorDecl::setQualifierInfo(), and clang::ASTImporter::ToDiag().
Definition at line 1547 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().
Definition at line 4141 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::VarDecl::Create(), clang::VarTemplateDecl::Create(), clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::VarDecl::getDefinition(), clang::VarDecl::getDescribedVarTemplate(), clang::Decl::getLocation(), clang::DeclaratorDecl::getLocStart(), clang::DeclaratorDecl::getQualifierLoc(), clang::VarDecl::getStorageClass(), clang::VarTemplateDecl::getTemplatedDecl(), clang::TemplateDecl::getTemplateParameters(), clang::ASTImporter::getToContext(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTImporter::HandleNameConflict(), clang::Decl::IDNS_Ordinary, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), ImportTemplateParameterList(), clang::DeclContext::isFunctionOrMethod(), clang::QualType::isNull(), IsStructuralMatch(), clang::VarDecl::isThisDeclarationADefinition(), clang::DeclContext::localUncachedLookup(), clang::Decl::setAccess(), clang::VarDecl::setDescribedVarTemplate(), clang::Decl::setLexicalDeclContext(), and clang::DeclaratorDecl::setQualifierInfo().
Definition at line 4246 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::VarTemplateSpecializationDecl::Create(), clang::TemplateArgumentList::data(), clang::VarTemplateDecl::findSpecialization(), clang::Decl::getDeclContext(), clang::VarDecl::getDefinition(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), 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::Decl::setLexicalDeclContext(), clang::DeclaratorDecl::setQualifierInfo(), clang::VarTemplateSpecializationDecl::setSpecializationKind(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateArgumentList::size().
QualType ASTNodeImporter::VisitVectorType | ( | const VectorType * | T | ) |
Definition at line 1563 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().