[flang] Implement semantic checks for if statements, if constructs and
authorSteve Scalpone <sscalpone@nvidia.com>
Tue, 26 Mar 2019 07:33:03 +0000 (00:33 -0700)
committerSteve Scalpone <sscalpone@nvidia.com>
Tue, 26 Mar 2019 07:43:08 +0000 (00:43 -0700)
commitf01caa38334c9c812207cc3a9654f16af311f2f6
tree40f167df872987d08967428c75a4e20722323101
parenta702cfa5e12363d0bb514141c14267d2b9619373
[flang] Implement semantic checks for if statements, if constructs and
arithmetic ifs.

Original-commit: flang-compiler/f18@deb2726aad63b9bc4c7d35872b4b4279fbcc78f8
Reviewed-on: https://github.com/flang-compiler/f18/pull/356
Tree-same-pre-rewrite: false
21 files changed:
flang/lib/semantics/CMakeLists.txt
flang/lib/semantics/check-arithmeticif.cc [new file with mode: 0644]
flang/lib/semantics/check-arithmeticif.h [new file with mode: 0644]
flang/lib/semantics/check-do-concurrent.cc
flang/lib/semantics/check-if-construct.cc [new file with mode: 0644]
flang/lib/semantics/check-if-construct.h [new file with mode: 0644]
flang/lib/semantics/check-if-stmt.cc [new file with mode: 0644]
flang/lib/semantics/check-if-stmt.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/if_arith01.f90 [new file with mode: 0644]
flang/test/semantics/if_arith02.f90 [new file with mode: 0644]
flang/test/semantics/if_arith03.f90 [new file with mode: 0644]
flang/test/semantics/if_arith04.f90 [new file with mode: 0644]
flang/test/semantics/if_construct01.f90 [new file with mode: 0644]
flang/test/semantics/if_construct02.f90 [new file with mode: 0644]
flang/test/semantics/if_stmt01.f90 [new file with mode: 0644]
flang/test/semantics/if_stmt02.f90 [new file with mode: 0644]
flang/test/semantics/if_stmt03.f90 [new file with mode: 0644]