void CEntry::check() { if (decl_entry == NULL) { XStr str; paramlist->printTypes(str); std::string msg = "no matching declaration for entry method \'" + std::string(entry->get_string_const()) + "(" + std::string(str.get_string_const()) + ")\'"; XLAT_ERROR_NOCOL(msg, first_line_); std::list<Entry*> clist = getCandidates(); if (!clist.empty()) for (std::list<Entry*>::iterator it = clist.begin(); it != clist.end(); ++it) XLAT_NOTE("candidate method not viable: type signatures must match exactly", (*it)->first_line_); } }
XStr::XStr(const XStr &_s) { initTo(_s.get_string_const()); }