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

Kseniya Tikhomirova via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 06:14:35 PDT 2026


================
@@ -1,64 +1,57 @@
-//===----------------------------------------------------------------------===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-
 // REQUIRES: any-device
 // RUN: %clangxx -fsycl %s -o %t.out
 // RUN: %t.out
 
+#include <cstdlib>
 #include <iostream>
 
 #include <sycl/sycl.hpp>
 
 using namespace sycl;
 
-void return_fail() {
+void returnFail() {
   std::cout << "Failed" << std::endl;
   exit(1);
 }
----------------
KseniyaTikhomirova wrote:

done

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


More information about the llvm-commits mailing list