c++: Add lang_decl, type_decl API

Nathan Sidwell nathan@acm.org
Wed Dec 2 15:42:20 GMT 2020


We need	to call	the lang_decl and type_decl creators from the module
loading machinery.  This makes them reachable.

         gcc/cp/
         * cp-tree.h (maybe_add_lang_decl_raw, maybe_add_lang_type_raw):
         Declare.
         * lex.c (maybe_add_lang_decl_raw, maybe_add_lang_type_raw):
         Externalize, reformat.

pushing to trunk

-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16.2-c++-infra-copy.diff
Type: text/x-patch
Size: 1961 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201202/38614d61/attachment.bin>


More information about the Gcc-patches mailing list