Change of location_get_source_line signature
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 15 Sep 2015 16:53:01 +0000 (16:53 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 15 Sep 2015 16:53:01 +0000 (16:53 +0000)
commit31bdd08a9d21a2fd7019bbd7b178c8911a7d2e41
treeb8835d6ddb4631db4e8d4f261d3286ea4d207b80
parentc55721c0dfee6d4de107cab63bfe0d1ebf5bdfde
Change of location_get_source_line signature

gcc/ChangeLog:
* input.h (location_get_source_line): Drop "expanded_location"
param in favor of a file and line number.
* input.c (location_get_source_line): Likewise.
(dump_location_info): Update for change in signature of
location_get_source_line.
* diagnostic.c (diagnostic_print_caret_line): Likewise.

gcc/c-family/ChangeLog:
* c-format.c (location_from_offset): Update for change in
signature of location_get_source_line.
* c-indentation.c (get_visual_column): Likewise.
(line_contains_hash_if): Likewise.

From-SVN: r227800
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-format.c
gcc/c-family/c-indentation.c
gcc/diagnostic.c
gcc/input.c
gcc/input.h