JDevlieghere added a comment.

In https://reviews.llvm.org/D26167#621928, @malcolm.parsons wrote:

> I tried this check on my company's codebase.
>  It misses cases where malloc is used through a function pointer.
>  Should clang-tidy warn about making a function pointer to these functions?


Sounds like a good idea to me. I can't really imagine a scenario where you'd 
want to enable this check and not be warned about it.


Repository:
  rL LLVM

https://reviews.llvm.org/D26167



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

Reply via email to