Lines Matching refs:Namespc
10921 NamespaceDecl *Namespc = NamespaceDecl::Create(Context, CurContext, IsInline, in ActOnStartNamespaceDef() local
10924 Namespc->setInvalidDecl(); in ActOnStartNamespaceDef()
10926 ProcessDeclAttributeList(DeclRegionScope, Namespc, AttrList); in ActOnStartNamespaceDef()
10927 AddPragmaAttributes(DeclRegionScope, Namespc); in ActOnStartNamespaceDef()
10930 if (const VisibilityAttr *Attr = Namespc->getAttr<VisibilityAttr>()) in ActOnStartNamespaceDef()
10934 StdNamespace = Namespc; in ActOnStartNamespaceDef()
10936 KnownNamespaces[Namespc] = false; in ActOnStartNamespaceDef()
10939 PushOnScopeChains(Namespc, DeclRegionScope); in ActOnStartNamespaceDef()
10944 TU->setAnonymousNamespace(Namespc); in ActOnStartNamespaceDef()
10946 cast<NamespaceDecl>(Parent)->setAnonymousNamespace(Namespc); in ActOnStartNamespaceDef()
10949 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
10973 Namespc, in ActOnStartNamespaceDef()
10980 ActOnDocumentableDecl(Namespc); in ActOnStartNamespaceDef()
10987 PushDeclContext(NamespcScope, Namespc); in ActOnStartNamespaceDef()
10988 return Namespc; in ActOnStartNamespaceDef()
11002 NamespaceDecl *Namespc = dyn_cast_or_null<NamespaceDecl>(Dcl); in ActOnFinishNamespaceDef() local
11003 assert(Namespc && "Invalid parameter, expected NamespaceDecl"); in ActOnFinishNamespaceDef()
11004 Namespc->setRBraceLoc(RBrace); in ActOnFinishNamespaceDef()
11006 if (Namespc->hasAttr<VisibilityAttr>()) in ActOnFinishNamespaceDef()
11009 if (DeferredExportedNamespaces.erase(Namespc)) in ActOnFinishNamespaceDef()