Merge pull request #1355 from emankov/master
[HIPIFY][fix] Set the correct exit value for hipify-clang if errors
[ROCm/hip commit: eb5dd29872]
Этот коммит содержится в:
@@ -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) {
|
||||
|
||||
Ссылка в новой задаче
Block a user