[HIPIFY][fix] Fixer for #801

[issue #801] Errors in hipification statistics


[ROCm/hip commit: 9d223f0f65]
Bu işleme şunda yer alıyor:
Evgeny Mankov
2018-12-12 21:33:00 +03:00
ebeveyn 2381e2a6ca
işleme 13faaec7b5
3 değiştirilmiş dosya ile 28 ekleme ve 11 silme
+2
Dosyayı Görüntüle
@@ -117,6 +117,8 @@ int main(int argc, const char **argv) {
Tool.appendArgumentsAdjuster(ct::getClangSyntaxOnlyAdjuster());
// Hipify _all_ the things!
if (Tool.runAndSave(&actionFactory)) {
Statistics& currentStat = Statistics::current();
currentStat.hasErrors = true;
LLVM_DEBUG(llvm::dbgs() << "Skipped some replacements.\n");
}
// Either move the tmpfile to the output, or remove it.