summaryrefslogtreecommitdiff
path: root/gcc/input.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-09-15 16:53:01 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-09-15 16:53:01 +0000
commit31bdd08a9d21a2fd7019bbd7b178c8911a7d2e41 (patch)
treeb8835d6ddb4631db4e8d4f261d3286ea4d207b80 /gcc/input.h
parentc55721c0dfee6d4de107cab63bfe0d1ebf5bdfde (diff)
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
Diffstat (limited to 'gcc/input.h')
-rw-r--r--gcc/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/input.h b/gcc/input.h
index 5ba4d3b46f5..07d8544ed6f 100644
--- a/gcc/input.h
+++ b/gcc/input.h
@@ -38,7 +38,7 @@ extern char builtins_location_check[(BUILTINS_LOCATION
extern bool is_location_from_builtin_token (source_location);
extern expanded_location expand_location (source_location);
-extern const char *location_get_source_line (expanded_location xloc,
+extern const char *location_get_source_line (const char *file_path, int line,
int *line_size);
extern expanded_location expand_location_to_spelling_point (source_location);
extern source_location expansion_point_location_if_in_system_header (source_location);