[flang] Remove TODO for saved-entity
authorTim Keith <tkeith@nvidia.com>
Wed, 20 Feb 2019 19:39:11 +0000 (11:39 -0800)
committerTim Keith <tkeith@nvidia.com>
Thu, 21 Feb 2019 16:48:30 +0000 (08:48 -0800)
commitefd7bdb030364222947c2bf5dddea6482987f001
tree4ca0e8125ad5e79957cf3a75a6b101738281ff5c
parenta6874f8ee81d0620faf4857c7edf0a6c86163ead
[flang] Remove TODO for saved-entity

The parser can't distinguish `saved-entity -> object-name` from
`saved-entity -> proc-pointer-name`. So just use `kind` == `Entity`
for those cases. Name resolution will verify it is the right kind
of entity name.

Original-commit: flang-compiler/f18@69d7c0e025fe8182ee1e62661b87c3be61b186cf
Reviewed-on: https://github.com/flang-compiler/f18/pull/298
Tree-same-pre-rewrite: false
flang/lib/parser/grammar.h
flang/lib/parser/parse-tree.h