diff options
author | Martin Liska <mliska@suse.cz> | 2019-05-14 13:41:40 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-05-14 11:41:40 +0000 |
commit | e6fc8353fcfc15827c6a3c3dc97538f3507878d3 (patch) | |
tree | a4a2f49f1546e7a78bd144404af6fa4fd3ce83a8 /libgo/go | |
parent | c688848d6a0c826a3e61d5a5e338f07578e71624 (diff) | |
download | gcc-e6fc8353fcfc15827c6a3c3dc97538f3507878d3.zip gcc-e6fc8353fcfc15827c6a3c3dc97538f3507878d3.tar.gz gcc-e6fc8353fcfc15827c6a3c3dc97538f3507878d3.tar.bz2 |
Do a refactoring in linemap (PR preprocessor/90382).
2019-05-14 Martin Liska <mliska@suse.cz>
PR preprocessor/90382
* include/line-map.h (get_data_from_adhoc_loc): Add const to
the first argument.
(get_location_from_adhoc_loc): Likewise.
* line-map.c(get_data_from_adhoc_loc): Add const to
the first argument.
(get_location_from_adhoc_loc): Likewise.
(get_combined_adhoc_loc): Use get_location_from_adhoc_loc
(or get_data_from_adhoc_loc).
(get_range_from_adhoc_loc): Likewise.
(get_pure_location): Likewise.
(linemap_position_for_loc_and_offset): Likewise.
(linemap_lookup): Likewise.
(linemap_ordinary_map_lookup): Likewise.
(linemap_macro_map_lookup): Likewise.
(linemap_get_expansion_line): Likewise.
(linemap_get_expansion_filename): Likewise.
(linemap_location_in_system_header_p): Likewise.
(linemap_location_from_macro_expansion_p): Likewise.
(linemap_macro_loc_to_exp_point): Likewise.
(linemap_resolve_location): Likewise.
(linemap_unwind_toward_expansion): Likewise.
(linemap_unwind_to_first_non_reserved_loc): Likewise.
(linemap_expand_location): Likewise.
(linemap_dump_location): Likewise.
From-SVN: r271162
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions