diff options
| author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2024-07-11 12:43:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-11 12:43:53 -0700 |
| commit | 60c90336b66c2df1b5ca3d2fb6041bb56c56759c (patch) | |
| tree | 4a5e5fa010add5786c92bb485a654e6ef66da78f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 3f30effe1bd81fa1b039218a9bfe79c3b03fafad (diff) | |
[flang] Silence over-eager warning about interoperable character length (#97353)
Make the results of the two IsInteroperableIntrinsicType() utility
routines a tri-state std::optional<bool> so that cases where the
character length is simply unknown can be distinguished from those cases
where the length is known and not acceptable. Use this distinction to
not emit a confusing warning about interoperability with C_LOC()
arguments when the length is unknown and might well be acceptable during
execution.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
