Searched refs:Namespc (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 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() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 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() [all …]
|