File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,9 @@ Removed Compiler Flags
107
107
Attribute Changes in Clang
108
108
--------------------------
109
109
110
+ - Clang now disallows more than one ``__attribute__((ownership_returns(class, idx))) `` with
111
+ different class names attached to one function.
112
+
110
113
Improvements to Clang's diagnostics
111
114
-----------------------------------
112
115
@@ -206,6 +209,11 @@ Static Analyzer
206
209
New features
207
210
^^^^^^^^^^^^
208
211
212
+ - MallocChecker now checks for ``ownership_returns(class, idx) `` and ``ownership_takes(class, idx) ``
213
+ attributes with class names different from "malloc". Clang static analyzer now reports an error
214
+ if class of allocation and deallocation function mismatches.
215
+ `Documentation <https://clang.llvm.org/docs/analyzer/checkers.html#unix-mismatcheddeallocator-c-c >`__.
216
+
209
217
Crash and bug fixes
210
218
^^^^^^^^^^^^^^^^^^^
211
219
You can’t perform that action at this time.
0 commit comments