Skip to content

Commit 489df61

Browse files
committed
[clang][Interp][NFC] const qualify a local variable
1 parent 56cf3ff commit 489df61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/Interp/ByteCodeExprGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ template <class Emitter> class OptionScope final {
7575

7676
template <class Emitter>
7777
bool ByteCodeExprGen<Emitter>::VisitCastExpr(const CastExpr *CE) {
78-
auto *SubExpr = CE->getSubExpr();
78+
const Expr *SubExpr = CE->getSubExpr();
7979
switch (CE->getCastKind()) {
8080

8181
case CK_LValueToRValue: {

0 commit comments

Comments
 (0)