Lines Matching refs:Namespc
7407 NamespaceDecl *Namespc = NamespaceDecl::Create(Context, CurContext, IsInline, in ActOnStartNamespaceDef() local
7410 Namespc->setInvalidDecl(); in ActOnStartNamespaceDef()
7412 ProcessDeclAttributeList(DeclRegionScope, Namespc, AttrList); in ActOnStartNamespaceDef()
7415 if (const VisibilityAttr *Attr = Namespc->getAttr<VisibilityAttr>()) in ActOnStartNamespaceDef()
7419 StdNamespace = Namespc; in ActOnStartNamespaceDef()
7421 KnownNamespaces[Namespc] = false; in ActOnStartNamespaceDef()
7424 PushOnScopeChains(Namespc, DeclRegionScope); in ActOnStartNamespaceDef()
7429 TU->setAnonymousNamespace(Namespc); in ActOnStartNamespaceDef()
7431 cast<NamespaceDecl>(Parent)->setAnonymousNamespace(Namespc); in ActOnStartNamespaceDef()
7434 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
7458 Namespc, in ActOnStartNamespaceDef()
7465 ActOnDocumentableDecl(Namespc); in ActOnStartNamespaceDef()
7472 PushDeclContext(NamespcScope, Namespc); in ActOnStartNamespaceDef()
7473 return Namespc; in ActOnStartNamespaceDef()
7487 NamespaceDecl *Namespc = dyn_cast_or_null<NamespaceDecl>(Dcl); in ActOnFinishNamespaceDef() local
7488 assert(Namespc && "Invalid parameter, expected NamespaceDecl"); in ActOnFinishNamespaceDef()
7489 Namespc->setRBraceLoc(RBrace); in ActOnFinishNamespaceDef()
7491 if (Namespc->hasAttr<VisibilityAttr>()) in ActOnFinishNamespaceDef()