================
@@ -3404,6 +3404,15 @@ void CastOperation::CheckBuiltinBitCast() {
     return;
   }
 
+  if (SrcExpr.get()->isGLValue() &&
----------------
efriedma-quic wrote:

I think so?  I mean, I don't see any compelling reason to make the 
implementation more complicated for the sake of people trying to do weird 
things with __builtin_bit_cast.

https://github.com/llvm/llvm-project/pull/231830
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to