[llvm-branch-commits] [clang] [analyzer][docs] Admit that the cleanup attribute is not supported (PR #81834)

Balazs Benics via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 15 00:38:29 PST 2024


https://github.com/steakhal created https://github.com/llvm/llvm-project/pull/81834

In fact, the cleanup attribute is only added to the CFG, but still unhandled by CSA.
I propose dropping this false "support" statement from the docs.

>From 9676ef916e3617e879bb3f498472754031b3310b Mon Sep 17 00:00:00 2001
From: Balazs Benics <benicsbalazs at gmail.com>
Date: Thu, 15 Feb 2024 09:33:07 +0100
Subject: [PATCH] [analyzer][docs] Admit that the cleanup attribute is not
 supported

In fact, the cleanup attribute is only added to the CFG, but still
unhandled by CSA.
I propose dropping this false "support" statement from the docs.
---
 clang/docs/ReleaseNotes.rst | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 95d44951ae7ee6..b4cbe18aa150a9 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -1343,9 +1343,6 @@ New features
   of static analysis tools, such as the Clang Static Analyzer.
   `Documentation <https://clang.llvm.org/docs/AttributeReference.html#suppress>`__.
 
-- Added support for the ``cleanup`` attribute.
-  `Documentation <https://clang.llvm.org/docs/AttributeReference.html#cleanup>`__.
-
 - Support "Deducing this" (P0847R7). (Worked out of the box)
   (`af4751738db8 <https://github.com/llvm/llvm-project/commit/af4751738db89a142a8880c782d12d4201b222a8>`__)
 



More information about the llvm-branch-commits mailing list