On 05/05/2017 05:35 PM, David Malcolm wrote:
Committed to trunk as r247664.
gcc/ChangeLog:
* diagnostic.c (last_module_changed_p): New function.
(set_last_module): New function.
Given that C++ modules-ts is a thing, I wonder if there's a better name
for these functions? that
diagnostic.h has a couple of macros (diagnostic_last_module_changed
and diagnostic_set_last_module) which are only used within
diagnostic_report_current_module.
This patch eliminates the macros in favor of static functions within
diagnostic.c.
No functional change intended.
Successfully bootstra