Function usage: Report which file the missing function is implemented in
This commit is contained in:
parent
bf0bf3268d
commit
4df96f299f
|
@ -147,6 +147,8 @@ void CheckFunctionUsage::check()
|
||||||
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