[PATCH] D11832: [Patch] [Analyzer] false positive: Potential leak connected with memcpy (PR 22954)
Anna Zaks via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 16:42:00 PDT 2015
zaks.anna added inline comments.
================
Comment at: lib/StaticAnalyzer/Core/RegionStore.cpp:1098
@@ +1097,3 @@
+ if (!NumElements)
+ return;
+ QualType ElementTy = AT->getElementType();
----------------
What happens on early returns? Here and the one below. Are there tests for these cases?
http://reviews.llvm.org/D11832
More information about the cfe-commits
mailing list