MCPcopy Create free account
hub / github.com/boostorg/parser / diagnose

Method diagnose

example/user_error_handler.cpp:46–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 // a diagnostic.
45 template<typename Context, typename Iter>
46 void diagnose(
47 bp::diagnostic_kind kind,
48 std::string_view message,
49 Context const & context,
50 Iter it) const
51 {
52 bp::write_formatted_message(
53 ofs_,
54 filename_,
55 bp::_begin(context),
56 it,
57 bp::_end(context),
58 message);
59 }
60
61 // This is just like the other overload of diagnose(), except that it
62 // determines the Iter parameter for the other overload by calling

Callers

nothing calls this directly

Calls 4

_beginFunction · 0.85
_endFunction · 0.85
_whereFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected