inline.adb (Is_Expression_Function): Removed.
authorHristian Kirtchev <kirtchev@adacore.com>
Tue, 27 Oct 2015 11:46:38 +0000 (11:46 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 27 Oct 2015 11:46:38 +0000 (12:46 +0100)
commit2bfad6eb411319a475bf7c5f5ffd79fe06780084
treede083c5e99a31d445fae58ac36235a1c5b4b2f48
parentcdabbb526556b8779df24df30b837dfe61554694
inline.adb (Is_Expression_Function): Removed.

2015-10-27  Hristian Kirtchev  <kirtchev@adacore.com>

* inline.adb (Is_Expression_Function): Removed.
* sem_ch6.adb (Analyze_Subprogram_Body_Helper): An internally
generated subprogram body that completes an expression function
inherits the SPARK_Mode from the spec.
* sem_res.adb (Resolve_Call): Update all calls to
Is_Expression_Function.
* sem_util.ads, sem_util.adb (Is_Expression_Function): Reimplemented.
(Is_Expression_Function_Or_Completion): New routine.

From-SVN: r229420
gcc/ada/ChangeLog
gcc/ada/inline.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_res.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads