[cfe-commits] r123538 - /cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp
Francois Pichet
pichet2000 at gmail.com
Sat Jan 15 05:27:47 PST 2011
Author: fpichet
Date: Sat Jan 15 07:27:47 2011
New Revision: 123538
URL: http://llvm.org/viewvc/llvm-project?rev=123538&view=rev
Log:
Unbreak the MSVC build again: replace bzero by memset.
Modified:
cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp
Modified: cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp?rev=123538&r1=123537&r2=123538&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp (original)
+++ cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp Sat Jan 15 07:27:47 2011
@@ -94,7 +94,7 @@
if (!n)
return;
vals = new llvm::BitVector*[n];
- bzero(vals, sizeof(*vals) * n);
+ memset(vals, 0, sizeof(*vals) * n);
}
CFGBlockValues::~CFGBlockValues() {
More information about the cfe-commits
mailing list