[clang] 5f7b9f6 - [NFC][analyzer] Fix copypaste error in security.VAList docs (#157440)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 8 05:47:03 PDT 2025


Author: DonĂ¡t Nagy
Date: 2025-09-08T14:46:59+02:00
New Revision: 5f7b9f6f4a44f9c25e79c7166a6cabe8b376dd05

URL: https://github.com/llvm/llvm-project/commit/5f7b9f6f4a44f9c25e79c7166a6cabe8b376dd05
DIFF: https://github.com/llvm/llvm-project/commit/5f7b9f6f4a44f9c25e79c7166a6cabe8b376dd05.diff

LOG: [NFC][analyzer] Fix copypaste error in security.VAList docs (#157440)

My recent commit a80c393a9c498279a1ec9fd630535b9ff139b49f accidentally
added a paragraph which does not belong to the new documentation of the
checker `security.VAList`; this commit corrects this mistake.

Added: 
    

Modified: 
    clang/docs/analyzer/checkers.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/analyzer/checkers.rst b/clang/docs/analyzer/checkers.rst
index 76bd80b82a4d6..15d7557ae6af9 100644
--- a/clang/docs/analyzer/checkers.rst
+++ b/clang/docs/analyzer/checkers.rst
@@ -1866,11 +1866,6 @@ security.VAList (C, C++)
 Reports use of uninitialized (or already released) ``va_list`` objects and
 situations where a ``va_start`` call is not followed by ``va_end``.
 
-Report out of bounds access to memory that is before the start or after the end
-of the accessed region (array, heap-allocated region, string literal etc.).
-This usually means incorrect indexing, but the checker also detects access via
-the operators ``*`` and ``->``.
-
 .. code-block:: c
 
  int test_use_after_release(int x, ...) {


        


More information about the cfe-commits mailing list