Merge pull request #1355 from emankov/master

[HIPIFY][fix] Set the correct exit value for hipify-clang if errors

[ROCm/hip commit: eb5dd29872]
Этот коммит содержится в:
Evgeny Mankov
2019-08-22 01:41:23 +03:00
коммит произвёл GitHub
родитель 7dae0e25d1 ad66d7626c
Коммит 12c2355b07
+1
Просмотреть файл
@@ -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) {