Lines Matching refs:getASTContext
34 clang::ASTContext &dst_clang_ast = dst_ast.getASTContext(); in CopyType()
41 clang::ASTContext &src_clang_ast = src_ast->getASTContext(); in CopyType()
70 clang::ASTContext *src_ast = &decl->getASTContext(); in CopyDecl()
122 decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
123 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
315 &src_ctxt->getASTContext(), &dst.getASTContext()); in DeportType()
322 CompleteTagDeclsScope complete_scope(*this, &dst.getASTContext(), in DeportType()
323 &src_ctxt->getASTContext()); in DeportType()
331 clang::ASTContext *src_ctx = &decl->getASTContext(); in DeportDecl()
563 GetDelegate(&decl->getASTContext(), decl_origin.ctx)); in CompleteTagDecl()
566 &decl->getASTContext()); in CompleteTagDecl()
575 clang::ASTContext *origin_ast_ctx = &origin_decl->getASTContext(); in CompleteTagDeclWithOrigin()
581 GetDelegate(&decl->getASTContext(), origin_ast_ctx)); in CompleteTagDeclWithOrigin()
586 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in CompleteTagDeclWithOrigin()
603 GetDelegate(&interface_decl->getASTContext(), decl_origin.ctx)); in CompleteObjCInterfaceDecl()
629 GetDelegate(&tag_decl->getASTContext(), decl_origin.ctx)); in CompleteAndFetchChildren()
632 &tag_decl->getASTContext()); in CompleteAndFetchChildren()
661 GetDelegate(&objc_interface_decl->getASTContext(), decl_origin.ctx)); in CompleteAndFetchChildren()
717 TypeSystemClang *ast = TypeSystemClang::GetASTContext(&decl->getASTContext()); in GetDeclMetadata()
723 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in GetDeclOrigin()
730 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in SetDeclOrigin()
732 decl, DeclOrigin(&original_decl->getASTContext(), original_decl)); in SetDeclOrigin()
737 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in RegisterNamespaceMap()
744 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in GetNamespaceMap()
757 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in BuildNamespaceMap()
1071 m_main.GetContextMetadata(&to->getASTContext()); in Imported()
1079 if (origin.ctx != &to->getASTContext()) { in Imported()
1084 m_main.GetDelegate(&to->getASTContext(), origin.ctx); in Imported()
1093 origin.decl, origin.ctx, &from->getASTContext(), in Imported()
1094 &to->getASTContext()); in Imported()
1106 &from->getASTContext()); in Imported()
1127 from, m_source_ctx, &to->getASTContext()); in Imported()