[flang] Move ExprChecker into separate pass
authorTim Keith <tkeith@nvidia.com>
Wed, 6 Mar 2019 22:15:13 +0000 (14:15 -0800)
committerTim Keith <tkeith@nvidia.com>
Wed, 6 Mar 2019 22:15:13 +0000 (14:15 -0800)
commitf85ac283c57eacb34d8673ab91a56c44f9e4115f
treef33c05a8738366b2ce175f33bc6c45ec888cd19f
parentd19308787cdc1591e7d51ec570c7cdfe48a7cd43
[flang] Move ExprChecker into separate pass

DoConcurrentChecker depends on expressions being fully resolved so it
can't be in the same pass as ExprChecker. The same will probably
apply to AssignmentChecker when its finished.

Checks that don't depend on expressions can go in the first pass
with ExprChecker.

Original-commit: flang-compiler/f18@c0785ec06f58098d262cf2f791a98e74bdcef11b
Reviewed-on: https://github.com/flang-compiler/f18/pull/315
flang/lib/semantics/semantics.cc
flang/lib/semantics/semantics.h