[flang] Simplify handling of ProcDecl
authorTim Keith <tkeith@nvidia.com>
Mon, 24 Sep 2018 18:43:48 +0000 (11:43 -0700)
committerTim Keith <tkeith@nvidia.com>
Mon, 24 Sep 2018 18:43:48 +0000 (11:43 -0700)
commit9f29b0152aec887bbab0488ac91a9bbdc9f6959e
tree48ec049fc29abb23ce5b5e8de5fefdaf7e330ac8
parenta0858885c226aa6432e879c0c3ad5798c362981d
[flang] Simplify handling of ProcDecl

DeclareProcEntity takes care of setting the Function or Subroutine flag
on the procedure entity, so it is not necessary in this function.

Original-commit: flang-compiler/f18@a015b3187d63fa5c580cdbdfe97de5e565b1b36a
Reviewed-on: https://github.com/flang-compiler/f18/pull/194
flang/lib/semantics/resolve-names.cc