We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c149ff3 commit 051fadeCopy full SHA for 051fade
clang/lib/AST/Interp/ByteCodeExprGen.cpp
@@ -2549,9 +2549,7 @@ bool ByteCodeExprGen<Emitter>::VisitUnaryOperator(const UnaryOperator *E) {
2549
return DiscardResult ? this->emitPop(*T, E) : true;
2550
case UO_AddrOf: // &x
2551
// We should already have a pointer when we get here.
2552
- if (!this->visit(SubExpr))
2553
- return false;
2554
- return DiscardResult ? this->emitPop(*T, E) : true;
+ return this->delegate(SubExpr);
2555
case UO_Deref: // *x
2556
return dereference(
2557
SubExpr, DerefKind::Read,
0 commit comments