Skip to content

Commit

Permalink
Update lib/Differentiator/StmtClone.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
vgvassilev and github-actions[bot] authored Nov 2, 2023
1 parent 1ee08b5 commit 9197070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Differentiator/StmtClone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ bool ReferencesUpdater::VisitStmt(clang::Stmt* S) {
}

void ReferencesUpdater::updateType(QualType QT) {
if (auto* varArrType = dyn_cast<VariableArrayType>(QT)) {
if (const auto* varArrType = dyn_cast<VariableArrayType>(QT)) {
TraverseStmt(varArrType->getSizeExpr());
}
}
Expand Down

0 comments on commit 9197070

Please sign in to comment.