MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / set_line_if_missing

Method set_line_if_missing

erpcgen/src/cpptemplate/cpptempl.cpp:701–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699}
700
701void TemplateException::set_line_if_missing(size_t line)
702{
703 if (!m_line)
704 {
705 m_line = line;
706 m_reason = std::string("Line ") + std::to_string(line) + ": " + m_reason;
707 }
708}
709
710//////////////////////////////////////////////////////////////////////////
711// parse_path

Callers 3

gettextMethod · 0.80
is_trueMethod · 0.80
cpptempl.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected