[flang] Semantics checker for STOP and ERROR STOP statements.
authorPaul Osmialowski <pawel.osmialowski@arm.com>
Mon, 18 Mar 2019 16:19:41 +0000 (16:19 +0000)
committerGitHub <noreply@github.com>
Wed, 17 Apr 2019 21:13:23 +0000 (14:13 -0700)
commitd1e409ab09c4c817e7fd1eb7c8877f9e8519e124
tree4ff0807c1835a95a41db0f05b299f89a85a2642a
parent0e28b6789ecdcfbada7dc9d80c4bb4978a722ae4
[flang] Semantics checker for STOP and ERROR STOP statements.

This commit introduces a new checker (StopChecker) for STOP
and ERROR STOP Fortran statements along with a test code.

Signed-off-by: Paul Osmialowski <pawel.osmialowski@arm.com>
Original-commit: flang-compiler/f18@c5541745628a8c0c4d252386675c36ea83a68006
Reviewed-on: https://github.com/flang-compiler/f18/pull/367
Tree-same-pre-rewrite: false
flang/lib/semantics/CMakeLists.txt
flang/lib/semantics/check-stop.cc [new file with mode: 0644]
flang/lib/semantics/check-stop.h [new file with mode: 0644]
flang/lib/semantics/semantics.cc
flang/lib/semantics/tools.cc
flang/lib/semantics/tools.h
flang/test/semantics/CMakeLists.txt
flang/test/semantics/stop.f90 [new file with mode: 0644]