[clang] [SYCL] Basic diagnostics for the sycl_kernel_entry_point attribute. (PR #120327)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 12:55:12 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `clang` at step 6 "Add check check-clang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/14377
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: SemaSYCL/sycl-kernel-entry-point-attr-appertainment.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple x86_64-linux-gnu -std=c++17 -fsyntax-only -fsycl-is-device -verify /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/SemaSYCL/sycl-kernel-entry-point-attr-appertainment.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple x86_64-linux-gnu -std=c++17 -fsyntax-only -fsycl-is-device -verify /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/SemaSYCL/sycl-kernel-entry-point-attr-appertainment.cpp
error: 'expected-error' diagnostics expected but not seen:
File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/SemaSYCL/sycl-kernel-entry-point-attr-appertainment.cpp Line 173 (directive at /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/SemaSYCL/sycl-kernel-entry-point-attr-appertainment.cpp:172): 'sycl_kernel_entry_point' attribute only applies to functions
error: 'expected-error' diagnostics seen but not expected:
File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/SemaSYCL/sycl-kernel-entry-point-attr-appertainment.cpp Line 173: an attribute list cannot appear here
2 errors generated.
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/120327
More information about the cfe-commits
mailing list