Skip to content

Commit 3e8f217

Browse files
committed
[clang][Interp][NFC] Handle AddressSpaceConversion casts
Ignore them. No test yet, but this will be useful in a future commit.
1 parent 9476671 commit 3e8f217

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/AST/Interp/ByteCodeExprGen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ bool ByteCodeExprGen<Emitter>::VisitCastExpr(const CastExpr *CE) {
311311
case CK_NonAtomicToAtomic:
312312
case CK_NoOp:
313313
case CK_UserDefinedConversion:
314+
case CK_AddressSpaceConversion:
314315
return this->delegate(SubExpr);
315316

316317
case CK_BitCast: {

0 commit comments

Comments
 (0)