[cfe-commits] r123538 - /cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp
Martin Vejnár
avakar at ratatanek.cz
Sat Jan 15 05:40:05 PST 2011
On 1/15/2011 2:27 PM, Francois Pichet wrote:
> vals = new llvm::BitVector*[n];
> - bzero(vals, sizeof(*vals) * n);
> + memset(vals, 0, sizeof(*vals) * n);
Thanks, I was just about to submit a patch. Is there a reason to use
memset instead of parentheses after the new?
vals = new llvm::BitVector*[n]();
--
Martin
More information about the cfe-commits
mailing list