[PATCH] D26167: [Clang-tidy] check for malloc, realloc and free calls

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 14 14:28:35 PST 2016


malcolm.parsons added a comment.

In https://reviews.llvm.org/D26167#621942, @JonasToth wrote:

> what do you think about configuration of the allocating functions? e.g. for aligned memory you must use OS-specific allocation functions.
>  should the check catch custom allocation functions as well?


Sounds like a good idea to me.


Repository:
  rL LLVM

https://reviews.llvm.org/D26167





More information about the cfe-commits mailing list