Home
last modified time | relevance | path

Searched refs:source_range (Results 1 – 23 of 23) sorted by relevance

/dragonfly/contrib/gcc-8.0/libcpp/include/
H A Dline-map.h318 struct GTY(()) source_range struct
328 static source_range from_location (source_location loc) in from_location() argument
330 source_range result; in from_location()
337 static source_range from_locations (source_location start, in from_locations() argument
340 source_range result; in from_locations()
711 source_range src_range;
1018 source_range,
1024 extern source_range get_range_from_loc (line_maps *set, source_location loc);
1051 source_range src_range, in COMBINE_LOCATION_DATA()
1660 add_fixit_remove (source_range src_range);
[all …]
H A Dcpplib.h784 source_range get_next ();
805 source_range get_range (int idx) const in get_range()
811 void add_range (source_range range);
815 source_range *m_ranges;
/dragonfly/contrib/gcc-8.0/gcc/
H A Ddiagnostic-show-locus.c2204 source_range range; in test_one_liner_fixit_replace_non_equal_range()
2281 source_range range = source_range::from_locations (loc, c47); in test_one_liner_fixit_validation_adhoc_locations()
2298 source_range range = source_range::from_locations (loc, c47); in test_one_liner_fixit_validation_adhoc_locations()
2578 richloc.add_fixit_replace (source_range::from_locations (c15, c17), in test_fixit_consolidation()
2592 richloc.add_fixit_replace (source_range::from_locations (c10, c15), in test_fixit_consolidation()
2607 richloc.add_fixit_replace (source_range::from_locations (c10, c15), in test_fixit_consolidation()
2609 richloc.add_fixit_replace (source_range::from_locations (c17, c20), in test_fixit_consolidation()
2623 richloc.add_fixit_replace (source_range::from_locations (c10, c15), in test_fixit_consolidation()
2825 source_range victim = {open_paren, close_paren}; in test_overlapped_fixit_printing()
2846 source_range victim = {expr_start, expr_finish}; in test_overlapped_fixit_printing()
[all …]
H A Dedit-context.c1301 source_range range = source_range::from_locations (start, finish); in test_applying_fixits_replace_containing_newline()
1338 source_range range; in test_applying_fixits_remove()
1400 replace_a.add_fixit_replace (source_range::from_locations (c7, c9), in test_applying_fixits_multiple()
1405 replace_b.add_fixit_replace (source_range::from_locations (c11, c15), in test_applying_fixits_multiple()
1588 r1.add_fixit_replace (source_range::from_locations (c1, c3), in test_applying_fixits_modernize_named_init()
1593 r2.add_fixit_replace (source_range::from_locations (c8, c8), in test_applying_fixits_modernize_named_init()
1758 source_range range = source_range::from_locations (c11, c14); in test_applying_fixits_column_validation()
1775 source_range range = source_range::from_locations (c11, c15); in test_applying_fixits_column_validation()
H A Dsubstring-locations.c114 source_range fmt_loc_range in format_warning_n_va()
117 source_range fmt_substring_range in format_warning_n_va()
H A Dinput.h112 extern location_t make_location (location_t caret, source_range src_range);
H A Dinput.c891 source_range src_range; in make_location()
904 make_location (location_t caret, source_range src_range) in make_location()
1401 source_range src_range = get_range_from_loc (line_table, strlocs[i]); in get_substring_ranges_for_loc()
1555 source_range *out_range) in get_source_range_for_char()
1814 source_range src_range = get_range_from_loc (line_table, range_c_b_d); in test_accessing_ordinary_linemaps()
1962 source_range tok_range = get_range_from_loc (line_table, tok_loc); in assert_token_loc_eq()
2275 source_range actual_range = source_range(); in assert_char_at_range()
3136 source_range actual_range; in test_lexer_string_locations_concatenation_2()
H A Ddiagnostic.c1619 source_range where; in test_print_parseable_fixits_remove()
1641 source_range where; in test_print_parseable_fixits_replace()
H A Dprint-tree.c971 source_range r = EXPR_LOCATION_RANGE (node); in print_node()
H A Dtree.h1185 static inline source_range
5832 set_source_range (tree expr, source_range src_range);
5834 static inline source_range
H A Dtree.c14034 source_range src_range = get_range_from_loc (line_table, loc); in set_block()
14041 source_range src_range; in set_source_range()
14048 set_source_range (tree expr, source_range src_range) in set_source_range()
/dragonfly/contrib/gcc-8.0/libcpp/
H A Dcharset.c822 m_ranges = XNEWVEC (source_range, m_alloc_ranges); in cpp_substring_ranges()
835 cpp_substring_ranges::add_range (source_range range) in add_range()
841 = (source_range *)xrealloc (m_ranges, in add_range()
842 sizeof (source_range) * m_alloc_ranges); in add_range()
1037 source_range *char_range, in _cpp_valid_ucn()
1153 source_range char_range, in convert_ucn()
1263 source_range char_range, in convert_hex()
1333 source_range char_range, in convert_oct()
1398 source_range char_range; in convert_escape()
2156 source_range
[all …]
H A Dline-map.c122 source_range src_range, in can_be_stored_compactly_p()
163 source_range src_range, in get_combined_adhoc_loc()
267 static source_range
277 source_range
291 source_range result; in get_range_from_loc()
298 return source_range::from_location (loc); in get_range_from_loc()
2216 source_range range = get_range_from_loc (m_line_table, where); in add_fixit_remove()
2224 rich_location::add_fixit_remove (source_range src_range) in add_fixit_remove()
2247 source_range range = get_range_from_loc (m_line_table, where); in add_fixit_replace()
2255 rich_location::add_fixit_replace (source_range src_range, in add_fixit_replace()
H A Dinternal.h759 source_range *char_range,
H A Ddirectives.c527 source_range misspelled_token_range in _cpp_handle_directive()
H A Dlex.c3153 source_range tok_range; in _cpp_lex_direct()
/dragonfly/contrib/gcc-8.0/gcc/c/
H A Dc-parser.h72 source_range get_range () const in get_range()
H A Dc-tree.h143 source_range src_range;
773 source_range src_range);
H A Dc-fold.c160 source_range old_range; in c_fully_fold_internal()
H A Dgimple-parser.c753 source_range tok_range = c_parser_peek_token (parser)->get_range (); in c_parser_gimple_postfix_expression()
H A Dc-parser.c93 source_range src_range) in set_c_expr_source_range()
6961 source_range src_range; in c_parser_binary_expression()
7875 source_range tok_range = c_parser_peek_token (parser)->get_range (); in c_parser_postfix_expression()
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dcp-tree.h76 source_range src_range = get_range_from_loc (line_table, m_loc); in get_start()
81 source_range src_range = get_range_from_loc (line_table, m_loc); in get_finish()
/dragonfly/contrib/gcc-8.0/gcc/c-family/
H A Dc-format.c3481 source_range fmt_substring_range in get_corrected_substring()