[PATCH] D26167: [Clang-tidy] check for malloc, realloc and free calls
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 14 02:28:01 PST 2016
JonasToth added a comment.
alright, i will try to get the functionpointers as well.
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?
is there a way to make a list of allocation, reallocation, deallocation functions that the check shall look for (+aliases to these)?
More information about the cfe-commits