Update ASTIdentifier.cpp

This commit is contained in:
Nikolai Kochetov 2021-06-08 18:23:42 +03:00 committed by GitHub
parent 194dd91f0c
commit 5cc005710a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ void ASTIdentifier::formatImplWithoutAlias(const FormatSettings & settings, Form
/// Some AST revriting code, like IdentifierSemantic::setColumnLongName, /// Some AST revriting code, like IdentifierSemantic::setColumnLongName,
/// does not respect children of identifier. /// does not respect children of identifier.
/// Here we also ingore children if they are empty. /// Here we also ignore children if they are empty.
if (name_parts[i].empty() && j < children.size()) if (name_parts[i].empty() && j < children.size())
children[j++]->formatImpl(settings, state, frame); children[j++]->formatImpl(settings, state, frame);
else else