diff options
author | David Malcolm <dmalcolm@redhat.com> | 2023-10-08 18:43:17 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2023-10-08 18:43:17 -0400 |
commit | 0a0ceb7a72fe0b7582bed40974e3ed374b2e5204 (patch) | |
tree | f2fbcc9397176d91fd42946f2dd7dc3e3d0d2943 /libcpp/include | |
parent | 45bae1809c3919ae3b77b59fd5502c2ab8340418 (diff) | |
download | gcc-0a0ceb7a72fe0b7582bed40974e3ed374b2e5204.zip gcc-0a0ceb7a72fe0b7582bed40974e3ed374b2e5204.tar.gz gcc-0a0ceb7a72fe0b7582bed40974e3ed374b2e5204.tar.bz2 |
libcpp: eliminate LINEMAPS_{ORDINARY,MACRO}_MAPS
libcpp/ChangeLog:
* include/line-map.h (LINEMAPS_ORDINARY_MAPS): Delete.
(LINEMAPS_MACRO_MAPS): Delete.
* line-map.cc (linemap_tracks_macro_expansion_locs_p): Update for
deletion of LINEMAPS_MACRO_MAPS.
(linemap_get_statistics): Likewise.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libcpp/include')
-rw-r--r-- | libcpp/include/line-map.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h index 30f2284..cb934e6 100644 --- a/libcpp/include/line-map.h +++ b/libcpp/include/line-map.h @@ -928,14 +928,6 @@ LINEMAPS_LAST_MAP (const line_maps *set, bool map_kind) LINEMAPS_USED (set, map_kind) - 1); } -/* Returns a pointer to the memory region where ordinary maps are - allocated in the line table SET. */ -inline line_map_ordinary * -LINEMAPS_ORDINARY_MAPS (const line_maps *set) -{ - return set->info_ordinary.maps; -} - /* Returns the INDEXth ordinary map. */ inline line_map_ordinary * LINEMAPS_ORDINARY_MAP_AT (const line_maps *set, int index) @@ -968,14 +960,6 @@ LINEMAPS_LAST_ORDINARY_MAP (const line_maps *set) return (line_map_ordinary *)LINEMAPS_LAST_MAP (set, false); } -/* Returns a pointer to the beginning of the region where macro maps - are allocated. */ -inline line_map_macro * -LINEMAPS_MACRO_MAPS (const line_maps *set) -{ - return set->info_macro.maps; -} - /* Returns the INDEXth macro map. */ inline line_map_macro * LINEMAPS_MACRO_MAP_AT (const line_maps *set, int index) |