Function usage: Report which file the missing function is implemented in
This commit is contained in:
parent
bf0bf3268d
commit
4df96f299f
|
@ -146,7 +146,9 @@ void CheckFunctionUsage::check()
|
||||||
continue;
|
continue;
|
||||||
if ( ! func.usedSameFile )
|
if ( ! func.usedSameFile )
|
||||||
{
|
{
|
||||||
std::ostringstream errmsg;
|
std::ostringstream errmsg;
|
||||||
|
if ( func.filename != "+" )
|
||||||
|
errmsg << "[" << func.filename << "] ";
|
||||||
errmsg << "The function '" << it->first << "' is never used.";
|
errmsg << "The function '" << it->first << "' is never used.";
|
||||||
_errorLogger->reportErr( errmsg.str() );
|
_errorLogger->reportErr( errmsg.str() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue