Fix uninitialized values and bad enum conversions found by UBSAN.
authorEric Fiselier <eric@efcs.ca>
Tue, 19 May 2015 23:03:57 +0000 (23:03 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 19 May 2015 23:03:57 +0000 (23:03 +0000)
commit3de417f40836c6302449ca0eaafbf05a5c863e33
tree7c69e2400a8606d6a53b788dc53c66a63d45062e
parent35cb2b28ca4902f56505eb6f67886482662707fe
Fix uninitialized values and bad enum conversions found by UBSAN.

llvm-svn: 237738
libcxx/test/libcxx/type_traits/convert_to_integral.pass.cpp
libcxx/test/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp
libcxx/test/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp
libcxx/test/std/atomics/atomics.flag/clear.pass.cpp