From: Ron Lieberman Date: Tue, 10 Jan 2023 00:52:16 +0000 (-0500) Subject: fix : add missing open brace [OpenMP][FIX] Avoid using an Error object after a std... X-Git-Tag: upstream/17.0.6~21619 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d179dfe8cee19c58f94878ddee7fa50666591a60;p=platform%2Fupstream%2Fllvm.git fix : add missing open brace [OpenMP][FIX] Avoid using an Error object after a std::move. --- diff --git a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp index b0b31b5..3ff7e09 100644 --- a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp +++ b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp @@ -902,7 +902,7 @@ int32_t __tgt_rtl_run_target_team_region_async( auto Err = Plugin::get().getDevice(DeviceId).runTargetTeamRegion( TgtEntryPtr, TgtArgs, TgtOffsets, NumArgs, NumTeams, ThreadLimit, LoopTripCount, AsyncInfoPtr); - if (Err) + if (Err) { REPORT("Failure to run target region " DPxMOD " in device %d: %s\n", DPxPTR(TgtEntryPtr), DeviceId, toString(std::move(Err)).data()); return OFFLOAD_FAIL;