Function usage: Report which file the missing function is implemented in

This commit is contained in:
Daniel Marjamäki 2008-11-25 18:11:02 +00:00
parent bf0bf3268d
commit 4df96f299f
1 changed files with 3 additions and 1 deletions

View File

@ -147,6 +147,8 @@ void CheckFunctionUsage::check()
if ( ! func.usedSameFile )
{
std::ostringstream errmsg;
if ( func.filename != "+" )
errmsg << "[" << func.filename << "] ";
errmsg << "The function '" << it->first << "' is never used.";
_errorLogger->reportErr( errmsg.str() );
}