aboutsummaryrefslogtreecommitdiff
path: root/clang/lib
diff options
context:
space:
mode:
authorAndres-Salamanca <andrealebarbaritos@gmail.com>2025-07-23 10:03:41 -0500
committerGitHub <noreply@github.com>2025-07-23 10:03:41 -0500
commit97eec759e69e7534e020b4e2ad1858842eec50ee (patch)
tree5323f6c9d53ff9742fea45da95f2b78b38541eff /clang/lib
parent06233892e84f96a3b4e05338cd4f6c12b8f5a185 (diff)
downloadllvm-97eec759e69e7534e020b4e2ad1858842eec50ee.zip
llvm-97eec759e69e7534e020b4e2ad1858842eec50ee.tar.gz
llvm-97eec759e69e7534e020b4e2ad1858842eec50ee.tar.bz2
[CIR] Add support for binary operations on bitfield members (#149676)
This PR introduces support for binary operations on bitfield members.
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
index eba6bff..cf82d1d 100644
--- a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
@@ -1125,7 +1125,7 @@ LValue ScalarExprEmitter::emitCompoundAssignLValue(
// 'An assignment expression has the value of the left operand after the
// assignment...'.
if (lhsLV.isBitField())
- cgf.cgm.errorNYI(e->getSourceRange(), "store through bitfield lvalue");
+ cgf.emitStoreThroughBitfieldLValue(RValue::get(result), lhsLV);
else
cgf.emitStoreThroughLValue(RValue::get(result), lhsLV);