Skip to content

Commit 109deec

Browse files
committed
Align with cd2f65b - correct some confused diagnostic terminology
1 parent 0fc0a20 commit 109deec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

clang/test/SemaSYCL/reqd-sub-group-size-device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ queue q;
1414
[[intel::reqd_sub_group_size(12)]] void bar() {} // OK
1515

1616
[[intel::reqd_sub_group_size(12)]] void quux(); // expected-note {{previous attribute is here}}
17-
[[intel::reqd_sub_group_size(100)]] void quux(); // expected-warning {{attribute 'reqd_sub_group_size' is already applied with different parameters}}
17+
[[intel::reqd_sub_group_size(100)]] void quux(); // expected-warning {{attribute 'reqd_sub_group_size' is already applied with different arguments}}
1818

1919
class Functor16 {
2020
public:

clang/test/SemaSYCL/sycl-device-num_simd_work_items-template.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ template <int N>
6464
[[intel::num_simd_work_items(4)]] void func4(); // expected-note {{previous attribute is here}}
6565

6666
template <int N>
67-
[[intel::num_simd_work_items(N)]] void func4() {} // expected-warning {{attribute 'num_simd_work_items' is already applied with different parameters}}
67+
[[intel::num_simd_work_items(N)]] void func4() {} // expected-warning {{attribute 'num_simd_work_items' is already applied with different arguments}}
6868

6969
int check() {
7070
// no error expected

clang/test/SemaSYCL/sycl-device-reqd-sub-group-size-template.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ template <int N>
6464
[[intel::reqd_sub_group_size(4)]] void func4(); // expected-note {{previous attribute is here}}
6565

6666
template <int N>
67-
[[intel::reqd_sub_group_size(N)]] void func4() {} // expected-warning {{attribute 'reqd_sub_group_size' is already applied with different parameters}}
67+
[[intel::reqd_sub_group_size(N)]] void func4() {} // expected-warning {{attribute 'reqd_sub_group_size' is already applied with different arguments}}
6868

6969
int check() {
7070
// no error expected

0 commit comments

Comments
 (0)