On Wed, 2020-12-09 at 15:20 -0500, Nathan Sidwell wrote:
> With modules, we need the ability to name 'foos' in different
> modules.
> The idiom for that is a trailing '@modulename' suffix.

Out of curiosity, is this idiom shared with other compilers? (or in the
standard)

>       This adds that
> to the error printing routines.        I also augment the tree
> dumping
> machinery to show module-specific metadata.
> 
>          gcc/cp/
>          * error.c (dump_module_suffix): New.
>          (dump_aggr_type, dump_simple_decl, dump_function_name): Call
> it.
>          * ptree.c (cxx_print_decl): Print module information.
>          * module.cc (module_name, get_importing_module): Stubs.
> 
> pushing to trunk

Unless I'm misreading it, the patch you posted deletes about 2000 lines
from gcc/cp/error.c (lines 2599 onwards), deleting a whole bunch of
stuff.

Did you post the wrong patch?

Dave

Reply via email to