Home
last modified time | relevance | path

Searched refs:PrevNS (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaDeclCXX.cpp7096 NamespaceDecl *PrevNS) { in DiagnoseNamespaceInlineMismatch() argument
7097 assert(*IsInline != PrevNS->isInline()); in DiagnoseNamespaceInlineMismatch()
7108 for (NamespaceDecl *NS = PrevNS->getMostRecentDecl(); NS; in DiagnoseNamespaceInlineMismatch()
7113 for (auto *I : PrevNS->decls()) in DiagnoseNamespaceInlineMismatch()
7115 PrevNS->getParent()->makeDeclVisibleInContext(ND); in DiagnoseNamespaceInlineMismatch()
7119 if (PrevNS->isInline()) in DiagnoseNamespaceInlineMismatch()
7127 S.Diag(PrevNS->getLocation(), diag::note_previous_definition); in DiagnoseNamespaceInlineMismatch()
7128 *IsInline = PrevNS->isInline(); in DiagnoseNamespaceInlineMismatch()
7149 NamespaceDecl *PrevNS = nullptr; in ActOnStartNamespaceDef() local
7175 PrevNS = dyn_cast_or_null<NamespaceDecl>(PrevDecl); in ActOnStartNamespaceDef()
[all …]