libcpp: remove redundant parameter from rich_location::set_range
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 20 Jul 2018 21:39:14 +0000 (21:39 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 20 Jul 2018 21:39:14 +0000 (21:39 +0000)
commit181463c271fb920ca789d2e8bf41fa415be694a8
tree702cb60181b1dcfe40bd02920c9fd5ef9833fc15
parent0d7f90652080c42cddca6f9b68f6895218c70880
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.

From-SVN: r262913
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