diff options
author | Tim Keith <tkeith@nvidia.com> | 2020-03-17 14:48:36 -0700 |
---|---|---|
committer | Tim Keith <tkeith@nvidia.com> | 2020-03-17 16:01:59 -0700 |
commit | 61b1390e2afccac4c64f491f761d25f78b225ac4 (patch) | |
tree | 9b2908ff6242a62e87f3c5c461284b034fe0d6ed /flang/lib/Semantics/pointer-assignment.cpp | |
parent | 824d198e3147611ca4f11fe3fb96c994d51fbbdf (diff) | |
download | llvm-61b1390e2afccac4c64f491f761d25f78b225ac4.zip llvm-61b1390e2afccac4c64f491f761d25f78b225ac4.tar.gz llvm-61b1390e2afccac4c64f491f761d25f78b225ac4.tar.bz2 |
[flang] Check module subprogram against separate module procedure
When a module subprogram has the MODULE prefix the following must match
with the corresponding separate module procedure interface body:
- C1549: characteristics and dummy argument names
- C1550: binding label
- C1551: NON_RECURSIVE prefix
SubprogramMatchHelper performs all of these checks.
Rename separate-module-procs.f90 to separate-mp01.f90 so we can have
separate-mp02.f90 (etc).
Make ShapesAreCompatible public in characteristics.h.
Add Scope::IsSubmodule.
Original-commit: flang-compiler/f18@d121578af17109de3cea23617e4b8239971b5527
Reviewed-on: https://github.com/flang-compiler/f18/pull/1080
Diffstat (limited to 'flang/lib/Semantics/pointer-assignment.cpp')
0 files changed, 0 insertions, 0 deletions