Home
last modified time | relevance | path

Searched refs:add_fixit_insert_before (Results 1 – 25 of 31) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Ddiagnostic-show-locus.c2870 richloc.add_fixit_insert_before ("&"); in test_one_liner_fixit_insert_before()
3068 richloc.add_fixit_insert_before (loc, "test"); in test_one_liner_fixit_validation_adhoc_locations()
3122 richloc.add_fixit_insert_before ("a"); in test_one_liner_many_fixits_1()
3143 richloc.add_fixit_insert_before (loc, "a"); in test_one_liner_many_fixits_2()
3481 richloc.add_fixit_insert_before ("&"); in test_one_liner_fixit_insert_before_utf8()
3640 richloc.add_fixit_insert_before (loc, "test"); in test_one_liner_fixit_validation_adhoc_locations_utf8()
3706 richloc.add_fixit_insert_before (i & 1 ? "@" : "\xcf\x80"); in test_one_liner_many_fixits_1_utf8()
3735 richloc.add_fixit_insert_before (loc, i & 1 ? "@" : "\xcf\x80"); in test_one_liner_many_fixits_2_utf8()
4010 richloc.add_fixit_insert_before (x, "."); in test_diagnostic_show_locus_fixit_lines()
4030 richloc.add_fixit_insert_before (y, "."); in test_diagnostic_show_locus_fixit_lines()
[all …]
H A Dedit-context.c962 richloc.add_fixit_insert_before ("/* inserted */"); in test_applying_fixits_insert_before()
1157 richloc.add_fixit_insert_before (line_start, " break;\n"); in test_applying_fixits_insert_containing_newline()
1385 insert_a.add_fixit_insert_before (c7, "/* alpha */"); in test_applying_fixits_multiple()
1389 insert_b.add_fixit_insert_before (c17, "/* beta */"); in test_applying_fixits_multiple()
1453 insert.add_fixit_insert_before ("CHANGED: "); in change_line()
1479 insert.add_fixit_insert_before ("INSERTED\n"); in insert_line()
1649 insert.add_fixit_insert_before ("change 1"); in test_applying_fixits_unreadable_file()
1650 insert.add_fixit_insert_before ("change 2"); in test_applying_fixits_unreadable_file()
1681 insert.add_fixit_insert_before ("change"); in test_applying_fixits_line_out_of_range()
1718 richloc.add_fixit_insert_before (c15, " change"); in test_applying_fixits_column_validation()
[all …]
H A Dgcc-rich-location.c180 add_fixit_insert_before (start_of_line, pp_formatted_text (pp)); in add_fixit_insert_formatted()
183 add_fixit_insert_before (insertion_point, content); in add_fixit_insert_formatted()
H A Ddiagnostic.c1986 richloc.add_fixit_insert_before (where, "added content"); in test_print_parseable_fixits_insert()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Ddiagnostic-show-locus.cc3284 richloc.add_fixit_insert_before ("&"); in test_one_liner_fixit_insert_before()
3482 richloc.add_fixit_insert_before (loc, "test"); in test_one_liner_fixit_validation_adhoc_locations()
3536 richloc.add_fixit_insert_before ("a"); in test_one_liner_many_fixits_1()
3557 richloc.add_fixit_insert_before (loc, "a"); in test_one_liner_many_fixits_2()
3895 richloc.add_fixit_insert_before ("&"); in test_one_liner_fixit_insert_before_utf8()
4054 richloc.add_fixit_insert_before (loc, "test"); in test_one_liner_fixit_validation_adhoc_locations_utf8()
4120 richloc.add_fixit_insert_before (i & 1 ? "@" : "\xcf\x80"); in test_one_liner_many_fixits_1_utf8()
4149 richloc.add_fixit_insert_before (loc, i & 1 ? "@" : "\xcf\x80"); in test_one_liner_many_fixits_2_utf8()
4485 richloc.add_fixit_insert_before (x, "."); in test_diagnostic_show_locus_fixit_lines()
4505 richloc.add_fixit_insert_before (y, "."); in test_diagnostic_show_locus_fixit_lines()
[all …]
H A Dedit-context.cc968 richloc.add_fixit_insert_before ("/* inserted */"); in test_applying_fixits_insert_before()
1163 richloc.add_fixit_insert_before (line_start, " break;\n"); in test_applying_fixits_insert_containing_newline()
1391 insert_a.add_fixit_insert_before (c7, "/* alpha */"); in test_applying_fixits_multiple()
1395 insert_b.add_fixit_insert_before (c17, "/* beta */"); in test_applying_fixits_multiple()
1459 insert.add_fixit_insert_before ("CHANGED: "); in change_line()
1485 insert.add_fixit_insert_before ("INSERTED\n"); in insert_line()
1655 insert.add_fixit_insert_before ("change 1"); in test_applying_fixits_unreadable_file()
1656 insert.add_fixit_insert_before ("change 2"); in test_applying_fixits_unreadable_file()
1687 insert.add_fixit_insert_before ("change"); in test_applying_fixits_line_out_of_range()
1724 richloc.add_fixit_insert_before (c15, " change"); in test_applying_fixits_column_validation()
[all …]
H A Dgcc-rich-location.cc180 add_fixit_insert_before (start_of_line, pp_formatted_text (pp)); in add_fixit_insert_formatted()
183 add_fixit_insert_before (insertion_point, content); in add_fixit_insert_formatted()
H A Ddiagnostic.cc2255 richloc.add_fixit_insert_before (where, "added content"); in test_print_parseable_fixits_insert()
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/include/
H A Dline-map.h1651 add_fixit_insert_before (const char *new_content);
1655 add_fixit_insert_before (location_t where,
/netbsd-src/external/gpl3/gcc/dist/libcpp/include/
H A Dline-map.h1710 add_fixit_insert_before (const char *new_content);
1714 add_fixit_insert_before (location_t where,
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dline-map.cc2220 rich_location::add_fixit_insert_before (const char *new_content) in add_fixit_insert_before() function in rich_location
2222 add_fixit_insert_before (get_loc (), new_content); in add_fixit_insert_before()
2229 rich_location::add_fixit_insert_before (location_t where, in add_fixit_insert_before() function in rich_location
H A DChangeLog2190 (rich_location::add_fixit_insert_before): Reimplement in terms of
2364 * line-map.c (rich_location::add_fixit_insert_before): Reject
2374 (rich_location::add_fixit_insert_before): ...this, updating their
2381 (rich_location::add_fixit_insert_before): ...this, updating their
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Dline-map.c2140 rich_location::add_fixit_insert_before (const char *new_content) in add_fixit_insert_before() function
2142 add_fixit_insert_before (get_loc (), new_content); in add_fixit_insert_before()
2149 rich_location::add_fixit_insert_before (location_t where, in add_fixit_insert_before() function
/netbsd-src/external/gpl3/gcc.old/dist/gcc/doc/
H A Dux.texi496 richloc.add_fixit_insert_before ("typename");
523 richloc.add_fixit_insert_before ("typename ");
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dux.texi521 richloc.add_fixit_insert_before ("typename");
548 richloc.add_fixit_insert_before ("typename ");
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-warn.cc576 richloc.add_fixit_insert_before (lhs_loc, "("); in warn_logical_not_parentheses()
3771 richloc.add_fixit_insert_before (op1_loc, "("); in maybe_warn_sizeof_array_div()
H A Dc-common.cc9081 richloc->add_fixit_insert_before (cpp_type2name (token_type, 0)); in maybe_suggest_missing_token_insertion()
9279 richloc->add_fixit_insert_before (include_insert_loc, text); in maybe_add_include_fixit()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-warn.c574 richloc.add_fixit_insert_before (lhs_loc, "("); in warn_logical_not_parentheses()
H A Dc-common.c8627 richloc->add_fixit_insert_before (cpp_type2name (token_type, 0)); in maybe_suggest_missing_token_insertion()
8820 richloc->add_fixit_insert_before (include_insert_loc, text); in maybe_add_include_fixit()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dparser.cc3651 richloc.add_fixit_insert_before ("typename "); in cp_parser_diagnose_invalid_type_name()
13004 richloc.add_fixit_insert_before (before_loc, "}"); in cp_parser_selection_statement()
13039 else_richloc.add_fixit_insert_before (before_loc, "}"); in cp_parser_selection_statement()
13753 richloc.add_fixit_insert_before ("&"); in warn_for_range_copy()
22316 iloc.add_fixit_insert_before (get_finish (loc), ")"); in warn_about_ambiguous_parse()
26006 richloc.add_fixit_insert_before (next_loc, ";"); in cp_parser_class_specifier_1()
26509 richloc.add_fixit_insert_before (class_head_start_location, in cp_parser_class_head()
29589 richloc.add_fixit_insert_before ("("); in cp_parser_diagnose_ungrouped_constraint_rich()
30166 richloc.add_fixit_insert_before (start, "requires "); in cp_parser_simple_requirement()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-typeck.c4477 richloc.add_fixit_insert_before (location, "!"); in build_unary_op()
8616 initializer_stack->missing_brace_richloc->add_fixit_insert_before in push_init_level()
8718 initializer_stack->missing_brace_richloc->add_fixit_insert_before in pop_init_level()
H A Dc-parser.c1907 richloc.add_fixit_insert_before ("struct "); in c_parser_declaration_or_fndef()
1915 richloc.add_fixit_insert_before ("union "); in c_parser_declaration_or_fndef()
1923 richloc.add_fixit_insert_before ("enum "); in c_parser_declaration_or_fndef()
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-typeck.cc4508 richloc.add_fixit_insert_before (location, "!"); in build_unary_op()
8796 initializer_stack->missing_brace_richloc->add_fixit_insert_before in push_init_level()
8898 initializer_stack->missing_brace_richloc->add_fixit_insert_before in pop_init_level()
H A Dc-parser.cc1944 richloc.add_fixit_insert_before ("struct "); in c_parser_declaration_or_fndef()
1952 richloc.add_fixit_insert_before ("union "); in c_parser_declaration_or_fndef()
1960 richloc.add_fixit_insert_before ("enum "); in c_parser_declaration_or_fndef()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dparser.c3491 richloc.add_fixit_insert_before ("typename "); in cp_parser_diagnose_invalid_type_name()
24017 richloc.add_fixit_insert_before (next_loc, ";"); in cp_parser_class_specifier_1()
24508 richloc.add_fixit_insert_before (class_head_start_location, in cp_parser_class_head()
27427 richloc.add_fixit_insert_before ("("); in cp_parser_diagnose_ungrouped_constraint_rich()

12