aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-12-16 09:54:55 -0800
committerPeter Klausler <pklausler@nvidia.com>2022-12-16 10:44:29 -0800
commit635656f4ff1e0b74761af109f50d33287477d1db (patch)
tree9d2281827e7d56ceb721b163c0abe6ac127fd121 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent38e9660eaa3478b003cbc48cb4ed0adcf22e053a (diff)
downloadllvm-635656f4ff1e0b74761af109f50d33287477d1db.zip
llvm-635656f4ff1e0b74761af109f50d33287477d1db.tar.gz
llvm-635656f4ff1e0b74761af109f50d33287477d1db.tar.bz2
[flang] Expunge needless semantics::ProcInterface
The ProcInterface structure is used only by ProcEntityDetails; it represents what a program might have put in parentheses in a procedure-declaration-stmt, either the name of a procedure interface or a declaration-type-spec. If a procedure entity has an implicit interface, the function result type (if any) can be kept in EntityDetails::type_, which already exists and is currently redundant for ProcEntityDetails symbols. All that is really needed is a nullable Symbol pointer in ProcEntityDetails to point to the procedure's explicit interface, when it has one. Also, catch the case where a procedure has an explicit interface and a program attempts to also give it a type. Differential Revision: https://reviews.llvm.org/D140134
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions