File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -7310,8 +7310,7 @@ let CategoryName = "Lambda Issue" in {
7310
7310
def note_var_explicitly_captured_here : Note<"variable %0 is"
7311
7311
"%select{| explicitly}1 captured here">;
7312
7312
def err_implicit_this_capture : Error<
7313
- "implicit capture of 'this' is not allowed for kernel functions in "
7314
- "SYCL 1.2.1">;
7313
+ "implicit capture of 'this' is not allowed for kernel functions">;
7315
7314
7316
7315
// C++14 lambda init-captures.
7317
7316
def warn_cxx11_compat_init_capture : Warning<
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ void Class::function() {
16
16
kernel<class kernel_wrapper >(
17
17
[=]() {
18
18
int acc[1 ] = {5 };
19
- acc[0 ] *= member; // expected-error{{implicit capture of 'this' is not allowed for kernel functions in SYCL 1.2.1 }}
19
+ acc[0 ] *= member; // expected-error{{implicit capture of 'this' is not allowed for kernel functions}}
20
20
});
21
21
}
22
22
You can’t perform that action at this time.
0 commit comments