[flang] Rename "visit" to "Walk" to avoid conflict with std::visit.
authorTim Keith <tkeith@nvidia.com>
Sat, 24 Feb 2018 00:03:16 +0000 (16:03 -0800)
committerGitHub <noreply@github.com>
Mon, 26 Feb 2018 22:52:27 +0000 (14:52 -0800)
commit2ca306abe141f13a738a0c56587aed2ad0a3894f
treee0c3cd8176e28cd427b5edd9a11a719aeb1759e3
parenta9c3093b2e7ace047513a57a396e923450c58df0
[flang] Rename "visit" to "Walk" to avoid conflict with std::visit.

The thing called on each parse tree node during the walk is still
referred to as a visitor.

Change "pre" to "Pre" and "post" to "Post" to follow the naming
conventions.

Original-commit: flang-compiler/f18@a6ea1296b150db45495b2bbd06b45432fa009c53
Reviewed-on: https://github.com/flang-compiler/f18/pull/15
Tree-same-pre-rewrite: false
flang/lib/parser/parse-tree-visitor.h
flang/tools/f18/test-visitor.cc