balazske marked an inline comment as done.
balazske added a comment.

I added a simple detection of create a copy of `p` before `p = realloc(p, 
...)`. This can remove the warning at very obvious cases when a copy of `p` is 
created (but even if the copy is made inside an `if` branch for example).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133119/new/

https://reviews.llvm.org/D133119

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to