-
- Downloads
einfo.adb, einfo.ads (Body_Is_In_ALFA, [...]): get/set for new flag denoting...
einfo.adb, einfo.ads (Body_Is_In_ALFA, [...]): get/set for new flag denoting which subprogram bodies are in ALFA 2011-08-02 Yannick Moy <moy@adacore.com> * einfo.adb, einfo.ads (Body_Is_In_ALFA, Set_Body_Is_In_ALFA): get/set for new flag denoting which subprogram bodies are in ALFA * restrict.adb, sem_ch7.adb: Update comment * sem_ch11.adb, sem_ch2.adb, sem_ch3.adb, sem_ch4.adb, sem_ch5.adb, sem_ch9.adb, sem_res.adb: Add calls to Current_Subprogram_Body_Is_Not_In_ALFA on unsupported constructs. * sem_ch6.adb (Analyze_Function_Return): add calls to Current_Subprogram_Body_Is_Not_In_ALFA on return statement in the middle of the body, and extended return. (Check_Missing_Return): add calls to Set_Body_Is_In_ALFA with argument False when missing return. (Analyze_Subprogram_Body_Helper): initialize the flag Body_Is_In_ALFA to True for subprograms whose spec is in ALFA. Remove later on the flag on the entity used for a subprogram body when there exists a separate declaration. * sem_util.adb, sem_util.ads (Current_Subprogram_Body_Is_Not_In_ALFA): if Current_Subprogram is not Empty, set its flag Body_Is_In_ALFA to False, otherwise do nothing. From-SVN: r177177
Showing
- gcc/ada/ChangeLog 21 additions, 0 deletionsgcc/ada/ChangeLog
- gcc/ada/einfo.adb 14 additions, 1 deletiongcc/ada/einfo.adb
- gcc/ada/einfo.ads 15 additions, 4 deletionsgcc/ada/einfo.ads
- gcc/ada/restrict.adb 1 addition, 1 deletiongcc/ada/restrict.adb
- gcc/ada/sem_ch11.adb 2 additions, 0 deletionsgcc/ada/sem_ch11.adb
- gcc/ada/sem_ch2.adb 10 additions, 1 deletiongcc/ada/sem_ch2.adb
- gcc/ada/sem_ch3.adb 5 additions, 2 deletionsgcc/ada/sem_ch3.adb
- gcc/ada/sem_ch4.adb 28 additions, 0 deletionsgcc/ada/sem_ch4.adb
- gcc/ada/sem_ch5.adb 10 additions, 2 deletionsgcc/ada/sem_ch5.adb
- gcc/ada/sem_ch6.adb 23 additions, 0 deletionsgcc/ada/sem_ch6.adb
- gcc/ada/sem_ch7.adb 3 additions, 4 deletionsgcc/ada/sem_ch7.adb
- gcc/ada/sem_ch9.adb 26 additions, 0 deletionsgcc/ada/sem_ch9.adb
- gcc/ada/sem_res.adb 25 additions, 14 deletionsgcc/ada/sem_res.adb
- gcc/ada/sem_util.adb 15 additions, 0 deletionsgcc/ada/sem_util.adb
- gcc/ada/sem_util.ads 4 additions, 0 deletionsgcc/ada/sem_util.ads
Loading
Please register or sign in to comment