c++: Exported using decls

Nathan Sidwell nathan@acm.org
Thu Dec 3 20:40:01 GMT 2020


With modules we	need to	record whethe a	(namespace-scope) using	decl
is exporting the named entities.  Record this on the OVERLOAD marking
the used decl.

	gcc/cp/
	* cp-tree.h (OVL_EXPORT): New.
	(class ovl_iterator): Add get_using, exporting_p.
	* tree.c (ovl_insert): Extend using_or_hidden meaning to include
	an exported using.

pushed to trunk
-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 22.5-c++-ovl.diff
Type: text/x-patch
Size: 2911 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201203/07d09cbc/attachment.bin>


More information about the Gcc-patches mailing list