diff options
author | Peter Klausler <pklausler@nvidia.com> | 2025-01-27 09:00:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 09:00:10 -0800 |
commit | 08c364280a790cb2a80fff86beb5ea69782ce667 (patch) | |
tree | eec0436e0311e67ec3a17e7fa82bce273faf005d /libcxx/src/algorithm.cpp | |
parent | e252c402104bd7c23341748663e1a182451c2ec8 (diff) | |
download | llvm-08c364280a790cb2a80fff86beb5ea69782ce667.zip llvm-08c364280a790cb2a80fff86beb5ea69782ce667.tar.gz llvm-08c364280a790cb2a80fff86beb5ea69782ce667.tar.bz2 |
[flang] Improve error message on bad complex literal. (#124331)
A complex literal constant can have one BOZ component, since the type
and value of the literal can be determined by converting the BOZ value
to the type of the other component. But a complex literal constant with
two BOZ components doesn't have a well-defined type. The error message
was confusing in the case; emit a better one.
Fixes https://github.com/llvm/llvm-project/issues/124201.
Diffstat (limited to 'libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions