[flang] Scope is only ever set to the address of a Scope,
authorSteve Scalpone <sscalpone@nvidia.com>
Mon, 15 Apr 2019 05:16:09 +0000 (22:16 -0700)
committerSteve Scalpone <sscalpone@nvidia.com>
Mon, 15 Apr 2019 17:59:12 +0000 (10:59 -0700)
commite2d6bbc01630869b57787ebddb6545cab729d58c
tree74bad8bedffd5830c03d03f35fd9831ee630969e
parent85661f4657d52972fe1a571b57eef9546efec23b
[flang] Scope is only ever set to the address of a Scope,
so it can never be null. The condition should be
scope->kind() != Scope::Kind::Global.
And clang-format.

Original-commit: flang-compiler/f18@b686ab548a727561e1d65976432fed48e85b28d6
Tree-same-pre-rewrite: false
flang/lib/semantics/check-return.cc