[clang] 2a7d3f0 - [NFC] Add release notes for -Wunsafe-buffer-usage-in-libc-call (#126975)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 10:27:10 PST 2025


Author: Ziqing Luo
Date: 2025-02-20T10:27:07-08:00
New Revision: 2a7d3f055d4ea86354e314c5cd1f682a4ad5853f

URL: https://github.com/llvm/llvm-project/commit/2a7d3f055d4ea86354e314c5cd1f682a4ad5853f
DIFF: https://github.com/llvm/llvm-project/commit/2a7d3f055d4ea86354e314c5cd1f682a4ad5853f.diff

LOG: [NFC] Add release notes for -Wunsafe-buffer-usage-in-libc-call (#126975)

`-Wunsafe-buffer-usage-in-libc-call` is a subgroup of
`-Wunsafe-buffer-usage` that warns about unsafe libc function calls.

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index db42fc5cc0da7..e1c61992512b5 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -144,6 +144,9 @@ Improvements to Clang's diagnostics
 - Fixed a bug where Clang's Analysis did not correctly model the destructor behavior of ``union`` members (#GH119415).
 - A statement attribute applied to a ``case`` label no longer suppresses
   'bypassing variable initialization' diagnostics (#84072).
+- The ``-Wunsafe-buffer-usage`` warning has been updated to warn
+  about unsafe libc function calls.  Those new warnings are emitted
+  under the subgroup ``-Wunsafe-buffer-usage-in-libc-call``.
 
 Improvements to Clang's time-trace
 ----------------------------------


        


More information about the cfe-commits mailing list