aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/a-assert.adb
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2017-09-08 14:36:54 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2017-09-08 16:36:54 +0200
commit8437edb4c28091d5f863dee1d9a0ffd7cfe3e595 (patch)
tree122a15be5c7b06e888641abfa05a1c93d0750b1d /gcc/ada/libgnat/a-assert.adb
parent139e8d2aacb2d4221ca94d8c413acd824820040e (diff)
downloadgcc-8437edb4c28091d5f863dee1d9a0ffd7cfe3e595.zip
gcc-8437edb4c28091d5f863dee1d9a0ffd7cfe3e595.tar.gz
gcc-8437edb4c28091d5f863dee1d9a0ffd7cfe3e595.tar.bz2
sem_aux.adb, [...] (Get_Called_Entity): New function to return the entity associated with the call.
2017-09-08 Yannick Moy <moy@adacore.com> * sem_aux.adb, sem_aux.ads (Get_Called_Entity): New function to return the entity associated with the call. * sem_util.adb, sem_util.ads (Check_Function_Writable_Actuals): Replace the internal Get_Function_Id with the new Sem_Aux.Get_Called_Entity. (Iterate_Call_Parameters): New procedure to iterate on formals and actuals at the same time. * sem_ch12.adb (Analyze_Subprogram_Instantiation): Set SPARK_Mode from spec when set, for analysis of instance. Restore after analysis of instance. (Instantiate_Subprogram_Body): Set SPARK_Mode from body when set, for analysis of body instance. Restored automatically at the end of the subprogram. * gnat1drv.adb (Adjust_Global_Switches): Set Check_Validity_Of_Parameters to False in GNATprove mode. * opt.ads (Check_Validity_Of_Parameters): Document switch to set option. From-SVN: r251900
Diffstat (limited to 'gcc/ada/libgnat/a-assert.adb')
0 files changed, 0 insertions, 0 deletions