Issue 242631
Summary About Safe Buffer
Labels new issue
Assignees
Reporter Seamc-Source
    In the https://clang.llvm.org/docs/SafeBuffers.html, you have defined the -Wunsafe-buffer-usage.
But in C language, it is impossible to eliminate this warning using any non command line parameter and pragma. 
Because it is not available std::span in C language.

Solution:
Support the writing of "gatekeeper" instead of only supporting std::span.

======
Please fix the document as soon as possible.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to