Skip to content

Commit

Permalink
[clang][Interp][NFC] const qualify a local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Nov 27, 2023
1 parent 56cf3ff commit 489df61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/AST/Interp/ByteCodeExprGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ template <class Emitter> class OptionScope final {

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

case CK_LValueToRValue: {
Expand Down

0 comments on commit 489df61

Please sign in to comment.