File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -6849,7 +6849,7 @@ def UnsafeBufferUsageDocs : Documentation {
68496849The attribute ``[[clang::unsafe_buffer_usage]]`` should be placed on functions
68506850that need to be avoided as they are prone to buffer overflows or unsafe buffer
68516851struct 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
68536853based buffer management, in favor of safer abstractions such as C++20 ``std::span``.
68546854The attribute causes ``-Wunsafe-buffer-usage`` to warn on every use of the function or
68556855the field it is attached to, and it may also lead to emission of automatic fix-it
You can’t perform that action at this time.
0 commit comments