Searched refs:PrevNS (Results 1 – 1 of 1) sorted by relevance
7130 NamespaceDecl *PrevNS) { in DiagnoseNamespaceInlineMismatch() argument7131 assert(*IsInline != PrevNS->isInline()); in DiagnoseNamespaceInlineMismatch()7142 for (NamespaceDecl *NS = PrevNS->getMostRecentDecl(); NS; in DiagnoseNamespaceInlineMismatch()7147 for (auto *I : PrevNS->decls()) in DiagnoseNamespaceInlineMismatch()7149 PrevNS->getParent()->makeDeclVisibleInContext(ND); in DiagnoseNamespaceInlineMismatch()7153 if (PrevNS->isInline()) in DiagnoseNamespaceInlineMismatch()7161 S.Diag(PrevNS->getLocation(), diag::note_previous_definition); in DiagnoseNamespaceInlineMismatch()7162 *IsInline = PrevNS->isInline(); in DiagnoseNamespaceInlineMismatch()7184 NamespaceDecl *PrevNS = nullptr; in ActOnStartNamespaceDef() local7200 PrevNS = dyn_cast_or_null<NamespaceDecl>(PrevDecl); in ActOnStartNamespaceDef()[all …]