Lines Matching refs:Namespc
7217 NamespaceDecl *Namespc = NamespaceDecl::Create(Context, CurContext, IsInline, in ActOnStartNamespaceDef() local
7220 Namespc->setInvalidDecl(); in ActOnStartNamespaceDef()
7222 ProcessDeclAttributeList(DeclRegionScope, Namespc, AttrList); in ActOnStartNamespaceDef()
7225 if (const VisibilityAttr *Attr = Namespc->getAttr<VisibilityAttr>()) in ActOnStartNamespaceDef()
7229 StdNamespace = Namespc; in ActOnStartNamespaceDef()
7231 KnownNamespaces[Namespc] = false; in ActOnStartNamespaceDef()
7234 PushOnScopeChains(Namespc, DeclRegionScope); in ActOnStartNamespaceDef()
7239 TU->setAnonymousNamespace(Namespc); in ActOnStartNamespaceDef()
7241 cast<NamespaceDecl>(Parent)->setAnonymousNamespace(Namespc); in ActOnStartNamespaceDef()
7244 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
7269 Namespc, in ActOnStartNamespaceDef()
7276 ActOnDocumentableDecl(Namespc); in ActOnStartNamespaceDef()
7283 PushDeclContext(NamespcScope, Namespc); in ActOnStartNamespaceDef()
7284 return Namespc; in ActOnStartNamespaceDef()
7298 NamespaceDecl *Namespc = dyn_cast_or_null<NamespaceDecl>(Dcl); in ActOnFinishNamespaceDef() local
7299 assert(Namespc && "Invalid parameter, expected NamespaceDecl"); in ActOnFinishNamespaceDef()
7300 Namespc->setRBraceLoc(RBrace); in ActOnFinishNamespaceDef()
7302 if (Namespc->hasAttr<VisibilityAttr>()) in ActOnFinishNamespaceDef()