[flang] Address review comments.
authorTim Keith <tkeith@nvidia.com>
Fri, 23 Mar 2018 19:24:29 +0000 (12:24 -0700)
committerTim Keith <tkeith@nvidia.com>
Fri, 23 Mar 2018 19:24:29 +0000 (12:24 -0700)
commitd384116347312114492781f23b251638dc06f11f
tree2284ef02a0d769b7cb935ec8f9640166704a69b8
parenta3de9d789c8289d268eabeb41f885d53fbf3512a
[flang] Address review comments.

Use "namespace Fortran::semantics".

Add helper MakeSymbol() functions to ResolveNameVisitor to make a symbol
in the current scope.

Start work on subroutines, similar to what's been done for functions.

Original-commit: flang-compiler/f18@afe84af1c7a16f7d5de8897d0c3453f580ac7e07
Reviewed-on: https://github.com/flang-compiler/f18/pull/30
flang/lib/semantics/make-types.cc
flang/lib/semantics/resolve-names.cc
flang/lib/semantics/scope.cc
flang/lib/semantics/scope.h
flang/lib/semantics/symbol.cc
flang/lib/semantics/symbol.h