Skip to content

Commit 83bb731

Browse files
authored
[clang][NFC] Add missing space in -Wunsafe-buffer-usage documentation (#107905)
That missing space was causing the whole sentence to be rendered incorrectly in the resulting HTML.
1 parent aaa0f4d commit 83bb731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6849,7 +6849,7 @@ def UnsafeBufferUsageDocs : Documentation {
68496849
The attribute ``[[clang::unsafe_buffer_usage]]`` should be placed on functions
68506850
that need to be avoided as they are prone to buffer overflows or unsafe buffer
68516851
struct fields. It is designed to work together with the off-by-default compiler
6852-
warning ``-Wunsafe-buffer-usage``to help codebases transition away from raw pointer
6852+
warning ``-Wunsafe-buffer-usage`` to help codebases transition away from raw pointer
68536853
based buffer management, in favor of safer abstractions such as C++20 ``std::span``.
68546854
The attribute causes ``-Wunsafe-buffer-usage`` to warn on every use of the function or
68556855
the field it is attached to, and it may also lead to emission of automatic fix-it

0 commit comments

Comments
 (0)