libcpp: remove redundant parameter from rich_location::set_range
commit8d3ff4702a33cd7d9aef7ac993e936a16bfd63bc
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jul 2018 21:39:14 +0000 (20 21:39 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jul 2018 21:39:14 +0000 (20 21:39 +0000)
tree702cb60181b1dcfe40bd02920c9fd5ef9833fc15
parentd9147f5183f9b777973af83ce7cf332fce36a523
libcpp: remove redundant parameter from rich_location::set_range

gcc/c-family/ChangeLog:
* c-common.c (c_cpp_error): Remove redundant "line_table"
parameter from call to rich_location::set_range.
(maybe_suggest_missing_token_insertion): Likewise.

gcc/ChangeLog:
* pretty-print.c (text_info::set_location): Remove redundant
"line_table" parameter from call to rich_location::set_range.

libcpp/ChangeLog:
* include/line-map.h (rich_location::set_range): Remove redundant
line_maps * parameter.
* line-map.c (rich_location::set_range): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262913 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/pretty-print.c
libcpp/ChangeLog
libcpp/include/line-map.h
libcpp/line-map.c