[PATCH] D27555: [libcxx] [test] Fix MSVC warning C6001 "Using uninitialized memory".

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 11 13:38:44 PST 2016


EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.

I'm happy to work around this one issue but in general I dislike initializing memory to avoid compile-time warnings. Doing so prevents the sanitizers from catching actual uninitialized memory bugs. For this reason I think the warning is an actual compiler bug because it hinders sanitizer usage and possibly hides bugs.


https://reviews.llvm.org/D27555





More information about the cfe-commits mailing list