================
@@ -31,16 +29,8 @@
namespace language_runtime = llvm::offload::kernel;
-static Error_t convertResult(ol_result_t Result) {
- if (Result == OL_SUCCESS)
- return Success;
- switch (Result->Code) {
- case OL_ERRC_INVALID_VALUE:
- return ErrorInvalidValue;
- default:
- return ErrorInvalidValue;
- }
-}
+#include "DefineLanguageNames.inc"
+#include "LanguageUtils.cpp"
----------------
kevinsala wrote:
Why is this needed?
https://github.com/llvm/llvm-project/pull/212887
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits