[clang-format] Use range-for loop. NFC.

This commit is contained in:
Marek Kurdej 2022-03-18 15:01:07 +01:00
parent b6baab673a
commit acc7a7f9a1
1 changed files with 2 additions and 2 deletions

View File

@ -4601,8 +4601,8 @@ void TokenAnnotator::printDebugInfo(const AnnotatedLine &Line) {
<< " BK=" << Tok->getBlockKind() << " P=" << Tok->SplitPenalty
<< " Name=" << Tok->Tok.getName() << " L=" << Tok->TotalLength
<< " PPK=" << Tok->getPackingKind() << " FakeLParens=";
for (unsigned i = 0, e = Tok->FakeLParens.size(); i != e; ++i)
llvm::errs() << Tok->FakeLParens[i] << "/";
for (prec::Level LParen : Tok->FakeLParens)
llvm::errs() << LParen << "/";
llvm::errs() << " FakeRParens=" << Tok->FakeRParens;
llvm::errs() << " II=" << Tok->Tok.getIdentifierInfo();
llvm::errs() << " Text='" << Tok->TokenText << "'\n";