File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ let Component = "Sema" in {
14
14
let CategoryName = "Semantic Issue" in {
15
15
def note_previous_decl : Note<"%0 declared here">;
16
16
def note_entity_declared_at : Note<"%0 declared here">;
17
- def note_nullptr_used : Note<"nullptr is a prvalue of type std::nullptr_t">;
18
17
def note_callee_decl : Note<"%0 declared here">;
19
18
def note_defined_here : Note<"%0 defined here">;
20
19
Original file line number Diff line number Diff line change @@ -2857,7 +2857,6 @@ class SYCLKernelNameTypeVisitor
2857
2857
if (T->isNullPtrType ()) {
2858
2858
S.Diag (KernelInvocationFuncLoc, diag::err_sycl_kernel_incorrectly_named)
2859
2859
<< /* kernel name cannot be a type in the std namespace */ 3 ;
2860
- S.Diag (KernelInvocationFuncLoc, diag::note_nullptr_used);
2861
2860
IsInvalid = true ;
2862
2861
}
2863
2862
return ;
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ queue q;
21
21
int main () {
22
22
#ifdef CHECK_ERROR
23
23
// expected-error@Inputs/sycl.hpp:328 5 {{kernel name cannot be a type in the "std" namespace}}
24
- // expected-note@Inputs/sycl.hpp:328 3 {{nullptr is a prvalue of type std::nullptr_t}}
25
24
q.submit ([&](handler &h) {
26
25
// expected-note@+1{{in instantiation of function template specialization}}
27
26
h.single_task <std::nullptr_t >([=] {});
You can’t perform that action at this time.
0 commit comments