[llvm] [libsycl] Generic code cleanup (PR #224330)
Kseniya Tikhomirova via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 05:53:46 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:
I will probably remove it at all. This Failed/Passed lines are redundant. Test passed or failed is obvious from return code.
https://github.com/llvm/llvm-project/pull/224330
More information about the llvm-commits
mailing list