diff options
author | jeanPerier <jperier@nvidia.com> | 2024-04-23 09:20:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 09:20:02 +0200 |
commit | 35159c2e813ffc0f6cdf20c5c466b17b5a63e2e1 (patch) | |
tree | 654c8c387bae6c90d97eccebc6e46b51c952fe63 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | a04624206ddf03dc54d5c372e7eac13575b4124b (diff) | |
download | llvm-35159c2e813ffc0f6cdf20c5c466b17b5a63e2e1.zip llvm-35159c2e813ffc0f6cdf20c5c466b17b5a63e2e1.tar.gz llvm-35159c2e813ffc0f6cdf20c5c466b17b5a63e2e1.tar.bz2 |
[flang] handle intrinsic interfaces in FunctionRef::GetType (#89583)
User functions may be declared with an interface that is a specific
intrinsic. In such case, there is no result type available from the
procedure symbol (at least without using evaluate::Probe), and
FunctionRef::GetType() returned nullopt. This caused lowering to crash.
The result type of specific intrinsic procedures is always a lengthless
intrinsic type, so it is fully defined in the template argument of
FunctionRef. Use it.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions