summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorPeter Klausler <35819229+klausler@users.noreply.github.com>2024-07-11 12:43:53 -0700
committerGitHub <noreply@github.com>2024-07-11 12:43:53 -0700
commit60c90336b66c2df1b5ca3d2fb6041bb56c56759c (patch)
tree4a5e5fa010add5786c92bb485a654e6ef66da78f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent3f30effe1bd81fa1b039218a9bfe79c3b03fafad (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