Update ASTIdentifier.cpp

This commit is contained in:
alexey-milovidov 2021-06-08 20:39:42 +03:00 committed by GitHub
parent 5cc005710a
commit 736b56ce33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ void ASTIdentifier::formatImplWithoutAlias(const FormatSettings & settings, Form
if (i != 0) if (i != 0)
settings.ostr << '.'; settings.ostr << '.';
/// Some AST revriting code, like IdentifierSemantic::setColumnLongName, /// Some AST rewriting code, like IdentifierSemantic::setColumnLongName,
/// does not respect children of identifier. /// does not respect children of identifier.
/// Here we also ignore 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())