diff options
author | Nathan Sidwell <nathan@acm.org> | 2022-06-27 07:51:12 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2022-06-30 04:52:40 -0700 |
commit | 47e36785cd2ba35a577b0678a2ac185288eb9e52 (patch) | |
tree | 4949582e913de3f384752784f4c855426709338f /gcc/value-range.h | |
parent | 00193676a5a3e7e50e1fa6646bb5abb5a7b2acbb (diff) | |
download | gcc-47e36785cd2ba35a577b0678a2ac185288eb9e52.zip gcc-47e36785cd2ba35a577b0678a2ac185288eb9e52.tar.gz gcc-47e36785cd2ba35a577b0678a2ac185288eb9e52.tar.bz2 |
c++: Note macro locations
In order to prune ordinary locations, we need to note the locations of
macros we'll be writing out. This rearanges the macro processing to achieve
that. Also drop an unneeded parameter from macro reading & writing.
Fix some it's/its errors.
gcc/cp/
* module.cc (module_state::write_define): Drop located param.
(module_state::read_define): Likewise.
(module_state::prepare_macros): New, broken out of ...
(module_state::write_macros): ... here. Adjust.
(module_state::write_begin): Adjust.
gcc/testsuite/
* g++.dg/modules/inext-1.H: Check include-next happened.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions