diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2024-06-03 12:58:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 12:58:39 -0700 |
commit | c7593344f48e64af29fd9512852f24f9ebe5a4c6 (patch) | |
tree | f35a20650f4dde7a557a58c02ac988055c8f0845 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 13f6797826faedb910c7e8b1dfc1f134f3cef342 (diff) | |
download | llvm-c7593344f48e64af29fd9512852f24f9ebe5a4c6.zip llvm-c7593344f48e64af29fd9512852f24f9ebe5a4c6.tar.gz llvm-c7593344f48e64af29fd9512852f24f9ebe5a4c6.tar.bz2 |
[flang] Better error message for RANK(NULL()) (#93577)
We currently complain that the argument may not be a procedure, which is
confusing. Distinguish the NULL() case from other error cases (which are
indeed procedures). And clean up the utility predicates used for these
tests -- the current IsProcedure() is really just a test for a procedure
designator.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions