[flang] Dump function return attributes
authorTim Keith <tkeith@nvidia.com>
Wed, 20 Mar 2019 20:52:33 +0000 (13:52 -0700)
committerTim Keith <tkeith@nvidia.com>
Fri, 29 Mar 2019 16:08:18 +0000 (09:08 -0700)
commite1ea983b0a447e141ed2260038142c1cae3a31ca
tree85e8d64b0c0454a901241fd854f247327e155219
parentfdba48a74c24dbe9ef189ee3d0e24904fc7852a3
[flang] Dump function return attributes

Also, change SubprogramDetails::result_ from `std::optional<Symbol *>`
to `Symbol *`. We don't need two levels of optional-ness.

Original-commit: flang-compiler/f18@db3b874946dc9b139009d7e10832edb2a076a7bc
Reviewed-on: https://github.com/flang-compiler/f18/pull/368
Tree-same-pre-rewrite: false
flang/lib/semantics/symbol.cc
flang/lib/semantics/symbol.h