We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0d9bda commit c432481Copy full SHA for c432481
clang/test/SemaSYCL/sycl-device.cpp
@@ -35,14 +35,6 @@ __attribute__((sycl_device)) int *func0() { return nullptr; }
35
36
__attribute__((sycl_device)) void func2(int *) {}
37
38
-__attribute__((sycl_device)) int *func3() { return nullptr; }
39
-
40
-__attribute__((sycl_device)) void func4(int *) {}
41
42
-__attribute__((sycl_device)) int *func5() { return nullptr; }
43
44
-__attribute__((sycl_device)) void func6(int *) {}
45
46
#else // NO_SYCL
47
__attribute__((sycl_device)) // expected-warning {{'sycl_device' attribute ignored}}
48
void baz() {}
0 commit comments