[Ada] More robust guard against cascaded errors with overlapping actuals
Pierre-Marie de Rodat
Wed Jun 30 09:30:45 GMT 2021
Code cleanup, both to improve efficiency (when no error has been posted
for a subprogram call) and to avoid potential crashes (when an error has
been posted and the subprogram call parameters are likely to be
ill-formed as well).
Tested on x86_64-pc-linux-gnu, committed on trunk
* sem_warn.adb (Warn_On_Overlapping_Actuals): Prevent cascaded
errors once for the subprogram call, not for every pair of
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 916 bytes
Desc: not available
More information about the Gcc-patches