[flang] Implement semantic checks for return and alt-return.
authorSteve Scalpone <sscalpone@nvidia.com>
Sun, 14 Apr 2019 03:58:25 +0000 (20:58 -0700)
committerSteve Scalpone <sscalpone@nvidia.com>
Mon, 15 Apr 2019 17:59:12 +0000 (10:59 -0700)
commit85661f4657d52972fe1a571b57eef9546efec23b
tree5c55071a8cc455c172ca78195da3cdc71b10342a
parent709ae5a9d5c0d317d1d0be7e308c7225b77424a1
[flang] Implement semantic checks for return and alt-return.

Original-commit: flang-compiler/f18@123c23783b55656f7cf221a4daa4d6454a30c0f5
Tree-same-pre-rewrite: false
flang/lib/semantics/CMakeLists.txt
flang/lib/semantics/check-return.cc [new file with mode: 0644]
flang/lib/semantics/check-return.h [new file with mode: 0644]
flang/lib/semantics/semantics.cc
flang/test/semantics/CMakeLists.txt
flang/test/semantics/altreturn01.f90 [new file with mode: 0644]
flang/test/semantics/altreturn02.f90 [new file with mode: 0644]
flang/test/semantics/altreturn03.f90 [new file with mode: 0644]
flang/test/semantics/altreturn04.f90 [new file with mode: 0644]