Lines Matching refs:getASTContext

35   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()
316 &src_ctxt->getASTContext(), &dst.getASTContext()); in DeportType()
323 CompleteTagDeclsScope complete_scope(*this, &dst.getASTContext(), in DeportType()
324 &src_ctxt->getASTContext()); in DeportType()
332 clang::ASTContext *src_ctx = &decl->getASTContext(); in DeportDecl()
564 GetDelegate(&decl->getASTContext(), decl_origin.ctx)); in CompleteTagDecl()
567 &decl->getASTContext()); in CompleteTagDecl()
576 clang::ASTContext *origin_ast_ctx = &origin_decl->getASTContext(); in CompleteTagDeclWithOrigin()
582 GetDelegate(&decl->getASTContext(), origin_ast_ctx)); in CompleteTagDeclWithOrigin()
587 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in CompleteTagDeclWithOrigin()
604 GetDelegate(&interface_decl->getASTContext(), decl_origin.ctx)); in CompleteObjCInterfaceDecl()
630 GetDelegate(&tag_decl->getASTContext(), decl_origin.ctx)); in CompleteAndFetchChildren()
633 &tag_decl->getASTContext()); in CompleteAndFetchChildren()
662 GetDelegate(&objc_interface_decl->getASTContext(), decl_origin.ctx)); in CompleteAndFetchChildren()
718 TypeSystemClang *ast = TypeSystemClang::GetASTContext(&decl->getASTContext()); in GetDeclMetadata()
724 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in GetDeclOrigin()
731 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in SetDeclOrigin()
733 decl, DeclOrigin(&original_decl->getASTContext(), original_decl)); in SetDeclOrigin()
738 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in RegisterNamespaceMap()
745 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in GetNamespaceMap()
758 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in BuildNamespaceMap()
1068 m_main.GetContextMetadata(&to->getASTContext()); in Imported()
1076 if (origin.ctx != &to->getASTContext()) { in Imported()
1084 origin.decl, origin.ctx, &from->getASTContext(), in Imported()
1085 &to->getASTContext()); in Imported()
1097 &from->getASTContext()); in Imported()
1118 from, m_source_ctx, &to->getASTContext()); in Imported()