Enable readability-qualified-auto (#2314)

As suggested on #2310
This commit is contained in:
Jon Ross-Perkins
2022-10-18 19:21:49 -07:00
committed by GitHub
parent 03bcd91a9a
commit 8e5dcc2588
25 changed files with 188 additions and 176 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ void Statement::PrintDepth(int depth, llvm::raw_ostream& out) const {
out << "match (" << match.expression() << ") {";
if (depth < 0 || depth > 1) {
out << "\n";
for (auto& clause : match.clauses()) {
for (const auto& clause : match.clauses()) {
out << "case " << clause.pattern() << " =>\n";
clause.statement().PrintDepth(depth - 1, out);
out << "\n";