[llvm] [libsycl] Generic code cleanup (PR #224330)

Alexey Bader via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 13:54:05 PDT 2026


================
@@ -169,7 +170,7 @@ class _LIBSYCL_EXPORT exception : public virtual std::exception {
   // or context directly.
   std::shared_ptr<std::string> MMessage;
   std::shared_ptr<context> MContext;
-  std::error_code MErrC = make_error_code(sycl::errc::invalid);
----------------
bader wrote:

Out of curiosity, what is wrong with this code?

https://github.com/llvm/llvm-project/pull/224330


More information about the llvm-commits mailing list