Skip to content

Commit

Permalink
cg: Make atomic expr res keep lvalueness.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezurko committed Nov 12, 2024
1 parent 3a3861f commit 232d269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vast/CodeGen/DefaultStmtVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ namespace vast::cg
return bld.compose< hl::AtomicExpr >()
.bind(self.location(expr))
.bind(expr->getOpAsString())
.bind(self.visit(expr->getType()))
.bind(visit_maybe_lvalue_result_type(expr))
.bind(subexprs)
.freeze();

Expand Down

0 comments on commit 232d269

Please sign in to comment.