]> git.ipfire.org Git - thirdparty/gcc.git/commit
2016-04-19 Arnaud Charlet <charlet@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2016 12:24:29 +0000 (12:24 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2016 12:24:29 +0000 (12:24 +0000)
commit410a40a99b316ae3b8b612bfc6efa8568ea9b9d1
tree8f0e05f309c4e50b8151595d415edaab3e212dd7
parent6edf7a11728382b3fc029da72d0dd645655a63c9
2016-04-19  Arnaud Charlet  <charlet@adacore.com>

* sem_util.adb (Copy_Node_With_Replacement):
use Set_Comes_From_Source instead of directly manipulating
internals of the node table.
* sem_util.adb (Within_Scope): refactored to remove duplicated code.
* sem_aux.adb (Get_Rep_Pragma,
Subprogram_Body_Entity, Subprogram_Spec): declare variables that
do not change as constants and initialize them in the declaration.
(Get_Rep_Pragma, Subprogram_Body_Entity, Subprogram_Spec): declare
variables that do not change as constants and initialize them
in the declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235193 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/sem_aux.adb
gcc/ada/sem_util.adb