================
@@ -106,6 +106,9 @@ Improvements to Clang's diagnostics
 - Clang now applies syntax highlighting to the code snippets it
   prints.
 
+- Clang now provides improved warnings for the cleanup attribute to detect 
misuse scenarios,
+  such as attempting to call `free` on unallocated objects.
----------------
AaronBallman wrote:

```suggestion
- Clang now provides improved warnings for the ``cleanup`` attribute to detect 
misuse scenarios,
  such as attempting to call ``free`` on an unallocated object. Fixes
  `#79443 <https://github.com/llvm/llvm-project/issues/79443>`_.
```

https://github.com/llvm/llvm-project/pull/80040
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to