[PATCH] D23375: Add kfree( ) to MallocChecker.cpp

Devin Coughlin via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 16 11:41:04 PDT 2016


dcoughlin added a comment.

I would recommend putting the tests in existing test files next to tests that for similar diagnostics for other allocation/free schemes. So the test for printExpectedAllocName() should go in test/Analysis/free.c and the test for printExpectedDeallocName() should probably go in test/Analysis/MismatchedDeallocator-checker-test.mm.


https://reviews.llvm.org/D23375





More information about the cfe-commits mailing list