Remove `originalAst` parameter from visitVariableDeclaration

Authored by flherne on Aug 31 2017, 8:45 PM.

Description

Remove originalAst parameter from visitVariableDeclaration

It's only used for its range, which appears to always be the same as
that of node.

Tested by parsing a lot of files with
Q_ASSERT(range == editorFindRange(node, node));

Details

Committed
flherneSep 1 2017, 7:32 PM
Parents
R53:6f51ddef1ce9: Remove `range` parameter from eventuallyReopenDeclaration
Branches
Unknown
Tags
Unknown