Skip to content

Commit fca602a

Browse files
committed
add release notes
1 parent afb9093 commit fca602a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ C Language Changes
220220
221221
char buf1[3] = "foo"; // -Wunterminated-string-initialization
222222
char buf2[3] = "flarp"; // -Wexcess-initializers
223+
char buf3[3] = "fo\0"; // This is fine, no warning.
223224
224225
This diagnostic can be suppressed by adding the new ``nonstring`` attribute
225226
to the field or variable being initialized. #GH137705

0 commit comments

Comments
 (0)