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

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 13 06:18:57 PST 2016

alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.

LG, but please wait until Malcolm

> Whats not nice is, that there is no underlining (in test neither), but i could not find out what is wrong,
>  since i supply a SourceRange in the diag()-call.

Please leave the range anyway. I suspect clang-tidy doesn't handle ranges in diagnostics correctly, but it's easier to fix this, if there is an example already.



More information about the cfe-commits mailing list