Tentatively apply https://reviews.llvm.org/D23960, to squelch errors

about narrowing in <bitset>.
This commit is contained in:
Dimitry Andric 2016-08-27 15:59:32 +00:00
parent 68629f0dce
commit 075f1e6a2b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/clang390-import/; revision=304913

View File

@ -262,7 +262,7 @@ __bitset<_N_words, _Size>::__bitset(unsigned long long __v) _NOEXCEPT
#if __SIZEOF_SIZE_T__ == 8
: __first_{__v}
#elif __SIZEOF_SIZE_T__ == 4
: __first_{__v, __v >> __bits_per_word}
: __first_{static_cast<__storage_type>(__v), static_cast<__storage_type>(__v >> __bits_per_word)}
#else
#error This constructor has not been ported to this platform
#endif