Relocate Check_Valid_Ghost_Declaration in ada
The `Check_Valid_Ghost_Declaration` procedure in the Ada compiler has been relocated to maintain alphabetical order.
This commit relocates the Check_Valid_Ghost_Declaration procedure within the ghost.adb file. The purpose of this change is to maintain alphabetical order within the file, improving code organization and readability.
In Details
This commit involves a simple relocation of the Check_Valid_Ghost_Declaration procedure in ghost.adb. The procedure was moved to its correct alphabetical position within the file.
For Context
This commit is a simple refactoring of the Ada compiler's source code. It involves moving a function named Check_Valid_Ghost_Declaration to a different location in the source file to maintain alphabetical order. This kind of change improves code readability and maintainability.