aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/algorithm.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2025-01-27 09:00:10 -0800
committerGitHub <noreply@github.com>2025-01-27 09:00:10 -0800
commit08c364280a790cb2a80fff86beb5ea69782ce667 (patch)
treeeec0436e0311e67ec3a17e7fa82bce273faf005d /libcxx/src/algorithm.cpp
parente252c402104bd7c23341748663e1a182451c2ec8 (diff)
downloadllvm-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