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

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 8 05:32:23 PDT 2025


https://github.com/NagyDonat created https://github.com/llvm/llvm-project/pull/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.

>From 566faf375e20b47f7d64d30a8856145580a59cb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Don=C3=A1t=20Nagy?= <donat.nagy at ericsson.com>
Date: Mon, 8 Sep 2025 14:26:29 +0200
Subject: [PATCH] [NFC][analyzer] Fix copypaste error in security.VAList docs

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.
---
 clang/docs/analyzer/checkers.rst | 5 -----
 1 file changed, 5 deletions(-)

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