Drop unused member from cpp_string_location_reader (PR preprocessor/92982)

libcpp/ChangeLog:
	PR preprocessor/92982
	* charset.c
	(cpp_string_location_reader::cpp_string_location_reader): Delete
	initialization of m_line_table.
	* include/cpplib.h (cpp_string_location_reader::m_line_table):
	Delete unused member.

From-SVN: r279541
This commit is contained in:
David Malcolm 2019-12-18 17:26:01 +00:00 committed by David Malcolm
parent 77ce555548
commit 6dd0c82021
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2019-12-18 David Malcolm <dmalcolm@redhat.com>
PR preprocessor/92982
* charset.c
(cpp_string_location_reader::cpp_string_location_reader): Delete
initialization of m_line_table.
* include/cpplib.h (cpp_string_location_reader::m_line_table):
Delete unused member.
2019-12-14 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/92919

View File

@ -2248,7 +2248,6 @@ _cpp_default_encoding (void)
cpp_string_location_reader::
cpp_string_location_reader (location_t src_loc,
line_maps *line_table)
: m_line_table (line_table)
{
src_loc = get_range_from_loc (line_table, src_loc).m_start;

View File

@ -912,7 +912,6 @@ class cpp_string_location_reader {
private:
location_t m_loc;
int m_offset_per_column;
line_maps *m_line_table;
};
/* A class for storing the source ranges of all of the characters within