exp_ch6.adb (Process_Contract_Cases_For): Update the call to Expand_Pragma_Contract_C...
authorHristian Kirtchev <kirtchev@adacore.com>
Tue, 26 May 2015 09:20:53 +0000 (09:20 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 26 May 2015 09:20:53 +0000 (11:20 +0200)
commitb9eb3aa8a2f9c09ade591ed1a1edc12f0e73ed73
treeb85c114cf0fec62a3131a2f88f521949d4895149
parenta12e42fc3dc64fb4183ee30e32906d3111552a17
exp_ch6.adb (Process_Contract_Cases_For): Update the call to Expand_Pragma_Contract_Cases.

2015-05-26  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch6.adb (Process_Contract_Cases_For): Update the call to
Expand_Pragma_Contract_Cases.
* exp_prag.ads, exp_prag.adb (Expand_Contract_Cases): Rename to
Expand_Pragma_Contract_Cases.
* sem_ch13.adb (Add_Invariants): Use the original aspect name
when creating the arguments of pragma Check. This ensures that
'Class is properly recognized and handled.

From-SVN: r223671
gcc/ada/ChangeLog
gcc/ada/exp_ch6.adb
gcc/ada/exp_prag.adb
gcc/ada/exp_prag.ads
gcc/ada/sem_ch13.adb