[flang] Use source location in IF statement checks.
authorpeter klausler <pklausler@nvidia.com>
Mon, 1 Apr 2019 23:00:19 +0000 (16:00 -0700)
committerpeter klausler <pklausler@nvidia.com>
Mon, 1 Apr 2019 23:23:34 +0000 (16:23 -0700)
commit3c5a25a1bd984275e75cb1edb8fa9774cecc327a
tree5da4b12571a65e5a0d294d835a68c4b011b27f4c
parent1fb4869367b59515cf136ac0ccacbe7579c9d05b
[flang] Use source location in IF statement checks.

Original-commit: flang-compiler/f18@9e08746e2b4487bddf2e4b3580cdea4568fa5d53
Reviewed-on: https://github.com/flang-compiler/f18/pull/373
Tree-same-pre-rewrite: false
flang/lib/semantics/check-if-stmt.cc