[Ada] Simplify detection of local types

Pierre-Marie de Rodat derodat@adacore.com
Wed Jun 30 09:30:45 GMT 2021


Code cleanup related to fixing Valid_Scalars for private records.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

	* sem_ch3.adb (Is_Local_Type): Simplify by reusing Scope_Within.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 762 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210630/0e43480c/attachment-0001.bin>


More information about the Gcc-patches mailing list