Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp | ||
---|---|---|
208 | Could you remove the return? |
openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp | ||
---|---|---|
208 | We need to explicitly discard this error now, otherwise it will abort the program when its destructor is called. |
openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp | ||
---|---|---|
208 | But the error now is directly returned by each caller (e.g., GenericDeviceTy::dataSubmit()). Isn't that enough? |
openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp | ||
---|---|---|
208 | Oh, I see this is a reference to an Error presumably someone else handles its destruction? Guess that's allowed. Didn't read it fully, sorry. |
Could you remove the return?