[PATCH] D11832: [Patch] [Analyzer] false positive: Potential leak connected with memcpy (PR 22954)
pierre gousseau via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 12 08:12:37 PDT 2015
pgousseau updated this revision to Diff 31940.
pgousseau added a comment.
Removed 'return' statements and added tests for empty arrays following Anna review.
Refactored parameter passing of 'TK_DoNotInvalidateSuperRegion' following Anton review, by adding a new member function 'hasTrait' to 'ClusterAnalysis'.
Please let me know if this is acceptable and if yes eventually commit it for me ?
Regards,
Pierre
http://reviews.llvm.org/D11832
Files:
include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
lib/StaticAnalyzer/Checkers/CStringChecker.cpp
lib/StaticAnalyzer/Core/RegionStore.cpp
test/Analysis/pr22954.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11832.31940.patch
Type: text/x-patch
Size: 15106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150812/e12b18ba/attachment-0001.bin>
More information about the cfe-commits
mailing list