Lines Matching refs:Namespc
7242 NamespaceDecl *Namespc = NamespaceDecl::Create(Context, CurContext, IsInline, in ActOnStartNamespaceDef() local
7245 Namespc->setInvalidDecl(); in ActOnStartNamespaceDef()
7247 ProcessDeclAttributeList(DeclRegionScope, Namespc, AttrList); in ActOnStartNamespaceDef()
7250 if (const VisibilityAttr *Attr = Namespc->getAttr<VisibilityAttr>()) in ActOnStartNamespaceDef()
7254 StdNamespace = Namespc; in ActOnStartNamespaceDef()
7256 KnownNamespaces[Namespc] = false; in ActOnStartNamespaceDef()
7259 PushOnScopeChains(Namespc, DeclRegionScope); in ActOnStartNamespaceDef()
7264 TU->setAnonymousNamespace(Namespc); in ActOnStartNamespaceDef()
7266 cast<NamespaceDecl>(Parent)->setAnonymousNamespace(Namespc); in ActOnStartNamespaceDef()
7269 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
7293 Namespc, in ActOnStartNamespaceDef()
7300 ActOnDocumentableDecl(Namespc); in ActOnStartNamespaceDef()
7307 PushDeclContext(NamespcScope, Namespc); in ActOnStartNamespaceDef()
7308 return Namespc; in ActOnStartNamespaceDef()
7322 NamespaceDecl *Namespc = dyn_cast_or_null<NamespaceDecl>(Dcl); in ActOnFinishNamespaceDef() local
7323 assert(Namespc && "Invalid parameter, expected NamespaceDecl"); in ActOnFinishNamespaceDef()
7324 Namespc->setRBraceLoc(RBrace); in ActOnFinishNamespaceDef()
7326 if (Namespc->hasAttr<VisibilityAttr>()) in ActOnFinishNamespaceDef()