We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afb9093 commit fca602aCopy full SHA for fca602a
clang/docs/ReleaseNotes.rst
@@ -220,6 +220,7 @@ C Language Changes
220
221
char buf1[3] = "foo"; // -Wunterminated-string-initialization
222
char buf2[3] = "flarp"; // -Wexcess-initializers
223
+ char buf3[3] = "fo\0"; // This is fine, no warning.
224
225
This diagnostic can be suppressed by adding the new ``nonstring`` attribute
226
to the field or variable being initialized. #GH137705
0 commit comments