Merge pull request #1355 from emankov/master

[HIPIFY][fix] Set the correct exit value for hipify-clang if errors
Bu işleme şunda yer alıyor:
Evgeny Mankov
2019-08-22 01:41:23 +03:00
işlemeyi yapan: GitHub
işleme eb5dd29872
+1
Dosyayı Görüntüle
@@ -426,6 +426,7 @@ int main(int argc, const char **argv) {
if (Tool.runAndSave(&actionFactory)) {
currentStat.hasErrors = true;
LLVM_DEBUG(llvm::dbgs() << "Skipped some replacements.\n");
Result = 1;
}
// Copy the tmpfile to the output
if (!NoOutput && !currentStat.hasErrors) {