We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a93a4ec commit 2347a47Copy full SHA for 2347a47
clang/lib/AST/Interp/Source.cpp
@@ -33,7 +33,7 @@ SourceRange SourceInfo::getRange() const {
33
}
34
35
const Expr *SourceInfo::asExpr() const {
36
- if (auto *S = Source.dyn_cast<const Stmt *>())
+ if (const auto *S = Source.dyn_cast<const Stmt *>())
37
return dyn_cast<Expr>(S);
38
return nullptr;
39
0 commit comments