Home
last modified time | relevance | path

Searched refs:fixit_hint (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/external/gpl3/gcc/dist/libcpp/include/
Dline-map.h1483 class fixit_hint; variable
1761 fixit_hint *get_fixit_hint (int idx) const { return m_fixit_hints[idx]; } in get_fixit_hint()
1762 fixit_hint *get_last_fixit_hint () const;
1826 semi_embedded_vec <fixit_hint *, MAX_STATIC_FIXIT_HINTS> m_fixit_hints;
1919 class fixit_hint
1922 fixit_hint (location_t start,
1925 ~fixit_hint () { free (m_bytes); } in ~fixit_hint()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Ddiagnostic-show-locus.cc406 bool validate_fixit_hint_p (const fixit_hint *hint);
441 auto_vec <const fixit_hint *> m_fixit_hints;
1010 const fixit_hint * hint_a = *static_cast<const fixit_hint * const *> (p_a); in fixit_cmp()
1011 const fixit_hint * hint_b = *static_cast<const fixit_hint * const *> (p_b); in fixit_cmp()
1217 const fixit_hint *hint = richloc->get_fixit_hint (i); in layout()
1422 const fixit_hint *hint = m_fixit_hints[i]; in get_expanded_location()
1438 layout::validate_fixit_hint_p (const fixit_hint *hint) in validate_fixit_hint_p()
1453 get_line_span_for_fixit_hint (const fixit_hint *hint) in get_line_span_for_fixit_hint()
1530 const fixit_hint *hint = m_fixit_hints[i]; in calculate_line_spans()
2071 const fixit_hint *hint = m_fixit_hints[i]; in print_leading_fixits()
[all …]
Dedit-context.h59 bool apply_fixit (const fixit_hint *hint);
Ddiagnostic-format-json.cc117 json_from_fixit_hint (diagnostic_context *context, const fixit_hint *hint) in json_from_fixit_hint()
244 const fixit_hint *hint = richloc->get_fixit_hint (i); in json_end_diagnostic()
Dedit-context.cc231 const fixit_hint *hint = richloc->get_fixit_hint (i); in add_fixits()
294 edit_context::apply_fixit (const fixit_hint *hint) in apply_fixit()
Ddiagnostic.cc1025 const fixit_hint *hint = richloc->get_fixit_hint (i); in print_parseable_fixits()
DChangeLog-201614989 (layout::print_any_fixits): Remove case fixit_hint::REMOVE.
14990 Reimplement case fixit_hint::REPLACE to cover removals, and
15001 fixit_hint::REMOVE.
DChangeLog-201732801 to use new fixit_hint representation, using the "replace" logic.
/netbsd/src/external/gpl3/gcc/dist/libcpp/
Dline-map.cc2346 fixit_hint *
2479 fixit_hint *prev = get_last_fixit_hint (); in maybe_add_fixit()
2484 m_fixit_hints.push (new fixit_hint (start, next_loc, new_content)); in maybe_add_fixit()
2489 fixit_hint::fixit_hint (location_t start, in fixit_hint() function in fixit_hint
2502 fixit_hint::affects_line_p (const char *file, int line) const in affects_line_p()
2528 fixit_hint::maybe_append (location_t start, in maybe_append()
2550 fixit_hint::ends_with_newline_p () const in ends_with_newline_p()
DChangeLog2136 (fixit_hint::affects_line_p): Likewise.
2171 (class fixit_hint): Likewise.
2172 (fixit_hint::ends_with_newline_p): New decl.
2176 (fixit_hint::ends_with_newline_p): New method.
2183 (class fixit_hint): Reimplement in terms of...
2189 (fixit_hint::affects_line_p): New function.
2204 (fixit_hint::fixit_hint): ...this, rewriting as necessary.
2208 (fixit_hint::maybe_append): ...this, rewriting as necessary.
2396 (fixit_hint::affects_line_p): Make const.
2471 (fixit_hint::maybe_append_replace): New pure virtual function.
[all …]