Lines Matching refs:getASTContext
76 clang::ASTContext *dst_clang_ast = dst_ast.getASTContext(); in CopyType()
81 clang::ASTContext *src_clang_ast = src_ast->getASTContext(); in CopyType()
147 decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
148 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
557 MinionSP minion_sp(GetMinion(&decl->getASTContext(), decl_origin.ctx)); in CompleteTagDecl()
569 clang::ASTContext *origin_ast_ctx = &origin_decl->getASTContext(); in CompleteTagDeclWithOrigin()
574 MinionSP minion_sp(GetMinion(&decl->getASTContext(), origin_ast_ctx)); in CompleteTagDeclWithOrigin()
579 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in CompleteTagDeclWithOrigin()
601 GetMinion(&interface_decl->getASTContext(), decl_origin.ctx)); in CompleteObjCInterfaceDecl()
624 MinionSP minion_sp(GetMinion(&tag_decl->getASTContext(), decl_origin.ctx)); in CompleteAndFetchChildren()
648 GetMinion(&objc_interface_decl->getASTContext(), decl_origin.ctx)); in CompleteAndFetchChildren()
701 return ClangASTContext::GetMetadata(&decl->getASTContext(), decl); in GetDeclMetadata()
706 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in GetDeclOrigin()
720 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in SetDeclOrigin()
728 iter->second.ctx = &original_decl->getASTContext(); in SetDeclOrigin()
730 origins[decl] = DeclOrigin(&original_decl->getASTContext(), original_decl); in SetDeclOrigin()
736 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in RegisterNamespaceMap()
743 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in GetNamespaceMap()
757 ASTContextMetadataSP context_md = GetContextMetadata(&decl->getASTContext()); in BuildNamespaceMap()
970 m_master.GetContextMetadata(&to->getASTContext()); in Imported()
982 if (origin_iter->second.ctx != &to->getASTContext()) in Imported()
987 m_master.GetMinion(&to->getASTContext(), origin_iter->second.ctx); in Imported()
998 static_cast<void *>(&from->getASTContext()), in Imported()
999 static_cast<void *>(&to->getASTContext())); in Imported()
1022 static_cast<void *>(&from->getASTContext())); in Imported()
1046 static_cast<void *>(&to->getASTContext())); in Imported()
1104 m_master.GetContextMetadata(&To->getASTContext()); in GetOriginalDecl()