Skip to content

Commit 44e36d3

Browse files
Remove note
1 parent 5379751 commit 44e36d3

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ let Component = "Sema" in {
1414
let CategoryName = "Semantic Issue" in {
1515
def note_previous_decl : Note<"%0 declared here">;
1616
def note_entity_declared_at : Note<"%0 declared here">;
17-
def note_nullptr_used : Note<"nullptr is a prvalue of type std::nullptr_t">;
1817
def note_callee_decl : Note<"%0 declared here">;
1918
def note_defined_here : Note<"%0 defined here">;
2019

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2857,7 +2857,6 @@ class SYCLKernelNameTypeVisitor
28572857
if (T->isNullPtrType()) {
28582858
S.Diag(KernelInvocationFuncLoc, diag::err_sycl_kernel_incorrectly_named)
28592859
<< /* kernel name cannot be a type in the std namespace */ 3;
2860-
S.Diag(KernelInvocationFuncLoc, diag::note_nullptr_used);
28612860
IsInvalid = true;
28622861
}
28632862
return;

clang/test/CodeGenSYCL/stdtypes_kernel_type.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ queue q;
2121
int main() {
2222
#ifdef CHECK_ERROR
2323
// 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}}
2524
q.submit([&](handler &h) {
2625
// expected-note@+1{{in instantiation of function template specialization}}
2726
h.single_task<std::nullptr_t>([=] {});

0 commit comments

Comments
 (0)