diff options
author | David Malcolm <dmalcolm@redhat.com> | 2018-07-20 21:39:14 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2018-07-20 21:39:14 +0000 |
commit | 181463c271fb920ca789d2e8bf41fa415be694a8 (patch) | |
tree | 702cb60181b1dcfe40bd02920c9fd5ef9833fc15 /libcpp/line-map.c | |
parent | 0d7f90652080c42cddca6f9b68f6895218c70880 (diff) | |
download | gcc-181463c271fb920ca789d2e8bf41fa415be694a8.zip gcc-181463c271fb920ca789d2e8bf41fa415be694a8.tar.gz gcc-181463c271fb920ca789d2e8bf41fa415be694a8.tar.bz2 |
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
Diffstat (limited to 'libcpp/line-map.c')
-rw-r--r-- | libcpp/line-map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/line-map.c b/libcpp/line-map.c index 1051022..a1a765f 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -2104,8 +2104,8 @@ rich_location::add_range (source_location loc, bool show_caret_p) - the "%C" and "%L" format codes in the Fortran frontend. */ void -rich_location::set_range (line_maps * /*set*/, unsigned int idx, - source_location loc, bool show_caret_p) +rich_location::set_range (unsigned int idx, source_location loc, + bool show_caret_p) { /* We can either overwrite an existing range, or add one exactly on the end of the array. */ |