[PATCH] D19971: [scan-build] fix warnings emitted on LLVM TargetRecip code base
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu May 5 11:13:54 PDT 2016
dblaikie added a subscriber: dblaikie.
================
Comment at: lib/Target/TargetRecip.cpp:74
@@ -73,3 +73,3 @@
size_t RefPos;
- uint8_t RefSteps;
+ uint8_t RefSteps = 0;
StringRef RefStepString;
----------------
Does msan ever diagnose this as use-of-uninitialized? Or is this only used in the codepaths where it is initialized?
http://reviews.llvm.org/D19971
More information about the llvm-commits
mailing list