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 {
73107310 def note_var_explicitly_captured_here : Note<"variable %0 is"
73117311 "%select{| explicitly}1 captured here">;
73127312 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">;
73157314
73167315 // C++14 lambda init-captures.
73177316 def warn_cxx11_compat_init_capture : Warning<
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ void Class::function() {
1616 kernel<class kernel_wrapper >(
1717 [=]() {
1818 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}}
2020 });
2121}
2222
You can’t perform that action at this time.
0 commit comments