mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +00:00
clang tidy
This commit is contained in:
parent
1144f60515
commit
43aaccdaa1
@ -354,13 +354,13 @@ QueryTreeNodes extractTrueTableExpressions(const QueryTreeNodePtr & tree)
|
||||
}
|
||||
case QueryTreeNodeType::UNION:
|
||||
{
|
||||
for (auto union_node : node_to_process->as<UnionNode>()->getQueries().getNodes())
|
||||
for (const auto & union_node : node_to_process->as<UnionNode>()->getQueries().getNodes())
|
||||
nodes_to_process.push_front(union_node);
|
||||
break;
|
||||
}
|
||||
case QueryTreeNodeType::TABLE_FUNCTION:
|
||||
{
|
||||
for (auto argument_node : node_to_process->as<TableFunctionNode>()->getArgumentsNode()->getChildren())
|
||||
for (const auto & argument_node : node_to_process->as<TableFunctionNode>()->getArgumentsNode()->getChildren())
|
||||
nodes_to_process.push_front(argument_node);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user