diff options
author | Yannick Moy <moy@adacore.com> | 2011-08-02 15:15:07 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 17:15:07 +0200 |
commit | 975c689678295f3c614f55a84a62c49bdd866a6a (patch) | |
tree | 101c010bb1f1495a3e5010af30b9b9a86d819f3f /gcc/dbxout.h | |
parent | afc8324d660d789fa34a14817e52d8c432a1e7c8 (diff) | |
download | gcc-975c689678295f3c614f55a84a62c49bdd866a6a.zip gcc-975c689678295f3c614f55a84a62c49bdd866a6a.tar.gz gcc-975c689678295f3c614f55a84a62c49bdd866a6a.tar.bz2 |
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
Diffstat (limited to 'gcc/dbxout.h')
0 files changed, 0 insertions, 0 deletions