Skip to content

Commit 2347a47

Browse files
committed
[clang][Interp][NFC] Make a local variable const
1 parent a93a4ec commit 2347a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/Interp/Source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SourceRange SourceInfo::getRange() const {
3333
}
3434

3535
const Expr *SourceInfo::asExpr() const {
36-
if (auto *S = Source.dyn_cast<const Stmt *>())
36+
if (const auto *S = Source.dyn_cast<const Stmt *>())
3737
return dyn_cast<Expr>(S);
3838
return nullptr;
3939
}

0 commit comments

Comments
 (0)