[flang] Fix classes with variant and other fields
authorTim Keith <tkeith@nvidia.com>
Mon, 26 Feb 2018 23:07:24 +0000 (15:07 -0800)
committerTim Keith <tkeith@nvidia.com>
Mon, 26 Feb 2018 23:07:24 +0000 (15:07 -0800)
commit66c9a69a6160090cc53560e263523d996867eb73
tree1c16ea9b9f56493eb248ca0abd8a878234ba8197
parentc2c6e28cec2033b2f9d649fad1fa3900d9698603
[flang] Fix classes with variant and other fields

Fortran::FormatItem and UseStmt have both normal fields and a variant
named 'u'. The Walk calls for the normal fields were missing.
These were the only two classes I found where this occurs.

Original-commit: flang-compiler/f18@23b8695a74631e0207f7c87be5c602896a9f0880
Reviewed-on: https://github.com/flang-compiler/f18/pull/17
flang/lib/parser/parse-tree-visitor.h