[PATCH] D45128: [libcxx][test] Silence -Wself-assign diagnostics
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 31 14:10:26 PDT 2018
EricWF added inline comments.
================
Comment at: test/std/language.support/support.types/byteops/and.assign.pass.cpp:30
- static_assert(noexcept(b &= b), "" );
+ static_assert(noexcept(b &= (std::byte &)b), "" );
----------------
Should Clang really be warning when the expression is in an unevaluated context?
Repository:
rCXX libc++
https://reviews.llvm.org/D45128
More information about the cfe-commits
mailing list