• jason's avatar
    PR c++/32470 · 1fd77946
    jason authored
            * name-lookup.c (push_namespace_with_attrs): Fold back into...
            (push_namespace): Here.
            (handle_namespace_attrs): New fn for the attr code.
            (leave_scope): Don't pop_visibility.
            * name-lookup.h (struct cp_binding_level): Remove has_visibility.
            * parser.c (cp_parser_namespace_definition): Call
            handle_namespace_attrs and pop_visibility as appropriate.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129003 138bc75d-0d04-0410-961f-82ee72b054a4
    1fd77946
name-lookup.h 13.1 KB