Merge pull request #1355 from emankov/master

[HIPIFY][fix] Set the correct exit value for hipify-clang if errors
Dieser Commit ist enthalten in:
Evgeny Mankov verfasst und GitHub committed 2019-08-22 01:41:23 +03:00
2 Ursprung 1e13e37785 3d07393003
Commit 9498724732
1 Datei geändert
+1
+1
Datei anzeigen
@@ -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) {