clang
3.7.0
|
Public Types | |
enum | ImportDefinitionKind { IDK_Default, IDK_Everything, IDK_Basic } |
What we should import from the definition. More... | |
Definition at line 28 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 91 of file ASTImporter.cpp.
|
inlineexplicit |
Definition at line 34 of file ASTImporter.cpp.
void ASTNodeImporter::ImportDeclarationNameLoc | ( | const DeclarationNameInfo & | From, |
DeclarationNameInfo & | To | ||
) |
Definition at line 1940 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 1973 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 4576 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 1882 of file ASTImporter.cpp.
References clang::ASTImporter::GetAlreadyImportedOrNull(), 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(), VisitObjCTypeParamDecl(), VisitRecordDecl(), VisitTypedefNameDecl(), VisitVarDecl(), and VisitVarTemplateDecl().
bool ASTNodeImporter::ImportDefinition | ( | RecordDecl * | From, |
RecordDecl * | To, | ||
ImportDefinitionKind | Kind = IDK_Default |
||
) |
Definition at line 1983 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 2086 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 2101 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 3669 of file ASTImporter.cpp.
References clang::declaresSameEntity(), clang::ASTImporter::FromDiag(), clang::NamedDecl::getDeclName(), clang::ObjCInterfaceDecl::getDefinition(), clang::ObjCInterfaceDecl::getImplementation(), clang::Decl::getLocation(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCInterfaceDecl::getSuperClassLoc(), clang::ObjCInterfaceDecl::getSuperClassTInfo(), clang::ASTImporter::getToContext(), 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 3547 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 1910 of file ASTImporter.cpp.
References clang::ASTImporter::Import(), and ImportDefinition().
Referenced by clang::ASTImporter::GetAlreadyImportedOrNull(), clang::ASTImporter::Import(), and ImportDefinition().
ObjCTypeParamList * ASTNodeImporter::ImportObjCTypeParamList | ( | ObjCTypeParamList * | list | ) |
Definition at line 3764 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 2152 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 2224 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 2130 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 2238 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 2256 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), and clang::ASTImporter::getToContext().
Definition at line 2264 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 2271 of file ASTImporter.cpp.
References clang::EnumConstantDecl::getInitVal().
bool ASTNodeImporter::IsStructuralMatch | ( | ClassTemplateDecl * | From, |
ClassTemplateDecl * | To | ||
) |
Definition at line 2282 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 2290 of file ASTImporter.cpp.
References clang::ASTImporter::getFromContext(), clang::ASTImporter::getNonEquivalentDecls(), and clang::ASTImporter::getToContext().
|
inline |
Definition at line 103 of file ASTImporter.cpp.
References IDK_Default, IDK_Everything, and clang::ASTImporter::isMinimalImport().
Referenced by ImportDefinition().
Stmt * ASTNodeImporter::VisitAttributedStmt | ( | AttributedStmt * | S | ) |
QualType ASTNodeImporter::VisitAttributedType | ( | const AttributedType * | T | ) |
Definition at line 1771 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 1739 of file ASTImporter.cpp.
References clang::ASTContext::getAutoType(), clang::AutoType::getDeducedType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), clang::AutoType::isDecltypeAuto(), and clang::QualType::isNull().
Expr * ASTNodeImporter::VisitBinaryOperator | ( | BinaryOperator * | E | ) |
Definition at line 5139 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 1530 of file ASTImporter.cpp.
References clang::ASTContext::getBlockPointerType(), clang::BlockPointerType::getPointeeType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 4845 of file ASTImporter.cpp.
References clang::BreakStmt::getBreakLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
QualType ASTNodeImporter::VisitBuiltinType | ( | const BuiltinType * | T | ) |
Definition at line 1473 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 5305 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(), and clang::QualType::isNull().
Definition at line 4632 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 4180 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::DeclContext::getRedeclContext(), 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().
Decl * ASTNodeImporter::VisitClassTemplateSpecializationDecl | ( | ClassTemplateSpecializationDecl * | D | ) |
Definition at line 4281 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 1514 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 5159 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().
Stmt * ASTNodeImporter::VisitCompoundStmt | ( | CompoundStmt * | S | ) |
QualType ASTNodeImporter::VisitConstantArrayType | ( | const ConstantArrayType * | T | ) |
Definition at line 1570 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 4840 of file ASTImporter.cpp.
References clang::ContinueStmt::getContinueLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitCStyleCastExpr | ( | CStyleCastExpr * | E | ) |
Definition at line 5213 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().
Stmt * ASTNodeImporter::VisitCXXCatchStmt | ( | CXXCatchStmt * | S | ) |
Definition at line 4863 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 5237 of file ASTImporter.cpp.
References clang::CXXConstructExpr::arg_begin(), clang::CXXConstructExpr::arg_end(), clang::CXXConstructExpr::Create(), 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(), clang::CXXConstructExpr::isElidable(), clang::CXXConstructExpr::isListInitialization(), clang::QualType::isNull(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().
Decl * ASTNodeImporter::VisitCXXConstructorDecl | ( | CXXConstructorDecl * | D | ) |
Definition at line 2926 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
Decl * ASTNodeImporter::VisitCXXConversionDecl | ( | CXXConversionDecl * | D | ) |
Definition at line 2934 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
Decl * ASTNodeImporter::VisitCXXDestructorDecl | ( | CXXDestructorDecl * | D | ) |
Definition at line 2930 of file ASTImporter.cpp.
References VisitCXXMethodDecl().
Stmt * ASTNodeImporter::VisitCXXForRangeStmt | ( | CXXForRangeStmt * | S | ) |
Definition at line 4897 of file ASTImporter.cpp.
References clang::CXXForRangeStmt::getBeginEndStmt(), clang::CXXForRangeStmt::getBody(), clang::CXXForRangeStmt::getColonLoc(), clang::CXXForRangeStmt::getCond(), clang::CXXForRangeStmt::getForLoc(), clang::CXXForRangeStmt::getInc(), clang::CXXForRangeStmt::getLoopVarStmt(), clang::CXXForRangeStmt::getRangeStmt(), clang::CXXForRangeStmt::getRParenLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Decl * ASTNodeImporter::VisitCXXMethodDecl | ( | CXXMethodDecl * | D | ) |
Definition at line 2922 of file ASTImporter.cpp.
References VisitFunctionDecl().
Referenced by VisitCXXConstructorDecl(), VisitCXXConversionDecl(), and VisitCXXDestructorDecl().
Stmt * ASTNodeImporter::VisitCXXTryStmt | ( | CXXTryStmt * | S | ) |
Definition at line 2298 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), clang::Decl::getDeclKindName(), and clang::Decl::getLocation().
Expr * ASTNodeImporter::VisitDeclRefExpr | ( | DeclRefExpr * | E | ) |
Definition at line 5038 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 4597 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 1715 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 4647 of file ASTImporter.cpp.
References clang::DefaultStmt::getColonLoc(), clang::DefaultStmt::getDefaultLoc(), clang::DefaultStmt::getSubStmt(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Definition at line 4771 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 1816 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 2678 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::EnumConstantDecl::Create(), clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::EnumConstantDecl::getInitExpr(), clang::EnumConstantDecl::getInitVal(), clang::DeclContext::getRedeclContext(), 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().
Definition at line 2461 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::DeclContext::getRedeclContext(), 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().
Definition at line 1762 of file ASTImporter.cpp.
References clang::EnumType::getDecl(), clang::ASTContext::getTagDeclType(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Definition at line 5032 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag().
QualType ASTNodeImporter::VisitExtVectorType | ( | const ExtVectorType * | T | ) |
Definition at line 1618 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 2955 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::DeclContext::getRedeclContext(), 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 4786 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 2737 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::FunctionDecl::getBody(), clang::ASTImporter::getFromContext(), clang::ASTContext::getFunctionType(), clang::DeclaratorDecl::getInnerLocStart(), clang::ASTContext::getLangOpts(), clang::Decl::getLocEnd(), 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(), 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::FunctionDecl::setBody(), 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().
QualType ASTNodeImporter::VisitFunctionNoProtoType | ( | const FunctionNoProtoType * | T | ) |
Definition at line 1628 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 1639 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 4817 of file ASTImporter.cpp.
References clang::GotoStmt::getGotoLoc(), clang::GotoStmt::getLabel(), clang::GotoStmt::getLabelLoc(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Definition at line 4690 of file ASTImporter.cpp.
References clang::IfStmt::getCond(), clang::IfStmt::getConditionVariable(), clang::IfStmt::getElse(), clang::IfStmt::getElseLoc(), clang::IfStmt::getIfLoc(), clang::IfStmt::getThen(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitImplicitCastExpr | ( | ImplicitCastExpr * | E | ) |
Definition at line 5196 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 3265 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().
QualType ASTNodeImporter::VisitIncompleteArrayType | ( | const IncompleteArrayType * | T | ) |
Definition at line 1582 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 3014 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::DeclContext::getRedeclContext(), 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().
Stmt * ASTNodeImporter::VisitIndirectGotoStmt | ( | IndirectGotoStmt * | S | ) |
Definition at line 4830 of file ASTImporter.cpp.
References clang::IndirectGotoStmt::getGotoLoc(), clang::IndirectGotoStmt::getStarLoc(), clang::IndirectGotoStmt::getTarget(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Expr * ASTNodeImporter::VisitIntegerLiteral | ( | IntegerLiteral * | E | ) |
Definition at line 5068 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 4657 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 3639 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::LinkageSpecDecl::Create(), clang::Decl::getDeclContext(), clang::LinkageSpecDecl::getExternLoc(), clang::LinkageSpecDecl::getLanguage(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), clang::LinkageSpecDecl::getRBraceLoc(), clang::ASTImporter::getToContext(), clang::LinkageSpecDecl::hasBraces(), clang::ASTImporter::Import(), clang::ASTImporter::ImportContext(), clang::ASTImporter::Imported(), clang::Decl::setLexicalDeclContext(), and clang::LinkageSpecDecl::setRBraceLoc().
QualType ASTNodeImporter::VisitLValueReferenceType | ( | const LValueReferenceType * | T | ) |
Definition at line 1540 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 5270 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 1559 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 2313 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(), clang::Decl::IDNS_Namespace, clang::ASTImporter::Import(), ImportDeclContext(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::NamespaceDecl::isInline(), clang::DeclContext::localUncachedLookup(), and clang::Decl::setLexicalDeclContext().
Decl * ASTNodeImporter::VisitNonTypeTemplateParmDecl | ( | NonTypeTemplateParmDecl * | D | ) |
Definition at line 4125 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 4608 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 4966 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 4998 of file ASTImporter.cpp.
References clang::ObjCAtSynchronizedStmt::getAtSynchronizedLoc(), clang::ObjCAtSynchronizedStmt::getSynchBody(), and clang::ObjCAtSynchronizedStmt::getSynchExpr().
Stmt * ASTNodeImporter::VisitObjCAtThrowStmt | ( | ObjCAtThrowStmt * | S | ) |
Definition at line 5011 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 4975 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 5020 of file ASTImporter.cpp.
References clang::ObjCAutoreleasePoolStmt::getAtLoc(), and clang::ObjCAutoreleasePoolStmt::getSubStmt().
Decl * ASTNodeImporter::VisitObjCCategoryDecl | ( | ObjCCategoryDecl * | D | ) |
Definition at line 3467 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::ObjCCategoryDecl::protocol_begin(), clang::ObjCCategoryDecl::protocol_end(), clang::ObjCCategoryDecl::protocol_loc_begin(), clang::ObjCCategoryDecl::setImplementation(), clang::Decl::setLexicalDeclContext(), clang::ObjCCategoryDecl::setProtocolList(), and clang::ObjCCategoryDecl::setTypeParamList().
Decl * ASTNodeImporter::VisitObjCCategoryImplDecl | ( | ObjCCategoryImplDecl * | D | ) |
Definition at line 3843 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().
Stmt * ASTNodeImporter::VisitObjCForCollectionStmt | ( | ObjCForCollectionStmt * | S | ) |
Definition at line 4929 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 3881 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().
Decl * ASTNodeImporter::VisitObjCInterfaceDecl | ( | ObjCInterfaceDecl * | D | ) |
Definition at line 3784 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(), clang::Decl::IDNS_Ordinary, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), ImportObjCTypeParamList(), clang::ObjCInterfaceDecl::isImplicitInterfaceDecl(), clang::ObjCInterfaceDecl::isThisDeclarationADefinition(), clang::DeclContext::localUncachedLookup(), clang::Decl::setLexicalDeclContext(), and clang::ObjCInterfaceDecl::setTypeParamList().
QualType ASTNodeImporter::VisitObjCInterfaceType | ( | const ObjCInterfaceType * | T | ) |
Definition at line 1833 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 3084 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(), clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::QualType::isNull(), clang::ASTImporter::IsStructurallyEquivalent(), clang::DeclContext::localUncachedLookup(), clang::Decl::setLexicalDeclContext(), and clang::ASTImporter::ToDiag().
Decl * ASTNodeImporter::VisitObjCMethodDecl | ( | ObjCMethodDecl * | D | ) |
Definition at line 3324 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(), 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().
QualType ASTNodeImporter::VisitObjCObjectPointerType | ( | const ObjCObjectPointerType * | T | ) |
Definition at line 1871 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 1842 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 3959 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(), 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().
Decl * ASTNodeImporter::VisitObjCPropertyImplDecl | ( | ObjCPropertyImplDecl * | D | ) |
Definition at line 4026 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::Property, clang::Decl::setLexicalDeclContext(), clang::ObjCPropertyImplDecl::Synthesize, and clang::ASTImporter::ToDiag().
Decl * ASTNodeImporter::VisitObjCProtocolDecl | ( | ObjCProtocolDecl * | D | ) |
Definition at line 3587 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(), clang::Decl::IDNS_ObjCProtocol, clang::ASTImporter::Import(), ImportDeclParts(), ImportDefinition(), clang::ASTImporter::Imported(), clang::ObjCProtocolDecl::isThisDeclarationADefinition(), clang::DeclContext::localUncachedLookup(), and clang::Decl::setLexicalDeclContext().
Decl * ASTNodeImporter::VisitObjCTypeParamDecl | ( | ObjCTypeParamDecl * | D | ) |
Definition at line 3438 of file ASTImporter.cpp.
References clang::ObjCTypeParamDecl::Create(), clang::DeclarationName::getAsIdentifierInfo(), clang::ObjCTypeParamDecl::getColonLoc(), clang::ObjCTypeParamDecl::getIndex(), clang::Decl::getLocation(), clang::ASTImporter::getToContext(), clang::TypedefNameDecl::getTypeSourceInfo(), clang::ObjCTypeParamDecl::getVariance(), clang::ObjCTypeParamDecl::getVarianceLoc(), clang::ASTImporter::Import(), ImportDeclParts(), clang::ASTImporter::Imported(), clang::Result, and clang::Decl::setLexicalDeclContext().
Definition at line 5088 of file ASTImporter.cpp.
References clang::ParenExpr::getLParen(), clang::ParenExpr::getRParen(), clang::ParenExpr::getSubExpr(), clang::ASTImporter::getToContext(), and clang::ASTImporter::Import().
Definition at line 1682 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 3291 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(), clang::Decl::isUsed(), clang::ParmVarDecl::setHasInheritedDefaultArg(), and clang::Decl::setIsUsed().
QualType ASTNodeImporter::VisitPointerType | ( | const PointerType * | T | ) |
Definition at line 1522 of file ASTImporter.cpp.
References clang::PointerType::getPointeeType(), clang::ASTContext::getPointerType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Decl * ASTNodeImporter::VisitRecordDecl | ( | RecordDecl * | D | ) |
Definition at line 2537 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::DeclContext::getRedeclContext(), 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 1753 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 4850 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 1550 of file ASTImporter.cpp.
References clang::ReferenceType::getPointeeTypeAsWritten(), clang::ASTContext::getRValueReferenceType(), clang::ASTImporter::getToContext(), clang::ASTImporter::Import(), and clang::QualType::isNull().
Definition at line 4591 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag().
Stmt * ASTNodeImporter::VisitSwitchStmt | ( | SwitchStmt * | S | ) |
Definition at line 4715 of file ASTImporter.cpp.
References clang::SwitchStmt::getBody(), clang::SwitchStmt::getCond(), clang::SwitchStmt::getConditionVariable(), 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 1792 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().
Decl * ASTNodeImporter::VisitTemplateTemplateParmDecl | ( | TemplateTemplateParmDecl * | D | ) |
Definition at line 4155 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().
Decl * ASTNodeImporter::VisitTemplateTypeParmDecl | ( | TemplateTypeParmDecl * | D | ) |
Definition at line 4107 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().
Decl * ASTNodeImporter::VisitTranslationUnitDecl | ( | TranslationUnitDecl * | D | ) |
Definition at line 2304 of file ASTImporter.cpp.
References clang::ASTImporter::getToContext(), clang::ASTContext::getTranslationUnitDecl(), and clang::ASTImporter::Imported().
Definition at line 1467 of file ASTImporter.cpp.
References clang::ASTImporter::FromDiag(), and clang::Type::getTypeClassName().
Decl * ASTNodeImporter::VisitTypeAliasDecl | ( | TypeAliasDecl * | D | ) |
Definition at line 2457 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
Decl * ASTNodeImporter::VisitTypedefDecl | ( | TypedefDecl * | D | ) |
Definition at line 2453 of file ASTImporter.cpp.
References VisitTypedefNameDecl().
Decl * ASTNodeImporter::VisitTypedefNameDecl | ( | TypedefNameDecl * | D, |
bool | IsAlias | ||
) |
Definition at line 2384 of file ASTImporter.cpp.
References clang::DeclContext::addDeclInternal(), clang::TypedefDecl::Create(), clang::TypeAliasDecl::Create(), clang::Decl::getAccess(), clang::DeclarationName::getAsIdentifierInfo(), clang::TypeDecl::getLocStart(), clang::DeclContext::getRedeclContext(), 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 1690 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 1699 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 1707 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 5114 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 5099 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 1728 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 3137 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::DeclContext::getRedeclContext(), 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::Decl::isUsed(), clang::DeclContext::localUncachedLookup(), clang::Decl::setAccess(), clang::VarDecl::setInit(), clang::Decl::setIsUsed(), clang::Decl::setLexicalDeclContext(), clang::DeclaratorDecl::setQualifierInfo(), and clang::ASTImporter::ToDiag().
QualType ASTNodeImporter::VisitVariableArrayType | ( | const VariableArrayType * | T | ) |
Definition at line 1592 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 4371 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::DeclContext::getRedeclContext(), 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().
Decl * ASTNodeImporter::VisitVarTemplateSpecializationDecl | ( | VarTemplateSpecializationDecl * | D | ) |
Definition at line 4479 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 1608 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 4750 of file ASTImporter.cpp.
References clang::WhileStmt::getBody(), clang::WhileStmt::getCond(), clang::WhileStmt::getConditionVariable(), clang::ASTImporter::getToContext(), clang::WhileStmt::getWhileLoc(), and clang::ASTImporter::Import().