Skip to content

Commit 44527f3

Browse files
committed
[BoundsSafety] Fix accidentally changed diagnostic
1 parent 4343ff6 commit 44527f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13769,8 +13769,8 @@ def warn_unsafe_count_attributed_pointer_argument : Warning<
1376913769
InGroup<UnsafeBufferUsage>, DefaultIgnore;
1377013770
def note_unsafe_count_attributed_pointer_argument : Note<
1377113771
"consider using %select{|a safe container and passing '.data()' to the "
13772-
"parameter%select{| %3}2 and '.size()' to its dependent parameter %4 or }0"
13773-
"'std::span' and passing '.first(...).data()' to the parameter%select{| %3}2">;
13772+
"parameter%select{| '%3'}2 and '.size()' to its dependent parameter '%4' or }0"
13773+
"'std::span' and passing '.first(...).data()' to the parameter%select{| '%3'}2">;
1377413774
def warn_unsafe_single_pointer_argument : Warning<
1377513775
"unsafe assignment to function parameter of __single pointer type">,
1377613776
InGroup<UnsafeBufferUsage>, DefaultIgnore;

0 commit comments

Comments
 (0)