aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpplib.h
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2025-07-23 11:59:10 +0300
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-08-04 15:04:10 +0200
commitbad0a5c562991a8b1e515cd498347b314bc2e8a9 (patch)
treeba930a5456ff954d6be835f5b3215aaa48b1d7cf /libcpp/include/cpplib.h
parent96613a6e3e9b93c4b304e47c3b788292eeda5920 (diff)
downloadgcc-bad0a5c562991a8b1e515cd498347b314bc2e8a9.zip
gcc-bad0a5c562991a8b1e515cd498347b314bc2e8a9.tar.gz
gcc-bad0a5c562991a8b1e515cd498347b314bc2e8a9.tar.bz2
ada: Keep Ghost_Mode related variables in a record
Simplify the storing process for ghost mode related variables and make the process more extendable if new ghost mode related features are added. gcc/ada/ChangeLog: * atree.adb: update references to Ghost_Mode. * exp_ch3.adb: use a structure type to store all of the existing ghost mode related state variables. * exp_disp.adb: Likewise. * exp_spark.adb: Likewise. * exp_util.adb: Likewise. * expander.adb: Likewise. * freeze.adb: Likewise and replace references to existing ghost mode variables. * ghost.adb (Install_Ghost_Region): install the changes of the region in to the new Ghost_Config structure. (Restore_Ghost_Region): Use the new Ghost_Config instead. In general replace all references to the existing ghost mode variables with the new structure equivalent. * ghost.ads (Restore_Ghost_Region): update the spec. * opt.ads (Ghost_Config_Type): A new type that has two of the previous ghost code related global variables as memembers - Ghost_Mode and Ignored_Ghost_Region. (Ghost_Config) New variable to store the previous Ghost_Mode and Ignored_Ghost_Region info. * rtsfind.adb: Replace references to existing ghost mode variables. * sem.adb: Likewise. * sem_ch12.adb: Likewise. * sem_ch13.adb: Likewise. * sem_ch3.adb: Likewise. * sem_ch5.adb: Likewise. * sem_ch6.adb: Likewise. * sem_ch7.adb: Likewise. * sem_prag.adb: Likewise. * sem_util.adb: Likewise.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions