Re: [C++ PATCH] Commonixe using directive finishing

2019-05-20 Thread Nathan Sidwell
On 5/20/19 10:55 AM, Marek Polacek wrote: On Mon, May 20, 2019 at 09:48:57AM -0400, Nathan Sidwell wrote: + if (attribs != error_mark_node) +for (tree a = attribs; a; a = TREE_CHAIN (a)) + { + tree name = get_attribute_name (a); + if (current_binding_level->kind == sk_names

Re: [C++ PATCH] Commonixe using directive finishing

2019-05-20 Thread Marek Polacek
On Mon, May 20, 2019 at 09:48:57AM -0400, Nathan Sidwell wrote: > + if (attribs != error_mark_node) > +for (tree a = attribs; a; a = TREE_CHAIN (a)) > + { > + tree name = get_attribute_name (a); > + if (current_binding_level->kind == sk_namespace > + && is_attribute_p ("st