Lines Matching defs:Namespc
11588 // Continue on to push Namespc as current DeclContext and return it.
11619 NamespaceDecl *Namespc = NamespaceDecl::Create(
11622 Namespc->setInvalidDecl();
11624 ProcessDeclAttributeList(DeclRegionScope, Namespc, AttrList);
11625 AddPragmaAttributes(DeclRegionScope, Namespc);
11626 ProcessAPINotes(Namespc);
11629 if (const VisibilityAttr *Attr = Namespc->getAttr<VisibilityAttr>())
11633 StdNamespace = Namespc;
11635 KnownNamespaces[Namespc] = false;
11638 PushOnScopeChains(Namespc, DeclRegionScope);
11643 TU->setAnonymousNamespace(Namespc);
11645 cast<NamespaceDecl>(Parent)->setAnonymousNamespace(Namespc);
11648 CurContext->addDecl(Namespc);
11672 Namespc,
11679 ActOnDocumentableDecl(Namespc);
11683 // FIXME: We should be able to push Namespc here, so that the each DeclContext
11686 PushDeclContext(NamespcScope, Namespc);
11687 return Namespc;
11699 NamespaceDecl *Namespc = dyn_cast_or_null<NamespaceDecl>(Dcl);
11700 assert(Namespc && "Invalid parameter, expected NamespaceDecl");
11701 Namespc->setRBraceLoc(RBrace);
11703 if (Namespc->hasAttr<VisibilityAttr>())
11706 if (DeferredExportedNamespaces.erase(Namespc))