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.
auto
1 parent f761dea commit 57d7438Copy full SHA for 57d7438
flang/lib/Lower/ComponentPath.cpp
@@ -35,7 +35,7 @@ void Fortran::lower::ComponentPath::clear() {
35
}
36
37
bool Fortran::lower::isRankedArrayAccess(const Fortran::evaluate::ArrayRef &x) {
38
- for (auto &sub : x.subscript()) {
+ for (const Fortran::evaluate::Subscript &sub : x.subscript()) {
39
if (std::visit(
40
Fortran::common::visitors{
41
[&](const Fortran::evaluate::Triplet &) { return true; },
0 commit comments