[clang] [clang] Load non-simple lvalue operands of __builtin_bit_cast (PR #231830)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 17 17:27:32 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list