[flang] Address review comments
authorTim Keith <tkeith@nvidia.com>
Fri, 7 Sep 2018 16:06:27 +0000 (09:06 -0700)
committerTim Keith <tkeith@nvidia.com>
Fri, 7 Sep 2018 16:06:27 +0000 (09:06 -0700)
commita1fff9af07fe94ce29ddfad2d45298543717bcba
tree37f155a9e687536d88ae711cf96a7944ce9c78ab
parentb168cc0b8386b676f9433a6990df43610c3a5875
[flang] Address review comments

Change IsModule to a member function of Scope.

Make multiple PRIVATE statements in a derived type be a non-fatal error.

Original-commit: flang-compiler/f18@dd42dcd15a634c629168c5fcb767c09184f000f7
Reviewed-on: https://github.com/flang-compiler/f18/pull/175
flang/lib/semantics/resolve-names.cc
flang/lib/semantics/scope.cc
flang/lib/semantics/scope.h
flang/test/semantics/resolve31.f90