[Ada] Check if attribute Passed_By_Reference is called on incomplete types
authorGhjuvan Lacambre <lacambre@adacore.com>
Fri, 3 Apr 2020 14:57:40 +0000 (16:57 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 16 Jun 2020 13:07:13 +0000 (09:07 -0400)
commit29b82c7d55c818bd25b98e0f9469cbe6adec0e34
tree4e238a504ca1768236d1cc9cf281f2b5f50a81f2
parent93b0021d8c1478a2de07db6ffc7d0cab052b83a1
[Ada] Check if attribute Passed_By_Reference is called on incomplete types

2020-06-16  Ghjuvan Lacambre  <lacambre@adacore.com>

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Add
Check_Not_Incomplete_Type call.
gcc/ada/sem_attr.adb