This commit is contained in:
Hackerpilot 2016-05-06 14:24:10 -07:00
parent 2532ea7a36
commit 3d6fdfe2a3
1 changed files with 3 additions and 0 deletions

View File

@ -169,8 +169,11 @@ bool analyze(string[] fileNames, const StaticAnalysisConfig config,
if (results is null)
continue;
foreach (result; results[])
{
hasErrors = true;
writefln("%s(%d:%d)[warn]: %s", result.fileName, result.line,
result.column, result.message);
}
}
return hasErrors;
}