lebedev.ri 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), "" );
 
----------------
EricWF wrote:
> Should Clang really be warning when the expression is in an unevaluated 
> context?
At least that is what it currently already does:
https://godbolt.org/g/RpcgBi



Repository:
  rCXX libc++

https://reviews.llvm.org/D45128



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to