Searched refs:copied_decl (Results 1 – 1 of 1) sorted by relevance
462 Decl *copied_decl = m_ast_importer->CopyDecl(m_ast_context, original_ctx, decl); in FindExternalLexicalDecls() local464 if (!copied_decl) in FindExternalLexicalDecls()467 if (FieldDecl *copied_field = dyn_cast<FieldDecl>(copied_decl)) in FindExternalLexicalDecls()474 decls.push_back(copied_decl); in FindExternalLexicalDecls()478 if (copied_decl->getDeclContext() != decl_context) in FindExternalLexicalDecls()480 if (copied_decl->getDeclContext()->containsDecl(copied_decl)) in FindExternalLexicalDecls()481 copied_decl->getDeclContext()->removeDecl(copied_decl); in FindExternalLexicalDecls()482 copied_decl->setDeclContext(decl_context_non_const); in FindExternalLexicalDecls()485 if (!decl_context_non_const->containsDecl(copied_decl)) in FindExternalLexicalDecls()486 decl_context_non_const->addDeclInternal(copied_decl); in FindExternalLexicalDecls()[all …]