aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-06-17 14:12:13 -0700
committerPeter Klausler <pklausler@nvidia.com>2022-06-23 10:32:22 -0700
commitb6fce8b92df5dca2115e8462ae2a1849d7dd66b0 (patch)
tree631378e6c0538d10327b495a5daf7993eaf1f404 /clang/lib/Frontend/CompilerInvocation.cpp
parent3e610f2cdc1e156c82f5b59c287165e769b24f40 (diff)
downloadllvm-b6fce8b92df5dca2115e8462ae2a1849d7dd66b0.zip
llvm-b6fce8b92df5dca2115e8462ae2a1849d7dd66b0.tar.gz
llvm-b6fce8b92df5dca2115e8462ae2a1849d7dd66b0.tar.bz2
[flang] Fix bogus errors from SIZE/SHAPE/UBOUND on assumed-shape
While it is indeed an error to use SIZE, SHAPE, or UBOUND on an assumed-shape dummy argument without also supplying a DIM= argument to the intrinsic function, it is *not* an error to use these intrinsic functions on sections or expressions of such arrays. Refine the test used for the error message. Differential Revision: https://reviews.llvm.org/D128391
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions