Home
last modified time | relevance | path

Searched refs:highest_line (Results 1 – 14 of 14) sorted by relevance

/netbsd/src/external/gpl3/gcc/dist/libcpp/
Dline-map.cc352 set->highest_line = RESERVED_LOCATION_COUNT - 1; in linemap_init()
563 set->highest_line = start_location; in linemap_add()
767 SOURCE_LINE (map, set->highest_line); in linemap_line_start()
838 r = set->highest_line + (line_delta << map->m_column_and_range_bits); in linemap_line_start()
846 set->highest_line = set->highest_location = LINE_MAP_MAX_LOCATION - 1; in linemap_line_start()
852 set->highest_line = r; in linemap_line_start()
879 location_t r = set->highest_line; in linemap_position_for_column()
Dlex.cc1125 cpp_error_with_line (pfile, CPP_DL_WARNING, pfile->line_table->highest_line, col, in _cpp_process_line_notes()
1130 cpp_error_with_line (pfile, CPP_DL_PEDWARN, pfile->line_table->highest_line, col, in _cpp_process_line_notes()
1146 pfile->line_table->highest_line, col, in _cpp_process_line_notes()
1154 pfile->line_table->highest_line, col, in _cpp_process_line_notes()
1680 pfile->line_table->highest_line, in _cpp_skip_block_comment()
1723 location_t orig_line = pfile->line_table->highest_line; in skip_line_comment()
1751 return orig_line != pfile->line_table->highest_line; in skip_line_comment()
1770 cpp_error_with_line (pfile, CPP_DL_PEDWARN, pfile->line_table->highest_line, in skip_whitespace()
2515 token->src_loc = pfile->line_table->highest_line; in lex_raw_string()
3562 result->src_loc = pfile->line_table->highest_line; in _cpp_lex_direct()
[all …]
Dfiles.cc1021 linenum_type line = SOURCE_LINE (map, pfile->line_table->highest_line); in _cpp_stack_file()
1214 int sysp = pfile->line_table->highest_line > 1 && pfile->buffer ? pfile->buffer->sysp : 0; in open_file_failed()
1509 SOURCE_LINE (map, pfile->line_table->highest_line), in cpp_make_system_header()
1634 pfile->line_table->highest_line); in cpp_push_include()
1644 pfile->line_table->highest_line); in cpp_push_default_include()
Dtraditional.cc163 location_t src_loc = pfile->line_table->highest_line; in copy_comment()
410 pfile->out.first_line = pfile->line_table->highest_line; in _cpp_scan_out_logical_line()
541 fmacro.line = pfile->line_table->highest_line; in _cpp_scan_out_logical_line()
Derrors.cc41 return pfile->line_table->highest_line; in cpp_diagnostic_get_current_location()
Dinternal.h75 linenum_type line = SOURCE_LINE (map, line_table->highest_line); \
Ddirectives.cc308 pfile->directive_line = pfile->line_table->highest_line; in start_directive()
1162 && SOURCE_LINE (last, pfile->line_table->highest_line) == 2) in _cpp_do_file_change()
1166 = pfile->line_table->highest_line = MAP_START_LOCATION (last); in _cpp_do_file_change()
Dinit.cc766 = pfile->line_table->highest_line in read_original_filename()
Dmacro.cc612 pfile->line_table->highest_line); in _cpp_builtin_macro_text()
650 loc = pfile->line_table->highest_line; in _cpp_builtin_macro_text()
DChangeLog1002 (cpp_push_include, cpp_push_default_include): Use highest_line as
2986 When adding lines to an existing map, use set->highest_line
5255 highest_line to RESERVED_LOCATION_COUNT-1 instead of 0.
/netbsd/src/external/gpl3/gcc/dist/libcpp/include/
Dline-map.h802 location_t highest_line; in class() local
/netbsd/src/external/gpl3/gcc/dist/gcc/
Ddiagnostic-show-locus.cc1587 int highest_line = last_span->m_last_line; in calculate_linenum_width() local
1588 if (highest_line < 0) in calculate_linenum_width()
1589 highest_line = 0; in calculate_linenum_width()
1590 m_linenum_width = num_digits (highest_line); in calculate_linenum_width()
Dinput.cc1919 line_table->highest_line = case_.m_base_location; in line_table_test()
DChangeLog-200435444 * line-map.h (struct line_maps): New field highest_line.
35447 * line-map.c (linemap_init): Clear highest_line field.
35448 (linemap_add): Set highest_line field.
35449 (linemap_line_start): Minor optimization - use highest_line field.
35450 Reduce maximum column hint to 10000. Update highest_line field.
35453 line_table->highest_line.
35456 Use line_table's highest_line field instead of cpp_reader's line.
35457 * cpplib.c (start_directive): Likewise use highest_line field.
35460 * cpperror.c (cpp_error): Likewise use highest_line field.
35462 (cpp_make_system_header): Likewise use newest map and highest_line.
[all …]