================
@@ -3194,7 +3480,6 @@ void MallocChecker::checkEscapeOnReturn(const ReturnStmt
*S,
if (!Sym)
// If we are returning a field of the allocated struct or an array element,
// the callee could still free the memory.
- // TODO: This logic should be a part of generic symbol escape callback.
----------------
NagyDonat wrote:
Is this just a random obsolete TODO, or is it fixed by the this PR? (No action
excepted, just curious.)
https://github.com/llvm/llvm-project/pull/152751
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits