[flang] Address review comments.
authorTim Keith <tkeith@nvidia.com>
Thu, 4 Apr 2019 23:32:37 +0000 (16:32 -0700)
committerTim Keith <tkeith@nvidia.com>
Thu, 4 Apr 2019 23:32:37 +0000 (16:32 -0700)
commitbc140ed13ce20a4231684ee8044d2cb87c0261e5
tree24ccf80224e347b29d475175e4bc6787c6d476bf
parentb7efa8b77b11d99dce6afd98227e676594f4cd6e
[flang] Address review comments.

Change AnalyzeArraySpec and AnalyzeCoarraySpec to return resulting
ArraySpec by value.

Original-commit: flang-compiler/f18@0ae38143e530f867a7aa4392bfa09345c28ad7e3
Reviewed-on: https://github.com/flang-compiler/f18/pull/384
flang/lib/semantics/resolve-names-utils.cc
flang/lib/semantics/resolve-names-utils.h
flang/lib/semantics/resolve-names.cc