Searched refs:ToDC (Results 1 – 2 of 2) sorted by relevance
238 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() local239 if (FromDC == ToDC) return true; in MightInstantiateTo()240 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()
1770 if (DeclContext *ToDC = Importer.ImportContext(FromDC)) { in ImportDeclContext() local1771 ToDC->setHasExternalLexicalStorage(); in ImportDeclContext()1772 ToDC->setHasExternalVisibleStorage(); in ImportDeclContext()