/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | diagnostic-show-locus.c | 2077 rich_location richloc (line_table, loc); in test_one_liner_caret_and_range() 2109 rich_location richloc (line_table, foo); in test_one_liner_multiple_carets_and_ranges() 2145 rich_location richloc (line_table, foo); in test_one_liner_fixit_insert_after() 2164 rich_location richloc (line_table, dot); in test_one_liner_fixit_remove() 2415 linemap_line_start (line_table, 1, 100); in test_add_location_if_nearby() 2480 linemap_line_start (line_table, 1, 100); in test_diagnostic_show_locus_fixit_lines() 2703 linemap_line_start (line_table, 1, 100); in test_overlapped_fixit_printing() 2902 linemap_line_start (line_table, 1, 100); in test_overlapped_fixit_printing_2() 3046 linemap_line_start (line_table, 1, 100); in test_fixit_insert_containing_newline_2() 3098 rich_location richloc (line_table, loc); in test_fixit_replace_containing_newline() [all …]
|
H A D | edit-context.c | 1068 rich_location richloc (line_table, loc); in test_applying_fixits_insert_after_at_line_end() 1110 rich_location richloc (line_table, loc); in test_applying_fixits_insert_after_failure() 1300 rich_location richloc (line_table, loc); in test_applying_fixits_replace_containing_newline() 1391 rich_location insert_a (line_table, c7); in test_applying_fixits_multiple() 1395 rich_location insert_b (line_table, c17); in test_applying_fixits_multiple() 1459 rich_location insert (line_table, loc); in change_line() 1485 rich_location insert (line_table, loc); in insert_line() 1587 rich_location r1 (line_table, c8); in test_applying_fixits_modernize_named_init() 1592 rich_location r2 (line_table, c8); in test_applying_fixits_modernize_named_init() 1655 rich_location insert (line_table, loc); in test_applying_fixits_unreadable_file() [all …]
|
H A D | input.c | 124 struct line_maps *line_table; variable 1009 line_table->num_optimized_ranges); in dump_line_table_statistics() 1011 line_table->num_unoptimized_ranges); in dump_line_table_statistics() 1166 line_table->highest_location, in dump_location_info() 1384 if (line_table->seen_line_directive) in get_substring_ranges_for_loc() 1690 saved_line_table = line_table; in line_table_test() 1691 line_table = ggc_alloc<line_maps> (); in line_table_test() 1697 line_table->default_range_bits = 0; in line_table_test() 1706 saved_line_table = line_table; in line_table_test() 1707 line_table = ggc_alloc<line_maps> (); in line_table_test() [all …]
|
H A D | input.h | 26 extern GTY(()) struct line_maps *line_table; 59 ((IS_ADHOC_LOC (LOC)) ? get_location_from_adhoc_loc (line_table, LOC) \ 62 ((tree) ((IS_ADHOC_LOC (LOC)) ? get_data_from_adhoc_loc (line_table, (LOC)) \ 77 (linemap_location_in_system_header_p (line_table, LOC)) 81 ((linemap_location_from_macro_expansion_p (line_table, LOC))) 86 ((linemap_location_from_macro_definition_p (line_table, LOC))) 91 return get_pure_location (line_table, loc); in get_pure_location() 99 return get_range_from_loc (line_table, loc).m_start; in get_start() 107 return get_range_from_loc (line_table, loc).m_finish; in get_finish()
|
H A D | diagnostic.c | 581 linemap_resolve_location (line_table, where, in diagnostic_report_current_module() 590 map = INCLUDED_FROM (line_table, map); in diagnostic_report_current_module() 600 map = INCLUDED_FROM (line_table, map); in diagnostic_report_current_module() 822 (line_table, in update_effective_level_from_pragmas() 1066 rich_location richloc (line_table, location); in diagnostic_append_note() 1144 rich_location richloc (line_table, location); in emit_diagnostic() 1378 rich_location richloc (line_table, loc); in error_at() 1425 rich_location richloc (line_table, loc); in fatal_error() 1597 linemap_line_start (line_table, 5, 100); in test_print_parseable_fixits_insert() 1617 linemap_line_start (line_table, 5, 100); in test_print_parseable_fixits_remove() [all …]
|
H A D | tree-diagnostic.c | 109 map = linemap_lookup (line_table, where); in maybe_unwind_expanded_macro_loc() 134 where = linemap_unwind_toward_expansion (line_table, where, &map); in maybe_unwind_expanded_macro_loc() 182 linemap_resolve_location (line_table, iter->where, in maybe_unwind_expanded_macro_loc() 189 linemap_resolve_location (line_table, resolved_def_loc, in maybe_unwind_expanded_macro_loc() 214 linemap_resolve_location (line_table, in maybe_unwind_expanded_macro_loc()
|
H A D | substring-locations.c | 115 = get_range_from_loc (line_table, fmt_loc.get_fmt_string_loc ()); in format_warning_n_va() 118 = get_range_from_loc (line_table, fmt_substring_loc); in format_warning_n_va() 141 rich_location richloc (line_table, primary_loc); in format_warning_n_va() 176 rich_location substring_richloc (line_table, fmt_substring_loc); in format_warning_n_va()
|
/dragonfly/contrib/gcc-4.7/libcpp/ |
H A D | directives-only.c | 57 loc = pfile->line_table->highest_line; in _cpp_preprocess_dir_only() 92 struct line_maps *line_table; in _cpp_preprocess_dir_only() local 109 line_table = pfile->line_table; in _cpp_preprocess_dir_only() 110 line_table->highest_location = line_table->highest_line; in _cpp_preprocess_dir_only() 116 cb->maybe_print_line (pfile->line_table->highest_line); in _cpp_preprocess_dir_only() 145 loc = linemap_position_for_column (pfile->line_table, col); in _cpp_preprocess_dir_only()
|
H A D | internal.h | 69 const struct line_maps *line_table = PFILE->line_table; \ 71 LINEMAPS_LAST_ORDINARY_MAP (line_table); \ 72 linenum_type line = SOURCE_LINE (map, line_table->highest_line); \ 73 linemap_line_start (PFILE->line_table, line + 1, COLS_HINT); \ 392 struct line_maps *line_table; member 598 return pfile->line_table->depth == 1; in cpp_in_primary_file()
|
H A D | init.c | 153 struct line_maps *line_table) in cpp_create_reader() argument 203 pfile->line_table = line_table; in cpp_create_reader() 252 cpp_set_line_map (cpp_reader *pfile, struct line_maps *line_table) in cpp_set_line_map() argument 254 pfile->line_table = line_table; in cpp_set_line_map() 602 ((LINEMAPS_LAST_ORDINARY_MAP (pfile->line_table))); in cpp_read_main_file()
|
H A D | files.c | 545 entry->location = pfile->line_table->highest_location; in _cpp_find_file() 558 entry->location = pfile->line_table->highest_location; in _cpp_find_file() 569 entry->location = pfile->line_table->highest_location; in _cpp_find_file() 930 pfile->line_table->highest_location--; in _cpp_stack_include() 939 int sysp = pfile->line_table->highest_line > 1 && pfile->buffer ? pfile->buffer->sysp : 0; in open_file_failed() 1051 entry->location = pfile->line_table->highest_location; in make_cpp_dir() 1222 const struct line_maps *line_table = pfile->line_table; in cpp_make_system_header() local 1223 const struct line_map *map = LINEMAPS_LAST_ORDINARY_MAP (line_table); in cpp_make_system_header() 1229 SOURCE_LINE (map, pfile->line_table->highest_line), flags); in cpp_make_system_header() 1587 for (i = 1; i < pfile->line_table->depth; i++) in validate_pch()
|
/dragonfly/contrib/gcc-8.0/libcpp/ |
H A D | directives-only.c | 56 loc = pfile->line_table->highest_line; in _cpp_preprocess_dir_only() 91 struct line_maps *line_table; in _cpp_preprocess_dir_only() local 108 line_table = pfile->line_table; in _cpp_preprocess_dir_only() 109 line_table->highest_location = line_table->highest_line; in _cpp_preprocess_dir_only() 115 cb->maybe_print_line (pfile->line_table->highest_line); in _cpp_preprocess_dir_only() 144 loc = linemap_position_for_column (pfile->line_table, col); in _cpp_preprocess_dir_only()
|
H A D | internal.h | 70 const struct line_maps *line_table = PFILE->line_table; \ 72 LINEMAPS_LAST_ORDINARY_MAP (line_table); \ 73 linenum_type line = SOURCE_LINE (map, line_table->highest_line); \ 74 linemap_line_start (PFILE->line_table, line + 1, COLS_HINT); \ 401 struct line_maps *line_table; member 621 return pfile->line_table->depth == 1; in cpp_in_primary_file()
|
H A D | errors.c | 61 src_loc = pfile->line_table->highest_line; in cpp_diagnostic() 73 rich_location richloc (pfile->line_table, src_loc); in cpp_diagnostic() 154 rich_location richloc (pfile->line_table, src_loc); in cpp_diagnostic_with_line() 251 rich_location richloc (pfile->line_table, src_loc); in cpp_error_at()
|
H A D | init.c | 172 struct line_maps *line_table) in cpp_create_reader() argument 236 pfile->line_table = line_table; in cpp_create_reader() 286 cpp_set_line_map (cpp_reader *pfile, struct line_maps *line_table) in cpp_set_line_map() argument 288 pfile->line_table = line_table; in cpp_set_line_map() 658 ((LINEMAPS_LAST_ORDINARY_MAP (pfile->line_table))); in cpp_read_main_file()
|
H A D | files.c | 631 entry->location = pfile->line_table->highest_location; in _cpp_find_file() 644 entry->location = pfile->line_table->highest_location; in _cpp_find_file() 655 entry->location = pfile->line_table->highest_location; in _cpp_find_file() 1047 pfile->line_table->highest_location--; in _cpp_stack_include() 1054 pfile->line_table->highest_location++; in _cpp_stack_include() 1186 entry->location = pfile->line_table->highest_location; in make_cpp_dir() 1257 location = get_location_from_adhoc_loc (pfile->line_table, location); in cpp_included_before() 1358 const struct line_maps *line_table = pfile->line_table; in cpp_make_system_header() local 1359 const line_map_ordinary *map = LINEMAPS_LAST_ORDINARY_MAP (line_table); in cpp_make_system_header() 1365 SOURCE_LINE (map, pfile->line_table->highest_line), flags); in cpp_make_system_header() [all …]
|
H A D | directives.c | 306 pfile->directive_line = pfile->line_table->highest_line; in start_directive() 526 rich_location richloc (pfile->line_table, dname->src_loc); in _cpp_handle_directive() 528 = get_range_from_loc (pfile->line_table, dname->src_loc); in _cpp_handle_directive() 846 if (pfile->line_table->depth >= CPP_STACK_MAX) in do_include_common() 952 struct line_maps *line_table = pfile->line_table; in do_line() local 1006 line_table->seen_line_directive = true; in do_line() 1015 struct line_maps *line_table = pfile->line_table; in do_linemarker() local 1090 map = LINEMAPS_LAST_ORDINARY_MAP (line_table); in do_linemarker() 1108 pfile->line_table->highest_location--; in do_linemarker() 1111 line_table->seen_line_directive = true; in do_linemarker() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | tree-diagnostic.c | 118 map = linemap_lookup (line_table, where); in maybe_unwind_expanded_macro_loc() 143 where = linemap_unwind_toward_expansion (line_table, where, &map); in maybe_unwind_expanded_macro_loc() 168 linemap_resolve_location (line_table, iter->where, in maybe_unwind_expanded_macro_loc() 175 linemap_resolve_location (line_table, in maybe_unwind_expanded_macro_loc()
|
H A D | input.c | 31 struct line_maps *line_table; variable 43 loc = linemap_resolve_location (line_table, loc, in expand_location() 45 xloc = linemap_expand_location (line_table, map, loc); in expand_location() 92 linemap_get_statistics (line_table, &s); in dump_line_table_statistics()
|
H A D | input.h | 27 extern GTY(()) struct line_maps *line_table; 55 ((linemap_location_in_system_header_p (line_table, LOC)))
|
/dragonfly/contrib/gcc-8.0/gcc/c-family/ |
H A D | c-pch.c | 361 saved_loc = expand_location (line_table->highest_line); in c_common_read_pch() 362 saved_trace_includes = line_table->trace_includes; in c_common_read_pch() 369 cpp_set_line_map (pfile, line_table); in c_common_read_pch() 370 rebuild_location_adhoc_htab (line_table); in c_common_read_pch() 384 line_table->trace_includes = saved_trace_includes; in c_common_read_pch() 385 linemap_add (line_table, LC_ENTER, 0, saved_loc.file, saved_loc.line); in c_common_read_pch()
|
H A D | c-indentation.c | 219 if (linemap_location_from_macro_expansion_p (line_table, body_loc) in should_warn_for_misleading_indentation() 220 || linemap_location_from_macro_expansion_p (line_table, next_stmt_loc)) in should_warn_for_misleading_indentation() 239 if (line_table->seen_line_directive) in should_warn_for_misleading_indentation()
|
/dragonfly/contrib/gcc-4.7/gcc/c-family/ |
H A D | c-pch.c | 428 saved_loc = expand_location (line_table->highest_line); in c_common_read_pch() 429 saved_trace_includes = line_table->trace_includes; in c_common_read_pch() 436 cpp_set_line_map (pfile, line_table); in c_common_read_pch() 450 line_table->trace_includes = saved_trace_includes; in c_common_read_pch() 451 linemap_add (line_table, LC_ENTER, 0, saved_loc.file, saved_loc.line); in c_common_read_pch()
|
H A D | c-ppoutput.c | 250 linemap_dump_location (line_table, token->src_loc, in scan_translation_unit() 346 linemap_dump_location (line_table, src_loc, in maybe_print_line() 401 linemap_dump_location (line_table, src_loc, in print_line() 470 linemap_resolve_location (line_table, line, in cb_define() 619 const struct line_map *from = INCLUDED_FROM (line_table, map); in pp_file_change()
|
/dragonfly/contrib/gcc-8.0/gcc/c/ |
H A D | c-errors.c | 40 rich_location richloc (line_table, location); in pedwarn_c99() 80 rich_location richloc (line_table, location); in pedwarn_c90()
|