Lines Matching defs:Namespc
11687 // Continue on to push Namespc as current DeclContext and return it.
11718 NamespaceDecl *Namespc = NamespaceDecl::Create(
11721 Namespc->setInvalidDecl();
11723 ProcessDeclAttributeList(DeclRegionScope, Namespc, AttrList);
11724 AddPragmaAttributes(DeclRegionScope, Namespc);
11725 ProcessAPINotes(Namespc);
11728 if (const VisibilityAttr *Attr = Namespc->getAttr<VisibilityAttr>())
11732 StdNamespace = Namespc;
11734 KnownNamespaces[Namespc] = false;
11737 PushOnScopeChains(Namespc, DeclRegionScope);
11742 TU->setAnonymousNamespace(Namespc);
11744 cast<NamespaceDecl>(Parent)->setAnonymousNamespace(Namespc);
11747 CurContext->addDecl(Namespc);
11771 Namespc,
11778 ActOnDocumentableDecl(Namespc);
11782 // FIXME: We should be able to push Namespc here, so that the each DeclContext
11785 PushDeclContext(NamespcScope, Namespc);
11786 return Namespc;
11798 NamespaceDecl *Namespc = dyn_cast_or_null<NamespaceDecl>(Dcl);
11799 assert(Namespc && "Invalid parameter, expected NamespaceDecl");
11800 Namespc->setRBraceLoc(RBrace);
11802 if (Namespc->hasAttr<VisibilityAttr>())
11805 if (DeferredExportedNamespaces.erase(Namespc))